-
Notifications
You must be signed in to change notification settings - Fork 2
Add codspeed instrumentation support for google benchmark #2
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
Add codspeed instrumentation support for google benchmark #2
Conversation
967e2d1
to
11f563e
Compare
CodSpeed Instrumentation Performance ReportCongrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
8fceb44
to
4601025
Compare
As discussed, we need to generate the debug symbols as well |
Also, please use a better cmake formater |
a4d52fb
to
1fe4db9
Compare
By default in the example, debug symbols are present. I think the best wya to handle this will be to have a specific callout to make sure the users enable debug symbols when building, not much more we can do as a bench library |
8271fbd
to
582a6d5
Compare
bf3c469
to
fb9bf9b
Compare
fb9bf9b
to
dbbabfb
Compare
dbbabfb
to
0a4db23
Compare
0a4db23
to
3830af0
Compare
b.Setup(); | ||
State st = b.RunInstrumented(CodSpeed::getInstance(), &timer, manager.get(), | ||
nullptr, nullptr); | ||
b.Teardown(); |
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.
Is the original behavior to call setup and teardown just once before and after all the iterations? (instead of running before/after each iteration)? We might create some inconsistencies if that's not the case
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.
This makes sure that we only give metadata to valgrind once.
3830af0
to
4772cff
Compare
No description provided.