Skip to content

Retry microbenchmarks on non-compliant CPUs#8558

Merged
igoragoli merged 5 commits into
masterfrom
augusto/same-cpus-windows
May 5, 2026
Merged

Retry microbenchmarks on non-compliant CPUs#8558
igoragoli merged 5 commits into
masterfrom
augusto/same-cpus-windows

Conversation

@igoragoli

@igoragoli igoragoli commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Use bp-infra target_cpu field for CPU validation with automatic retry on mismatch.

Reason for change

Fix flaky microbenchmarks CI caused by m5.metal CPU lottery (8259CL vs 8175M).

Implementation details

  • Add target_cpu: "8259CL" to provision file
  • Remove manual check_cpu_model step (bp-infra handles this internally now)

Test coverage

Testing microbenchmarks: https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-dotnet/-/jobs/1656268778

Testing macrobenchmarks: https://gitlab.ddbuild.io/DataDog/apm-reliability/dd-trace-dotnet/-/jobs/1656650126

Other details

Depends on https://github.com/DataDog/benchmarking-platform-tools/pull/232

@igoragoli
igoragoli requested a review from a team as a code owner May 5, 2026 07:17
@igoragoli
igoragoli marked this pull request as draft May 5, 2026 07:17
@igoragoli igoragoli changed the title ci(benchmarks): use bp-infra target_cpu for CPU validation ci(benchmarks): use bp-infra target_cpu, add OpenTelemetry batches May 5, 2026
@igoragoli igoragoli changed the title ci(benchmarks): use bp-infra target_cpu, add OpenTelemetry batches Retry microbenchmarks on non-compliant CPUs, enable OpenTelemetry benchmarks May 5, 2026
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc labels May 5, 2026
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented May 5, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8558) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration73.80 ± (73.92 - 74.49) ms72.94 ± (73.01 - 73.44) ms-1.2%
.NET Framework 4.8 - Bailout
duration78.86 ± (78.76 - 79.30) ms76.81 ± (76.74 - 77.14) ms-2.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1077.20 ± (1076.57 - 1083.04) ms1081.13 ± (1080.77 - 1088.08) ms+0.4%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.83 ± (22.77 - 22.89) ms22.56 ± (22.51 - 22.61) ms-1.2%
process.time_to_main_ms86.98 ± (86.66 - 87.30) ms84.70 ± (84.47 - 84.93) ms-2.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.92 ± (10.91 - 10.92) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.62 ± (22.57 - 22.67) ms22.61 ± (22.57 - 22.66) ms-0.0%
process.time_to_main_ms87.02 ± (86.77 - 87.27) ms86.92 ± (86.67 - 87.18) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.95 ± (10.94 - 10.95) MB+0.5%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms214.40 ± (213.64 - 215.16) ms211.63 ± (210.68 - 212.57) ms-1.3%
process.time_to_main_ms529.61 ± (528.24 - 530.98) ms528.90 ± (527.53 - 530.27) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.05 ± (48.03 - 48.08) MB47.99 ± (47.97 - 48.02) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms21.44 ± (21.39 - 21.50) ms21.32 ± (21.26 - 21.38) ms-0.6%
process.time_to_main_ms73.96 ± (73.64 - 74.27) ms74.95 ± (74.69 - 75.21) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.61) MB10.63 ± (10.62 - 10.63) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.14 ± (21.10 - 21.17) ms21.15 ± (21.10 - 21.20) ms+0.0%✅⬆️
process.time_to_main_ms74.02 ± (73.83 - 74.20) ms74.25 ± (74.08 - 74.42) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.72) MB10.75 ± (10.75 - 10.76) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms381.08 ± (379.32 - 382.84) ms379.53 ± (377.60 - 381.46) ms-0.4%
process.time_to_main_ms533.89 ± (532.41 - 535.36) ms535.19 ± (533.83 - 536.55) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.30 ± (49.27 - 49.33) MB49.45 ± (49.43 - 49.48) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.4%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms20.01 ± (19.94 - 20.07) ms19.66 ± (19.60 - 19.71) ms-1.7%
process.time_to_main_ms76.21 ± (75.87 - 76.54) ms74.27 ± (73.99 - 74.55) ms-2.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.65 - 7.66) MB7.68 ± (7.67 - 7.69) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.65 ± (19.61 - 19.70) ms19.84 ± (19.78 - 19.90) ms+1.0%✅⬆️
process.time_to_main_ms75.02 ± (74.79 - 75.25) ms76.63 ± (76.36 - 76.91) ms+2.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.70 ± (7.69 - 7.70) MB7.72 ± (7.71 - 7.72) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms299.25 ± (297.02 - 301.48) ms301.05 ± (298.83 - 303.27) ms+0.6%✅⬆️
process.time_to_main_ms494.09 ± (492.83 - 495.36) ms492.91 ± (491.77 - 494.04) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.55 ± (36.53 - 36.58) MB36.54 ± (36.52 - 36.56) MB-0.0%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.2%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration200.47 ± (200.07 - 201.02) ms202.70 ± (202.42 - 203.54) ms+1.1%✅⬆️
.NET Framework 4.8 - Bailout
duration204.08 ± (203.73 - 204.86) ms205.07 ± (204.91 - 205.93) ms+0.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1185.96 ± (1190.10 - 1198.87) ms1182.39 ± (1181.26 - 1188.83) ms-0.3%
.NET Core 3.1 - Baseline
process.internal_duration_ms193.63 ± (193.16 - 194.10) ms190.97 ± (190.52 - 191.42) ms-1.4%
process.time_to_main_ms84.96 ± (84.69 - 85.23) ms83.08 ± (82.83 - 83.33) ms-2.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.98 ± (15.96 - 16.00) MB15.99 ± (15.97 - 16.01) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms194.81 ± (194.34 - 195.28) ms192.22 ± (191.73 - 192.70) ms-1.3%
process.time_to_main_ms86.72 ± (86.44 - 86.99) ms84.86 ± (84.65 - 85.06) ms-2.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.08 ± (16.06 - 16.09) MB16.08 ± (16.06 - 16.10) MB+0.0%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms384.75 ± (383.42 - 386.09) ms384.01 ± (382.86 - 385.16) ms-0.2%
process.time_to_main_ms521.21 ± (519.81 - 522.61) ms520.19 ± (519.09 - 521.28) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.34 ± (57.14 - 57.53) MB56.93 ± (56.80 - 57.06) MB-0.7%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms194.68 ± (194.24 - 195.12) ms196.60 ± (196.10 - 197.10) ms+1.0%✅⬆️
process.time_to_main_ms71.89 ± (71.68 - 72.09) ms72.44 ± (72.24 - 72.64) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.42 ± (16.39 - 16.46) MB16.30 ± (16.28 - 16.32) MB-0.7%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.1%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms195.48 ± (194.97 - 195.99) ms195.33 ± (194.84 - 195.81) ms-0.1%
process.time_to_main_ms73.26 ± (73.11 - 73.42) ms73.26 ± (73.09 - 73.44) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.41 ± (16.39 - 16.44) MB16.35 ± (16.30 - 16.39) MB-0.4%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-1.3%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms595.79 ± (593.21 - 598.38) ms592.93 ± (589.97 - 595.90) ms-0.5%
process.time_to_main_ms520.33 ± (519.34 - 521.32) ms528.53 ± (527.32 - 529.75) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.03 ± (60.93 - 61.13) MB60.91 ± (60.81 - 61.01) MB-0.2%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms193.76 ± (193.28 - 194.24) ms197.88 ± (197.40 - 198.35) ms+2.1%✅⬆️
process.time_to_main_ms71.33 ± (71.15 - 71.51) ms73.03 ± (72.81 - 73.24) ms+2.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.71 ± (11.69 - 11.73) MB11.64 ± (11.63 - 11.66) MB-0.6%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.6%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms193.68 ± (193.20 - 194.16) ms197.92 ± (197.42 - 198.43) ms+2.2%✅⬆️
process.time_to_main_ms72.78 ± (72.60 - 72.96) ms74.60 ± (74.38 - 74.83) ms+2.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.75 - 11.79) MB11.71 ± (11.69 - 11.72) MB-0.6%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.6%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms522.11 ± (518.98 - 525.23) ms520.87 ± (517.98 - 523.76) ms-0.2%
process.time_to_main_ms482.46 ± (481.29 - 483.63) ms490.40 ± (489.38 - 491.41) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.33 ± (50.30 - 50.37) MB50.33 ± (50.29 - 50.37) MB-0.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.3%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (73ms)  : 70, 76
    master - mean (74ms)  : 70, 79

    section Bailout
    This PR (8558) - mean (77ms)  : 74, 79
    master - mean (79ms)  : 75, 83

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (1,084ms)  : 1030, 1138
    master - mean (1,080ms)  : 1031, 1129

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (114ms)  : 110, 119
    master - mean (117ms)  : 111, 123

    section Bailout
    This PR (8558) - mean (117ms)  : 111, 124
    master - mean (117ms)  : 111, 123

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (779ms)  : 756, 802
    master - mean (782ms)  : 748, 816

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (103ms)  : 97, 109
    master - mean (102ms)  : 95, 109

    section Bailout
    This PR (8558) - mean (102ms)  : 99, 104
    master - mean (101ms)  : 98, 105

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (946ms)  : 909, 983
    master - mean (945ms)  : 907, 983

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (102ms)  : 97, 107
    master - mean (104ms)  : 98, 111

    section Bailout
    This PR (8558) - mean (105ms)  : 100, 110
    master - mean (102ms)  : 98, 107

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (825ms)  : 789, 861
    master - mean (825ms)  : 790, 861

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (203ms)  : 194, 212
    master - mean (201ms)  : 194, 207

    section Bailout
    This PR (8558) - mean (205ms)  : 199, 212
    master - mean (204ms)  : 198, 211

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (1,185ms)  : 1128, 1242
    master - mean (1,194ms)  : 1132, 1257

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (283ms)  : 274, 293
    master - mean (287ms)  : 278, 296

    section Bailout
    This PR (8558) - mean (286ms)  : 275, 296
    master - mean (291ms)  : 282, 300

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (939ms)  : 906, 971
    master - mean (943ms)  : 916, 970

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (277ms)  : 268, 287
    master - mean (275ms)  : 268, 282

    section Bailout
    This PR (8558) - mean (277ms)  : 268, 286
    master - mean (278ms)  : 267, 288

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (1,150ms)  : 1102, 1199
    master - mean (1,146ms)  : 1104, 1187

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8558) - mean (281ms)  : 273, 290
    master - mean (275ms)  : 266, 284

    section Bailout
    This PR (8558) - mean (283ms)  : 274, 292
    master - mean (276ms)  : 267, 286

    section CallTarget+Inlining+NGEN
    This PR (8558) - mean (1,042ms)  : 1000, 1084
    master - mean (1,037ms)  : 981, 1092

