-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[benchmark] add gbenchmark #2780
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
db533b2
to
3e830fe
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just a few minor issues, I will double-check and push changes.
@strega-nil-ms @CaseyCarter I pushed a small set of changes - if anything looks wrong, please meow! Otherwise I believe this is ready. Thanks for this major step forward! 😸 |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for implementing this long-awaited infrastructure, and congratulations for this major PR! 🏎️ 🚀 😻 |
Co-authored-by: Nicole Mazzuca <[email protected]> Co-authored-by: Stephan T. Lavavej <[email protected]> Co-authored-by: Casey Carter <[email protected]>
This adds the google benchmark library, along with one benchmark from @BillyONeal's test benchmarking branch.
One "enjoyable" thing about having a benchmarking library with pre-built binaries is that we have to make sure there isn't any conflict with the STL; this means that we need to make sure that the library links with our STL.
Given that we build multiple configurations in one build, which is Not Normal CMake, this means that we need to choose one configuration for the benchmarking library to link to - we do this with cache variables. We default to dynamic release mode.
To Do