Increasing speed of D applications to Intel C compiled applicaitons' standards

Sean Kelly sean at f4.ca
Fri Nov 10 11:04:28 PST 2006


Teoman Soygul wrote:
> My personal benchmarks prove that applications written in D are 5%
> to 20% slower than identical code written in C and compiled with
> Intel C compilter 9. Does anyone know what to do with this
> problem? Is it a compiler specific problem (ie: D compiler lacking
> all the optimisation parameters) or the standard d libary or
> what??

If you can, try to profile the code and see where the difference lies. 
How long does the application run, is the code identical, etc?  5% for a 
very short-running app could be attributed to the garbage collector 
initialization and termination, for example, but this wouldn't be a 
factor in longer running apps.


Sean



More information about the Digitalmars-d mailing list