Loading

@igoragoli
igoragoli force-pushed the augusto/same-cpus-windows branch from 13c59ea to a1d8a1f Compare May 5, 2026 09:35
@igoragoli igoragoli changed the title Retry microbenchmarks on non-compliant CPUs, enable OpenTelemetry benchmarks ci(benchmarks): use bp-infra target_cpu for CPU validation May 5, 2026
@igoragoli igoragoli changed the title ci(benchmarks): use bp-infra target_cpu for CPU validation Retry microbenchmarks on non-compliant CPUs May 5, 2026
@igoragoli
igoragoli marked this pull request as ready for review May 5, 2026 09:35

igoragoli commented May 5, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Replace manual check_cpu_model step with target_cpu field.
bp-infra now handles CPU verification with automatic retry.
@igoragoli
igoragoli force-pushed the augusto/same-cpus-windows branch from a1d8a1f to 37ab98f Compare May 5, 2026 09:38
@pr-commenter

pr-commenter Bot commented May 5, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-05 13:21:07

Comparing candidate commit cd19ee5 in PR branch augusto/same-cpus-windows with baseline commit 33a2586 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics, 61 known flaky benchmarks, 26 flaky benchmarks without significant changes.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-5217.992op/s; -4465.735op/s] or [-6.187%; -5.295%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • 🟩 throughput [+7548.794op/s; +9804.232op/s] or [+6.345%; +8.241%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+314.263ms; +319.137ms] or [+155.948%; +158.367%]
  • 🟥 throughput [-42.068op/s; -38.414op/s] or [-7.569%; -6.911%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+379.586ms; +381.447ms] or [+299.897%; +301.366%]
  • 🟩 throughput [+91.412op/s; +95.474op/s] or [+12.052%; +12.588%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+392.512ms; +395.088ms] or [+347.359%; +349.638%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.906ms; -11.719ms] or [-7.429%; -5.473%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • 🟥 throughput [-279035.069op/s; -275761.426op/s] or [-28.491%; -28.157%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.389ms; -21.547ms] or [-11.768%; -9.609%]
  • 🟥 throughput [-71678.751op/s; -48148.220op/s] or [-7.658%; -5.144%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • 🟥 throughput [-140438.387op/s; -124452.315op/s] or [-20.178%; -17.881%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • 🟩 throughput [+8923.920op/s; +11851.855op/s] or [+5.678%; +7.541%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • 🟩 throughput [+6284.569op/s; +8949.007op/s] or [+5.006%; +7.129%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • 🟩 throughput [+314723.276op/s; +331807.086op/s] or [+10.494%; +11.064%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟩 execution_time [-18.479ms; -14.114ms] or [-8.518%; -6.506%]
  • 🟩 throughput [+131838.320op/s; +189972.423op/s] or [+5.233%; +7.541%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • 🟥 execution_time [+299.609ms; +300.330ms] or [+149.705%; +150.065%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • 🟥 execution_time [+299.628ms; +302.768ms] or [+151.103%; +152.686%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • 🟥 execution_time [+300.524ms; +302.897ms] or [+151.380%; +152.576%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • 🟥 execution_time [+297.071ms; +297.966ms] or [+145.909%; +146.349%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • 🟥 execution_time [+294.163ms; +297.272ms] or [+143.806%; +145.325%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟥 execution_time [+300.532ms; +301.950ms] or [+150.206%; +150.914%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0

  • 🟥 throughput [-235.675op/s; -115.184op/s] or [-10.246%; -5.008%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • 🟥 execution_time [+24.417µs; +47.990µs] or [+7.795%; +15.321%]
  • 🟥 throughput [-444.949op/s; -246.574op/s] or [-13.870%; -7.686%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.619ms; +300.280ms] or [+149.541%; +149.871%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • unstable execution_time [+289.785ms; +340.249ms] or [+314.863%; +369.694%]
  • 🟩 throughput [+1145.034op/s; +1304.196op/s] or [+9.409%; +10.717%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • unstable execution_time [+287.430ms; +328.790ms] or [+218.243%; +249.647%]
  • 🟩 throughput [+650.745op/s; +858.542op/s] or [+6.300%; +8.311%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • unstable execution_time [+322.375ms; +356.296ms] or [+148.225%; +163.821%]
  • 🟥 throughput [-526.310op/s; -492.813op/s] or [-47.689%; -44.654%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • unstable execution_time [+209.112ms; +342.347ms] or [+89.115%; +145.894%]
  • 🟥 throughput [-672.563op/s; -589.068op/s] or [-44.860%; -39.291%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+331.066ms; +339.443ms] or [+198.016%; +203.026%]
  • 🟥 throughput [-398.995op/s; -363.696op/s] or [-27.781%; -25.324%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • 🟩 execution_time [-186.187µs; -148.768µs] or [-9.432%; -7.536%]
  • 🟩 throughput [+43.370op/s; +53.139op/s] or [+8.562%; +10.490%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+304.126ms; +305.750ms] or [+153.152%; +153.970%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • 🟥 execution_time [+301.525ms; +303.308ms] or [+151.094%; +151.988%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • 🟥 execution_time [+299.412ms; +302.508ms] or [+150.412%; +151.967%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.539ms; +303.733ms] or [+151.925%; +152.525%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • 🟥 execution_time [+298.753ms; +301.119ms] or [+147.720%; +148.890%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟥 execution_time [+303.566ms; +307.222ms] or [+153.861%; +155.713%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.008ms; +303.540ms] or [+151.581%; +152.350%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • 🟥 execution_time [+299.649ms; +301.450ms] or [+149.348%; +150.245%]
  • 🟩 throughput [+27010.644op/s; +33979.418op/s] or [+5.363%; +6.747%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • 🟥 execution_time [+301.031ms; +303.651ms] or [+149.760%; +151.064%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • 🟩 execution_time [-16.637ms; -12.980ms] or [-7.736%; -6.036%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • unstable execution_time [+5.052µs; +45.815µs] or [+1.248%; +11.317%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-20.390KB; -20.369KB] or [-7.438%; -7.430%]
  • unstable execution_time [+13.698µs; +86.502µs] or [+2.707%; +17.097%]
  • unstable throughput [-226.552op/s; -15.298op/s] or [-11.305%; -0.763%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472

  • 🟥 allocated_mem [+8.190KB; +8.196KB] or [+16.663%; +16.674%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • 🟥 execution_time [+5.812µs; +9.980µs] or [+13.739%; +23.590%]
  • 🟥 throughput [-4513.133op/s; -2750.416op/s] or [-18.999%; -11.578%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • unstable execution_time [-13.536µs; -6.244µs] or [-21.001%; -9.688%]
  • 🟩 throughput [+1591.592op/s; +3115.264op/s] or [+9.765%; +19.113%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+301.973ms; +303.331ms] or [+152.634%; +153.320%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+303.050ms; +305.204ms] or [+154.252%; +155.348%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+300.658ms; +302.986ms] or [+150.516%; +151.682%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.380ms; +302.265ms] or [+149.712%; +150.652%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+301.301ms; +302.881ms] or [+151.299%; +152.093%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+303.127ms; +305.335ms] or [+153.727%; +154.847%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.677ms; +300.491ms] or [+149.480%; +149.887%]
  • 🟩 throughput [+61351628.796op/s; +61642933.232op/s] or [+44.680%; +44.892%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • unstable execution_time [+387.077ms; +416.632ms] or [+481.400%; +518.156%]
  • 🟩 throughput [+1063.322op/s; +1233.233op/s] or [+8.220%; +9.534%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • 🟥 execution_time [+299.982ms; +300.903ms] or [+149.624%; +150.083%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • 🟩 throughput [+102936.376op/s; +110452.106op/s] or [+9.611%; +10.313%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • 🟩 throughput [+52577.042op/s; +71599.552op/s] or [+6.086%; +8.287%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • 🟩 throughput [+101419.841op/s; +131363.989op/s] or [+7.850%; +10.168%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • 🟩 throughput [+87511.630op/s; +95759.999op/s] or [+8.691%; +9.511%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • 🟩 throughput [+59143.568op/s; +63939.008op/s] or [+10.739%; +11.610%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • 🟩 throughput [+23851.843op/s; +33430.517op/s] or [+5.339%; +7.483%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • 🟩 throughput [+90506.922op/s; +107371.569op/s] or [+10.112%; +11.996%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🤞

@bouwkast bouwkast left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@igoragoli
igoragoli enabled auto-merge (squash) May 5, 2026 12:12
@igoragoli
igoragoli merged commit b7244f5 into master May 5, 2026
165 of 178 checks passed
@igoragoli
igoragoli deleted the augusto/same-cpus-windows branch May 5, 2026 13:35
@github-actions github-actions Bot added this to the vNext-v3 milestone May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc area:builds project files, build scripts, pipelines, versioning, releases, packages type:flake-fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants