Nanolog supports logging with 7 ns median latency

NanoLog is a high-performance nanosecond scale logging system for C++, achieving over 80 million logs/second with a median latency of 7 nanoseconds. The system extracts static log information at compile-time, only logging dynamic components at runtime, and deferring formatting to an offline process. It shifts work out of runtime to improve performance. Comparative performance with other logging systems is shown, highlighting NanoLog’s efficiency. Users can choose between a Preprocessor version that does more work at compile-time or a C++17 version that is easier to use. The system reduces log metadata duplication and outputs dynamic data in binary format, requiring a separate decompression program for human-readable logs.

https://github.com/PlatformLab/NanoLog

To top