benchmark icon indicating copy to clipboard operation
benchmark copied to clipboard

Will google benchmark be adding an Abseil dependency?

Open alexhadd opened this issue 6 years ago • 3 comments

I'd like to use this library for micro-benchmarks but I am concerned about the possibility of this library taking on a dependency on Abseil, like Google Test is doing soon. On the Abseil website, it is mentioned that many Google OSS projects will be incorporating Abseil. Is Google Benchmark planning on adding Abseil soon?

alexhadd avatar Nov 26 '19 17:11 alexhadd

Almost 2 years ago I wanted to use abseil in my library (https://github.com/darktable-org/rawspeed/issues/122), but a lot of water has flown since then, many things have happened; also it's still not packaged in at least debian - to me personally that speaks volumes. So by now i personally i hope nothing will use it.. Not that there is any chance of that happening, or much/any choices for avoiding it after it happens :)

library taking on a dependency on Abseil, like Google Test is doing soon

Uh oh.

LebedevRI avatar Nov 26 '19 17:11 LebedevRI

It's been on my backlog/wishlist for a while because it has some nice features that would allow us to remove some bits we've implemented here (flags, string formatting). However, I believe that would first require us to move wholesale to bazel (i haven't found a nice cmake abseil hook) which isn't likely to happen soon.

dmah42 avatar Nov 26 '19 17:11 dmah42

https://abseil.io/docs/cpp/quickstart-cmake

some of the code we have is starting to deviate from the absl versions (which we use internally) and it would be really good to converge.

now there's a cmake option may be the time to adopt it for command line flags and logging, at least.

dmah42 avatar Jun 17 '21 16:06 dmah42