Port a benchmark to D?
dsimcha
dsimcha at yahoo.com
Fri Jun 3 21:17:56 PDT 2011
On 6/4/2011 12:01 AM, Caligo wrote:
> Gentoo/Linux [gcc version 4.4.5, DMD 2.52, latest GDC with GCC 4.4.5,
> and latest LDC2]
>
> g++ -O3
> [VIRT: 185MB, RES: 174MB]
> real 0m28.407s
> user 0m28.330s
> sys 0m0.070s
>
> DMD -O -release
> [VIRT: 94MB, RES: 92MB]
> real 0m43.232s
> user 0m42.980s
> sys 0m0.070s
>
> GDC -O3
> [VIRT: 306MB, RES: 295MB]
> real 1m10.788s
> user 1m10.570s
> sys 0m0.190s
>
> LDC2
> segmentation fault
Oh, also, you way want to re-try the benchmark w/ 2.053. It looks
rather allocation heavy and I substantially improved the GC performance
for 2.053.
More information about the Digitalmars-d
mailing list