Hacker News new | ask | show | jobs
by kolbe 657 days ago
I could swear I did a deep dive into Spdlog vs Nanolog six months ago, and the performance differences weren't nearly this stark
2 comments

I believe the performance reported in their paper is circumstantial. It’s not that much faster when I tried it, and not worth the horrible macro syntax.
what do you mean? considering spdlog is the de facto logger for c++
Nano is claiming insanely better performance over spdlog, which confuses me
spdlog is designed as a general purpose logging library and it can’t beat low latency loggers. It doesn’t scale for multiple threads because it’s async mode is using a mutex and a cv to notify the background thread.

You can find some logging libraries benchmarks here https://github.com/odygrd/quill?tab=readme-ov-file#-performa...