quick-bench-back-end
quick-bench-back-end copied to clipboard
Boost support
Please add a support for using Boost on benchmarks
Hi, Which Boost libraries would be useful to you?
I can't remember which one I needed when I opened this but let's say at least the header-only ones.
I'd like boost::regex, boost/algorithm/string.hpp and boost::shared_ptr it makes snippets easy to compare if actual code uses boost
also ! google's RE2 https://github.com/google/re2
Any updates about Boost support?
Including dependencies is tricky. For dependencies that are not header-only, they need to be compiled with each supported compiler, which gives us O(Nᶜᵒᵐᵖᶦˡᵉʳ . Mᵈᵉᵖᵉⁿᵈᵉⁿᶜʸ) compilation, which will not scale very long. But even for header-only dependencies, the question of which version to embed is not simple. Quick Bench has long lived URLs and I'd like to keep it like that, so it would need to keep previous versions of the libraries and allow to choose which one to use. That is not impossible, but that's why the ticket is not yet solved.
Compiler-explorer supports libraries. I wager there's some code and infra that could be shared.