[Issue 18388] std.experimental.logger slow performance
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 5 07:33:23 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18388
Robert Schadek <rburners at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rburners at gmail.com
--- Comment #5 from Robert Schadek <rburners at gmail.com> ---
The performance problem is not with std.experimental.logger, it is with the
benchmark.
The amount thread contention is killing all performance.
The benchmark becomes single threaded around three times for each line printed.
2x atomic ops on msgCounter, 1x writing the line to file.
--
More information about the Digitalmars-d-bugs
mailing list