News for hackers. Stuff that matters.
Re:NanoLog – a nanosecond scale logging system for C++ by bt848 on Sunday September 01, 2019 @02:21PM (#20853787)
Looks interesting but how does one reproduce the comparative benchmarks from the paper? I see the code that benchmarks nanolog but how do I reproduce the baseline for glog?
Re:NanoLog – a nanosecond scale logging system for C++ by rafa1981 on Sunday September 01, 2019 @03:14PM (#20854131)
Author of mini-async-log and its C variant here.

Some time ago I wrote a benchmark for different loggers, but it uses an old version of Nanolog.

https://github.com/RafaGago/logger-bench

Re:NanoLog – a nanosecond scale logging system for C++ by bt848 on Sunday September 01, 2019 @03:24PM (#20854195)
Neat. Your code actually contains the issue I was curious about. Why do you log at level ERROR? As I understand it this causes glog to synchronize the output stream after every message.
Re:NanoLog – a nanosecond scale logging system for C++ by rafa1981 on Sunday September 01, 2019 @03:30PM (#20854246)
But worst case latency, the most interesting property of an async logger is still unaffected I guess...
Re:NanoLog – a nanosecond scale logging system for C++ by rafa1981 on Sunday September 01, 2019 @03:29PM (#20854239)
Lack of knowledge on glog
Re:NanoLog – a nanosecond scale logging system for C++ by IloveHN84 on Sunday September 01, 2019 @02:48PM (#20853966)
You can't claim it is faster if you don't provide reproducible benchmarks.