On Tuesday, 23 December 2014 at 12:26:28 UTC, Iov Gherman wrote:
And what about single threaded version?
Just ran the single thread examples after I moved time start
before array allocation, thanks for that, good catch. Still
better results in Java:
- java:
21 secs, 612 ms
- with std.math:
dmd: 23 secs, 994 ms
ldc: 31 secs, 668 ms
gdc: 52 secs, 576 ms
- with core.stdc.math:
dmd: 30 secs, 724 ms
ldc: 30 secs, 988 ms
gdc: time: 25 secs, 970 ms
Note that log is done in software on x86 with different levels of
precision and with different ability to handle corner cases. It
is therefore a very bad benchmark tool.