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?
[ Parent
| on HN ]
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.
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...