Thread overview
Performance compare to VC8?
Dec 15, 2006
Eric Suen
Dec 20, 2006
Jan Knepper
Dec 21, 2006
Eric Suen
Dec 23, 2006
Walter Bright
December 15, 2006
Hi,

 I try use dmc compile AGG(www.antigrain.com) examples, and
compare to VC 2005 Express Edition, for VC, I use /O2 /Ob1,
and dmc options i: -o+all -ff

Here is the result for examples\gradient_focal:

            speed         size
VC8     30 ms      192 kb
DMC    43 ms     139 kb

My CPU P4-2.4G, is there any compile options to improve the performance?

Eric


December 20, 2006
Turn off optimization, -o+all, that could be a killer for short compile times...



Eric Suen wrote:
> Hi,
> 
>  I try use dmc compile AGG(www.antigrain.com) examples, and
> compare to VC 2005 Express Edition, for VC, I use /O2 /Ob1,
> and dmc options i: -o+all -ff
> 
> Here is the result for examples\gradient_focal:
> 
>             speed         size
> VC8     30 ms      192 kb
> DMC    43 ms     139 kb
> 
> My CPU P4-2.4G, is there any compile options to improve the performance?
> 
> Eric
> 
> 

-- 
ManiaC++
Jan Knepper

But as for me and my household, we shall use Mozilla...
www.mozilla.org
December 21, 2006
Hmm, I means runtime performance, not the compile times :(

"Jan Knepper" wrote:

> Turn off optimization, -o+all, that could be a killer for short compile times...
>
>
>
> Eric Suen wrote:
>> Hi,
>>
>>  I try use dmc compile AGG(www.antigrain.com) examples, and
>> compare to VC 2005 Express Edition, for VC, I use /O2 /Ob1,
>> and dmc options i: -o+all -ff
>>
>> Here is the result for examples\gradient_focal:
>>
>>             speed         size
>> VC8     30 ms      192 kb
>> DMC    43 ms     139 kb
>>
>> My CPU P4-2.4G, is there any compile options to improve the performance?
>>
>> Eric
>>
>>
>
> -- 
> ManiaC++
> Jan Knepper
>
> But as for me and my household, we shall use Mozilla... www.mozilla.org


December 23, 2006
Eric Suen wrote:
> My CPU P4-2.4G, is there any compile options to improve the performance?

Using the profiler can help a lot!

http://www.digitalmars.com/techtips/timing_code.html