Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Performance compare to VC8?
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 Dec 15 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 Dec 20 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 Dec 20 2006
Eric Suen wrote:My CPU P4-2.4G, is there any compile options to improve the performance? Dec 22 2006
|