Language performance benchmark be updated 2019/11/09

Daniel Kozak kozzi11 at gmail.com
Sun Nov 17 11:04:55 UTC 2019


On Sun, Nov 17, 2019 at 11:36 AM Daniel Kozak <kozzi11 at gmail.com> wrote:
>
> > Nim is the winner.
> >
> > But here I would look into the code: what makes LDC produce such
> > poorly optimized binary.
> >
>
> LDC binary is ok, this is about GC, I was able to make it lamost as
> twice fast for ldc with some improvements

original code
Golang: 22.74s, 364.1Mb
D LDC2: 29.55s, 463.9Mb
D DMD:  29.42s, 462.5Mb
D GDC:  25.28s, 415.3Mb
Nim:       14.26s, 468,9Mb

with small changes:
Golang: 22.74s, 364.1Mb
D LDC2: 15.90s, 389.8Mb
D DMD:  16.86s, 387.3Mb
D GDC:  19.48s, 403.8Mb
Nim:       14.26s, 468,9Mb


More information about the Digitalmars-d mailing list