quick-bench-back-end icon indicating copy to clipboard operation
quick-bench-back-end copied to clipboard

Boost support

Open dvirtz opened this issue 7 years ago • 6 comments

Please add a support for using Boost on benchmarks

dvirtz avatar Dec 07 '17 11:12 dvirtz

Hi, Which Boost libraries would be useful to you?

FredTingaud avatar Jan 16 '18 16:01 FredTingaud

I can't remember which one I needed when I opened this but let's say at least the header-only ones.

dvirtz avatar Jan 16 '18 17:01 dvirtz

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

janwilmans avatar May 21 '19 10:05 janwilmans

Any updates about Boost support?

DanielLangr avatar Jul 25 '19 07:07 DanielLangr

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.

FredTingaud avatar Jul 29 '19 10:07 FredTingaud

Compiler-explorer supports libraries. I wager there's some code and infra that could be shared.

ericniebler avatar Dec 05 '19 18:12 ericniebler