-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add perf v2 support #19
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
Conversation
CodSpeed Instrumentation Performance ReportMerging #19 will degrade performances by 32.31%Comparing Summary
Benchmarks breakdown
|
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.
Pull Request Overview
Add wall-time instrumentation support for CodSpeed Perf v2 in the Google Benchmark integration and extend examples and CI to exercise and report the new mode.
- Track wall-time intervals across PauseTiming/ResumeTiming via measurement markers.
- Add example benchmarks (pause timing and multithread) and update CI to use the action mode input.
- Extend measurement helpers with timestamp/marker APIs and assertions.
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.
Show a summary per file
File | Description |
---|---|
google_benchmark/src/benchmark.cc | Integrates wall-time markers on PauseTiming/ResumeTiming and initializes resume_timestamp_. |
google_benchmark/include/benchmark/benchmark.h | Declares resume_timestamp_ and minor formatting in StateIterator; supports new instrumentation state. |
core/include/measurement.hpp | Adds current timestamp/marker APIs and helper to record benchmark segments with asserts. |
examples/google_benchmark_cmake/pause_timing_bench.hpp | Adds pause/resume timing example showcasing excluded work. |
examples/google_benchmark_cmake/multithread_bench.hpp | Adds multithreaded example (spawn/join worker). |
examples/google_benchmark_cmake/helper.hpp | Adds helper functions to simulate expensive work. |
examples/google_benchmark_bazel/* | Reuse example headers from CMake examples. |
.github/workflows/ci.yml | Switches to CodSpeed action mode input and simplifies env configuration. |
core/instrument-hooks | Submodule bump to pick up new instrumentation hooks. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
be4f1b0
to
6c5a279
Compare
CodSpeed WallTime Performance ReportMerging #19 will not alter performanceComparing Summary
Benchmarks breakdown
Footnotes |
c37d4b9
to
184c4ea
Compare
c656915
to
b7430ca
Compare
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.
looks good
6a91319
to
c2bb143
Compare
4ae97f8
to
6f15825
Compare
6f15825
to
7c2430e
Compare
Depends on CodSpeedHQ/instrument-hooks#9