13 ms·
I could swear I did a deep dive into Spdlog vs Nanolog six months ago, and the performance differences weren't nearly this stark
by kolbe 2y 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
- synergy20 2y agowhat do you mean? considering spdlog is the de facto logger for c++
- kolbe 2y agoNano is claiming insanely better performance over spdlog, which confuses me
- odygrd 2y agospdlog 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#-performance https://github.com/odygrd/quill?tab=readme-ov-file#-performa...
- linhns 2y agoI 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.