Get the latest tech news
Nanolog supports logging with 7 ns median latency
Nanolog is an extremely performant nanosecond scale logging system for C++ that exposes a simple printf-like API. - PlatformLab/NanoLog
For more information about the techniques used in this logging system, please refer to either the NanoLog Paper published in the 2018 USENIX Annual Technical Conference or the original author's doctoral thesis. Internally, the run-cxx invocation will run a Python script over the source files and generate library code that is specific to each compilation of the user application. Additionally, the compilation should also generate a./decompressor executable in the app directory and this can be used to reconstitute the full human-readable log file (instructions below).
Or read this on Hacker News