Hacker News new | ask | show | jobs
by rafa1981 2486 days ago
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

1 comments

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.
But worst case latency, the most interesting property of an async logger is still unaffected I guess...
Lack of knowledge on glog