Basic benchmark

dsimcha dsimcha at yahoo.com
Sat Dec 13 08:49:17 PST 2008


== Quote from Jarrett Billingsley (jarrett.billingsley at gmail.com)'s article
> On Sat, Dec 13, 2008 at 11:16 AM, Tomas Lindquist Olsen
> <tomas at famolsen.dk> wrote:
> > I tried this out with Tango + DMD 1.033, Tango + LDC r847 and GCC 4.3.2, my
> > timings are as follows, best of three:
> >
> > $ dmd bench.d -O -release -inline
> > long arith:  55630 ms
> > nested loop:  5090 ms
> >
> >
> > $ ldc bench.d -O3 -release -inline
> > long arith:  13870 ms
> > nested loop:   120 ms
> >
> >
> > $ gcc bench.c -O3 -s -fomit-frame-pointer
> > long arith: 13600 ms
> > nested loop:  170 ms
> >
> >
> > My cpu is: Athlon64 X2 3800+
> >
> Go LDC!
> I hope bearophile will eventually understand that DMD is not good at
> optimizing code, and so comparing its output to GCC's is ultimately
> meaningless.

Speaking of LDC, any chance that the exception handling on Win32 gets fixed in the
near future?  I'd like to start using it, but I work on Windows.



More information about the Digitalmars-d mailing list