diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-11 21:34:37 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-27 13:55:21 +0000 |
commit | 721aacd88e780b30416deb66a68b87da8fe244ae (patch) | |
tree | 720cabb6fcd8c55ea018d4c6dc06a9a87631856d /tests/difficulty | |
parent | Revert "easylogging++: make the logger handle early/late logging" (diff) | |
download | monero-721aacd88e780b30416deb66a68b87da8fe244ae.tar.xz |
easylogging++: faster access to logging
Turns out getting the global shared_ptr hits the profile,
and passing it around still keeps it at close to ~1% CPU,
which is too much for mostly silent logging.
Leak the object instead, which is even safer for late logging.
Diffstat (limited to 'tests/difficulty')
0 files changed, 0 insertions, 0 deletions