fix: exclude paused sections from instrumentation measurement#44
Open
not-matthias wants to merge 1 commit intomainfrom
Open
fix: exclude paused sections from instrumentation measurement#44not-matthias wants to merge 1 commit intomainfrom
not-matthias wants to merge 1 commit intomainfrom
Conversation
Merging this PR will degrade performance by 71.94%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | WallTime | BM_Vector_Reserve[1000] |
3.2 µs | 3.6 µs | -12.82% |
| ❌ | WallTime | BM_Vector_Reserve[10000] |
31.3 µs | 36 µs | -13.28% |
| ❌ | WallTime | BM_Vector_PushBack[10000] |
33.7 µs | 39.4 µs | -14.47% |
| ❌ | WallTime | BM_Vector_Reserve[100] |
350.6 ns | 394.1 ns | -11.04% |
| ❌ | WallTime | BM_Vector_PushBack[1000] |
3.7 µs | 4.2 µs | -11.99% |
| ⚡ | WallTime | BM_RLE_Decode[10000] |
24.7 µs | 22.1 µs | +11.77% |
| ❌ | Simulation | BM_FibonacciIterative[50] |
173.9 ns | 300 ns | -42.04% |
| ❌ | Simulation | FooTest[MyFixture] |
90.8 ns | 187.8 ns | -51.63% |
| ❌ | Simulation | DoubleTest[MyTemplatedFixture, double] |
90.8 ns | 187.8 ns | -51.63% |
| ❌ | Simulation | BM_with_multiple_args[100/200] |
150.3 ns | 247.2 ns | -39.21% |
| ❌ | Simulation | TestB[MyTemplate2, int, double] |
90.8 ns | 187.8 ns | -51.63% |
| ❌ | Simulation | TestA[MyTemplate1, int] |
90.8 ns | 187.8 ns | -51.63% |
| ❌ | Simulation | BM_Capture[int_string_test] |
60.6 ns | 215.8 ns | -71.94% |
| ❌ | Simulation | BM_Capture_int[int_test] |
61.1 ns | 158.1 ns | -61.34% |
| ❌ | Simulation | BM_String_Concatenation[10] |
526.9 ns | 594.7 ns | -11.4% |
| ❌ | Simulation | BM_Capture_int_string[int_string_test] |
60.8 ns | 216.1 ns | -71.85% |
| ❌ | Simulation | BM_Capture[int_test] |
61.1 ns | 158.1 ns | -61.34% |
| ❌ | Simulation | BarTest[MyFixture] |
90.8 ns | 187.8 ns | -51.63% |
| ❌ | Simulation | BM_StringCopy |
398.6 ns | 466.4 ns | -14.53% |
| ❌ | Simulation | BM_custom_args[1000] |
90.8 ns | 187.8 ns | -51.63% |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Comparing cod-2033-codspeed-cpp-includes-setupteardown-in-instrumentation-mode (696eaa1) with main (d6b4111)
Congrats! CodSpeed is installed 🎉
You will start to see performance impacts in the reports once the benchmarks are run from your default branch.
|
5b52b9e to
646ed4c
Compare
PauseTiming/ResumeTiming now stop/start Callgrind instrumentation in CODSPEED_ANALYSIS mode, ensuring setup/teardown code is not included in benchmark measurements.
646ed4c to
696eaa1
Compare
GuillaumeLagrange
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PauseTiming/ResumeTiming now stop/start Callgrind instrumentation in
CODSPEED_ANALYSIS mode, ensuring setup/teardown code is not included
in benchmark measurements.