quill icon indicating copy to clipboard operation
quill copied to clipboard

Latency comparison with `Boost.Log`

Open 3manifold opened this issue 10 months ago • 2 comments

It would be ideal to add Boost.Log in your latency comparison tables given its popularity. In order to have a fair comparison, one can use sinks::asynchronous_sink for asynchronous logging since BOOST_LOG_TRIVIAL is synchronous by default.

3manifold avatar Feb 13 '25 11:02 3manifold

it's probably easy to add boost.Log locally and measure and share the results.

The reason it isn't added yet is because currently https://github.com/odygrd/logger_benchmarks has a clone of each different library code in the repo and pushing boost.Log there with all dependencies on core boost is probably too much. It would be easier to setup if everything was available e.g. on vcpkg

It will likely be slower, there is an older comparison with other loggers, but will look into adding it in the future

https://github.com/mattiasflodin/reckless/blob/master/doc/performance.md

odygrd avatar Feb 13 '25 13:02 odygrd

Hi and thank you for the answer. Isn't it handy if you just link boost library without using the source code? apt install libboost-all-dev.

3manifold avatar Feb 13 '25 13:02 3manifold

Boost.Log has been added

odygrd avatar Nov 19 '25 16:11 odygrd