Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API ca
From: Luis Miguel Huapaya (LuisMiguelHuapaya_at_discussions.microsoft.com)
Date: 01/10/05
- Previous message: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API call??"
- In reply to: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API call??"
- Next in thread: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API ca"
- Reply: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API ca"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 09:43:02 -0800
Just out of curiosity. How come you are not using hardware to render your
lines (i.e. DirectX). If performance is an issue, using DirectX to draw lines
would give you a seemingly infinite boost in performance compared to
rendering your lines in software (even anti-aliased lines).
Just curious.
cheers,
Luis Miguel Huapaya
"Gustavo L. Fabro" wrote:
>
> > Did you look at the assembly produced by both compilers?
>
> By this time I unfortunately don't have the necessary knowledge in assembly
> language to be able to tell something concrete out of 2 given codes. If that
> helps I can disassemble both DLLs and post the code here!
>
> >
> > But artificial tests like this rarely mean anything in real
> > applications...
>
> I'm afraid this is not the case here. This test is just a replication of
> something I have
> seen in practice. Our CAD application took 5 times longer to draw the same
> file
> in the screen with the VS compiled version then with our Builder compiled
> one.
>
> As the application itself has lots of classes, DLLs, and we used managed and
> unmanaged C++ in the middle, I tried to first check out if the API calls
> themselves, after all the processing (of elements, points positions, etc)
> were running at the same speed. In case that was true, I would then try to
> focus on the managed/unmanaged approach, DLL interaction and other factors.
>
> But when I saw that even the API drawing calls themselves were taking
> longer, I got intrigued... And decided to do this test! Hence the results
> here demonstrated and the question: Is it *really* like this?
>
> Fabro
>
>
>
- Previous message: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API call??"
- In reply to: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API call??"
- Next in thread: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API ca"
- Reply: Gustavo L. Fabro: "Re: Performance: VC++ 33% slower then Builder 5 on LineTo() API ca"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|