D slower ~1s from C ?!
Andrej Mitrovic
andrej.mitrovich at gmail.com
Thu Apr 5 11:25:12 PDT 2012
On 4/5/12, Minas <minas_mina1990 at hotmail.co.uk> wrote:
> And this is the time execution of the programs
C via GCC (gcc -m32 test.c -o testgcc.exe -std=c99 -lm -O5)
Elapsed Time: 0:00:02.015
D via DMD (dmd test.d -oftestdmd.exe -release -inline -O -noboundscheck)
Elapsed Time: 0:00:08.312
D via GDC (gdmd -m32 -release -inline -O -noboundscheck test.d -oftestgdc.exe)
Elapsed Time: 0:00:01.015
These results are fairly consistent on my machine.
More information about the Digitalmars-d-learn
mailing list