[Issue 18388] std.experimental.logger slow performance
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 7 03:09:14 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18388
--- Comment #11 from Arun Chandrasekaran <aruncxy at gmail.com> ---
s/_logger.tracef/writeln
06-09-2018 20:05:27 vaalaham ~/code/d/std-log-benchmark
$ time ./std-log-benchmark 8 1000000 | tail
real 0m0.975s
user 0m2.067s
sys 0m2.418s
06-09-2018 20:05:29 vaalaham ~/code/d/std-log-benchmark
I can infer that std.format is probably a little slower than fmtlib (C++)
https://github.com/fmtlib/fmt But I need to test more to confirm this claim.
But for sure std.experimental.logger is slow.
--
More information about the Digitalmars-d-bugs
mailing list