[Issue 18388] std.experimental.logger slow performance
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 7 02:07:10 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18388
--- Comment #10 from Arun Chandrasekaran <aruncxy at gmail.com> ---
s/_logger.tracef/printf/
06-09-2018 18:25:51 vaalaham ~/code/d/std-log-benchmark
$ time ./std-log-benchmark 8 1000000 > /dev/null
real 0m0.495s
user 0m1.254s
sys 0m2.100s
06-09-2018 19:02:22 vaalaham ~/code/d/std-log-benchmark
$
So the slowdown is definitely related to phobos.
--
More information about the Digitalmars-d-bugs
mailing list