Skip to content

Stabilize benchmarks#8651

Draft
faydef wants to merge 2 commits into
masterfrom
fayssal/stabilize-benchmarks
Draft

Stabilize benchmarks#8651
faydef wants to merge 2 commits into
masterfrom
fayssal/stabilize-benchmarks

Conversation

@faydef
Copy link
Copy Markdown
Contributor

@faydef faydef commented May 18, 2026

Summary of changes

Partially revert the methodology changes from #8559 that introduced .NET 6-specific instability in the microbenchmarks:

  • restore --launchCount from 5 back to 10.
  • restore/change cpus_per_item from 1 back to 2 on all four batches (trace, trace-unstable, otel-instr-api, otel-api).
  • widen the OTel batch CPU masks from 0xE00000 (3 CPUs, bits 21–23) to 0x3F000000 (6 CPUs, bits 24–29) so cpus_per_item: 2 still fits the 3 OTel items in a single parallel wave instead of serializing them.

The new OpenTelemetry batches added in #8559 are retained.

Reason for change

Since #8559 merged, the microbenchmarks dashboard showed two distinct .NET 6-only regressions:

  1. Systematic execution-time shift across basically all .NET 6 benchmarks. Other runtimes (net472, netcoreapp3.1) were unaffected.
  2. Erratic allocation metrics on the OTel .NET 6 benchmarks.

Root cause is the combination of cpus_per_item: 1 and launchCount: 5

Implementation details

The two levers target different symptoms:

  • cpus_per_item: 2 addresses the systematic shift by giving the runtime a second core for background work.
  • launchCount: 10 addresses the variance by tightening confidence intervals.

Test coverage

Other details

Related: #8559 (the PR being partially reverted).

@andrewlock andrewlock added the area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc label May 18, 2026
@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8651) 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
duration72.83 ± (72.88 - 73.35) ms74.15 ± (74.14 - 74.73) ms+1.8%✅⬆️
.NET Framework 4.8 - Bailout
duration76.69 ± (76.56 - 76.92) ms77.25 ± (76.95 - 77.32) ms+0.7%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1096.23 ± (1095.43 - 1101.59) ms1100.25 ± (1100.70 - 1108.99) ms+0.4%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.60 ± (22.55 - 22.64) ms22.46 ± (22.40 - 22.51) ms-0.6%
process.time_to_main_ms84.69 ± (84.49 - 84.88) ms84.62 ± (84.29 - 84.96) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.83 ± (10.83 - 10.84) MB10.92 ± (10.92 - 10.93) MB+0.8%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.45 ± (22.41 - 22.48) ms22.30 ± (22.26 - 22.34) ms-0.7%
process.time_to_main_ms85.08 ± (84.91 - 85.25) ms85.23 ± (85.02 - 85.45) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.92 - 10.93) MB10.95 ± (10.94 - 10.95) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.94 ± (212.03 - 213.85) ms214.17 ± (213.22 - 215.12) ms+0.6%✅⬆️
process.time_to_main_ms536.40 ± (535.08 - 537.72) ms537.69 ± (536.30 - 539.08) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.46 ± (48.43 - 48.48) MB48.39 ± (48.36 - 48.42) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 6 - Baseline
process.internal_duration_ms21.33 ± (21.27 - 21.38) ms21.47 ± (21.41 - 21.53) ms+0.7%✅⬆️
process.time_to_main_ms73.95 ± (73.72 - 74.17) ms75.46 ± (75.12 - 75.79) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.63 ± (10.63 - 10.63) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.12 ± (21.08 - 21.16) ms21.31 ± (21.26 - 21.35) ms+0.9%✅⬆️
process.time_to_main_ms74.29 ± (74.13 - 74.45) ms75.80 ± (75.56 - 76.03) ms+2.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.73 - 10.73) MB10.75 ± (10.75 - 10.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms373.98 ± (371.91 - 376.05) ms377.76 ± (375.73 - 379.79) ms+1.0%✅⬆️
process.time_to_main_ms537.22 ± (536.12 - 538.32) ms541.17 ± (539.76 - 542.58) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.85 ± (49.83 - 49.87) MB49.88 ± (49.85 - 49.90) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.58 ± (19.54 - 19.63) ms19.36 ± (19.32 - 19.39) ms-1.2%
process.time_to_main_ms73.76 ± (73.53 - 73.99) ms72.19 ± (72.02 - 72.36) ms-2.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.68) MB7.69 ± (7.68 - 7.69) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.45 ± (19.41 - 19.49) ms19.66 ± (19.61 - 19.71) ms+1.1%✅⬆️
process.time_to_main_ms74.47 ± (74.24 - 74.70) ms75.76 ± (75.50 - 76.02) ms+1.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.74) MB7.73 ± (7.72 - 7.73) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.05 ± (292.75 - 297.35) ms294.17 ± (292.01 - 296.33) ms-0.3%
process.time_to_main_ms494.22 ± (493.16 - 495.27) ms494.79 ± (493.78 - 495.81) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.91 ± (36.88 - 36.93) MB36.87 ± (36.84 - 36.90) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.7%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration199.62 ± (199.40 - 200.19) ms200.19 ± (200.06 - 200.95) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration202.93 ± (202.53 - 203.57) ms204.73 ± (204.41 - 205.21) ms+0.9%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1197.58 ± (1198.94 - 1205.53) ms1196.75 ± (1199.15 - 1205.65) ms-0.1%
.NET Core 3.1 - Baseline
process.internal_duration_ms195.82 ± (195.35 - 196.29) ms196.06 ± (195.47 - 196.65) ms+0.1%✅⬆️
process.time_to_main_ms84.74 ± (84.37 - 85.11) ms84.81 ± (84.44 - 85.17) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.11 - 16.15) MB16.04 ± (16.02 - 16.06) MB-0.5%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms196.14 ± (195.61 - 196.68) ms196.40 ± (195.90 - 196.91) ms+0.1%✅⬆️
process.time_to_main_ms86.03 ± (85.75 - 86.31) ms86.34 ± (86.04 - 86.64) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.03 ± (16.01 - 16.06) MB16.03 ± (16.01 - 16.06) MB+0.0%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.5%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms387.23 ± (385.62 - 388.84) ms389.88 ± (388.47 - 391.30) ms+0.7%✅⬆️
process.time_to_main_ms534.89 ± (533.73 - 536.06) ms537.65 ± (536.52 - 538.78) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.72 ± (57.49 - 57.95) MB57.88 ± (57.63 - 58.13) MB+0.3%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.4%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms199.70 ± (199.11 - 200.28) ms198.79 ± (198.32 - 199.26) ms-0.5%
process.time_to_main_ms72.65 ± (72.37 - 72.93) ms72.86 ± (72.63 - 73.08) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.31 - 16.36) MB16.35 ± (16.32 - 16.37) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.6%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms197.63 ± (197.17 - 198.09) ms198.23 ± (197.88 - 198.58) ms+0.3%✅⬆️
process.time_to_main_ms73.28 ± (73.08 - 73.47) ms73.90 ± (73.67 - 74.12) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.42 ± (16.39 - 16.45) MB16.38 ± (16.36 - 16.41) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.5%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms591.97 ± (589.42 - 594.52) ms593.52 ± (591.13 - 595.92) ms+0.3%✅⬆️
process.time_to_main_ms533.39 ± (532.38 - 534.41) ms536.37 ± (535.37 - 537.37) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.15 ± (61.05 - 61.24) MB61.42 ± (61.30 - 61.53) MB+0.4%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms195.16 ± (194.73 - 195.60) ms197.86 ± (197.41 - 198.32) ms+1.4%✅⬆️
process.time_to_main_ms71.28 ± (71.04 - 71.51) ms72.57 ± (72.28 - 72.85) ms+1.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.71 ± (11.69 - 11.74) MB11.76 ± (11.74 - 11.78) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.1%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms194.72 ± (194.23 - 195.20) ms196.94 ± (196.44 - 197.43) ms+1.1%✅⬆️
process.time_to_main_ms72.70 ± (72.50 - 72.90) ms73.27 ± (73.00 - 73.53) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.75 - 11.80) MB11.79 ± (11.77 - 11.82) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.4%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms517.53 ± (515.04 - 520.02) ms514.65 ± (511.73 - 517.58) ms-0.6%
process.time_to_main_ms490.19 ± (489.32 - 491.06) ms494.83 ± (493.92 - 495.75) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.67 ± (50.64 - 50.71) MB50.52 ± (50.49 - 50.56) MB-0.3%
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (30 - 30)+0.1%✅⬆️
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 (8651) - mean (74ms)  : 70, 79
    master - mean (73ms)  : 70, 77

    section Bailout
    This PR (8651) - mean (77ms)  : 75, 79
    master - mean (77ms)  : 75, 79

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (1,105ms)  : 1043, 1167
    master - mean (1,099ms)  : 1055, 1142

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 (8651) - mean (114ms)  : 108, 120
    master - mean (114ms)  : 111, 118

    section Bailout
    This PR (8651) - mean (114ms)  : 110, 118
    master - mean (114ms)  : 112, 116

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (789ms)  : 760, 819
    master - mean (784ms)  : 753, 816

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8651) - mean (104ms)  : 97, 110
    master - mean (102ms)  : 97, 106

    section Bailout
    This PR (8651) - mean (104ms)  : 99, 108
    master - mean (102ms)  : 98, 106

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (950ms)  : 903, 998
    master - mean (940ms)  : 906, 974

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8651) - mean (99ms)  : 96, 103
    master - mean (101ms)  : 97, 106

    section Bailout
    This PR (8651) - mean (103ms)  : 98, 108
    master - mean (102ms)  : 97, 106

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (819ms)  : 779, 859
    master - mean (819ms)  : 783, 856

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 (8651) - mean (201ms)  : 196, 205
    master - mean (200ms)  : 195, 204

    section Bailout
    This PR (8651) - mean (205ms)  : 201, 209
    master - mean (203ms)  : 198, 208

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (1,202ms)  : 1154, 1251
    master - mean (1,202ms)  : 1155, 1249

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 (8651) - mean (290ms)  : 283, 297
    master - mean (290ms)  : 282, 298

    section Bailout
    This PR (8651) - mean (291ms)  : 286, 297
    master - mean (291ms)  : 284, 297

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (967ms)  : 943, 991
    master - mean (962ms)  : 942, 982

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8651) - mean (280ms)  : 274, 287
    master - mean (281ms)  : 275, 288

    section Bailout
    This PR (8651) - mean (280ms)  : 275, 286
    master - mean (280ms)  : 274, 285

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (1,159ms)  : 1119, 1200
    master - mean (1,155ms)  : 1118, 1193

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8651) - mean (281ms)  : 274, 287
    master - mean (277ms)  : 270, 284

    section Bailout
    This PR (8651) - mean (280ms)  : 273, 287
    master - mean (278ms)  : 270, 285

    section CallTarget+Inlining+NGEN
    This PR (8651) - mean (1,041ms)  : 993, 1089
    master - mean (1,041ms)  : 999, 1082

Loading

Copy link
Copy Markdown
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

Thanks!

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 18, 2026

Benchmarks

Benchmark execution time: 2026-05-18 10:52:19

Comparing candidate commit 27e750a in PR branch fayssal/stabilize-benchmarks with baseline commit ee13f56 in branch master.

Some scenarios are present only in baseline or only in candidate runs. If you didn't create or remove some scenarios in your branch, this maybe a sign of crashed benchmarks 💥💥💥
Check Gitlab CI job log to find if any benchmark has crashed.

Scenarios present only in baseline:

  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1

Found 5 performance improvements and 2 performance regressions! Performance is the same for 54 metrics, 11 unstable metrics, 89 known flaky benchmarks, 37 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 ----------------------------------'

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartRootSpan net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.187%; -9.180%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_GetCurrentSpan net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.187%; -9.180%]
  • 🟩 throughput [+101991.674op/s; +106887.290op/s] or [+58.710%; +61.528%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_GetCurrentSpan netcoreapp3.1

  • 🟥 execution_time [+110.923ms; +112.127ms] or [+124.624%; +125.977%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartSpan_SetActive net6.0

  • 🟥 execution_time [+58.205ms; +68.732ms] or [+42.277%; +49.923%]
  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.320%; -7.312%]
  • 🟩 throughput [+103888.427op/s; +116241.727op/s] or [+71.025%; +79.470%]

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.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net6.0

  • 🟥 execution_time [+73.214ms; +76.374ms] or [+57.989%; +60.492%]
  • 🟩 throughput [+99382.154op/s; +104181.357op/s] or [+53.593%; +56.181%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [+74.273ms; +98.016ms] or [+65.378%; +86.278%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0

  • unstable execution_time [+50.151ms; +67.275ms] or [+35.246%; +47.282%]
  • 🟩 throughput [+103947.064op/s; +106703.691op/s] or [+64.167%; +65.869%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1

  • unstable execution_time [+79.732ms; +105.108ms] or [+72.879%; +96.073%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0

  • unstable execution_time [+34.402ms; +54.964ms] or [+22.017%; +35.176%]
  • unstable throughput [+115946.037op/s; +135263.953op/s] or [+72.868%; +85.009%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1

  • 🟥 execution_time [+111.106ms; +112.252ms] or [+125.023%; +126.312%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472

  • 🟥 throughput [-12483.901op/s; -11301.256op/s] or [-7.642%; -6.918%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • 🟥 execution_time [+62.784ms; +66.796ms] or [+46.217%; +49.170%]
  • unstable throughput [+71634.387op/s; +89781.393op/s] or [+46.572%; +58.370%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • 🟥 execution_time [+107.246ms; +108.513ms] or [+116.435%; +117.811%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0

  • unstable execution_time [+56.421ms; +73.865ms] or [+41.527%; +54.367%]
  • 🟩 throughput [+100008.817op/s; +117492.940op/s] or [+54.000%; +63.441%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1

  • unstable execution_time [+76.859ms; +101.725ms] or [+69.290%; +91.708%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472

  • 🟥 throughput [-12878.199op/s; -11202.465op/s] or [-6.465%; -5.624%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0

  • 🟥 execution_time [+79.504ms; +83.621ms] or [+66.657%; +70.110%]
  • 🟩 throughput [+89062.767op/s; +96430.380op/s] or [+45.242%; +48.984%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [+50.997ms; +81.097ms] or [+37.945%; +60.341%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.187%; -9.180%]
  • unstable execution_time [+53.242ms; +69.710ms] or [+38.160%; +49.963%]
  • 🟩 throughput [+100176.704op/s; +115137.876op/s] or [+60.019%; +68.983%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1

  • unstable execution_time [+75.820ms; +101.140ms] or [+67.473%; +90.006%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0

  • unstable execution_time [+48.958ms; +66.610ms] or [+34.257%; +46.608%]
  • 🟩 throughput [+95412.824op/s; +100447.108op/s] or [+63.817%; +67.184%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1

  • 🟥 execution_time [+113.484ms; +114.673ms] or [+130.909%; +132.281%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.187%; -9.180%]
  • unstable execution_time [+35.614ms; +69.447ms] or [+24.071%; +46.938%]
  • unstable throughput [+106183.057op/s; +128819.051op/s] or [+68.144%; +82.671%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1

  • unstable execution_time [+77.008ms; +101.616ms] or [+69.336%; +91.493%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0

  • 🟥 execution_time [+70.614ms; +82.492ms] or [+57.078%; +66.679%]
  • unstable throughput [+55196.771op/s; +67246.514op/s] or [+47.794%; +58.227%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1

  • 🟥 execution_time [+101.948ms; +109.618ms] or [+115.557%; +124.251%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-6.926%; -6.920%]
  • 🟥 execution_time [+41.027ms; +55.279ms] or [+26.946%; +36.306%]
  • 🟩 throughput [+97676.132op/s; +106840.345op/s] or [+80.522%; +88.077%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1

  • unstable execution_time [+77.453ms; +103.789ms] or [+70.671%; +94.700%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-8.739%; -8.734%]
  • unstable execution_time [+51.997ms; +69.822ms] or [+37.133%; +49.863%]
  • 🟩 throughput [+110431.407op/s; +124687.775op/s] or [+75.850%; +85.643%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1

  • unstable execution_time [+78.886ms; +104.651ms] or [+72.950%; +96.776%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472

  • 🟥 throughput [-15559.315op/s; -13961.243op/s] or [-8.232%; -7.387%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.187%; -9.180%]
  • unstable execution_time [+21.085ms; +41.199ms] or [+12.463%; +24.352%]
  • unstable throughput [+122542.448op/s; +139321.695op/s] or [+83.054%; +94.426%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1

  • unstable execution_time [+27.578ms; +58.021ms] or [+17.542%; +36.907%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-5056.037op/s; -4569.405op/s] or [-5.995%; -5.418%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 throughput [-6181.388op/s; -5065.996op/s] or [-6.285%; -5.151%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+310.943ms; +315.015ms] or [+154.301%; +156.322%]
  • 🟥 throughput [-48.120op/s; -43.625op/s] or [-8.658%; -7.849%]

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

  • 🟥 execution_time [+376.116ms; +378.915ms] or [+297.155%; +299.366%]
  • 🟩 throughput [+93.768op/s; +97.097op/s] or [+12.363%; +12.802%]

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

  • 🟥 execution_time [+395.755ms; +398.249ms] or [+350.228%; +352.435%]

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 [-16.169ms; -11.995ms] or [-7.552%; -5.602%]

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 [-286375.764op/s; -282553.599op/s] or [-29.240%; -28.850%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-27.088ms; -22.237ms] or [-12.080%; -9.917%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • 🟥 throughput [-158781.314op/s; -143025.941op/s] or [-22.814%; -20.550%]

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

  • 🟩 throughput [+7968.409op/s; +10906.466op/s] or [+5.070%; +6.940%]

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

  • 🟩 throughput [+8973.629op/s; +11620.944op/s] or [+7.149%; +9.258%]

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

  • 🟩 throughput [+465950.275op/s; +480140.790op/s] or [+15.537%; +16.010%]

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

  • 🟩 execution_time [-19.207ms; -14.877ms] or [-8.854%; -6.858%]
  • 🟩 throughput [+155100.132op/s; +208613.539op/s] or [+6.156%; +8.280%]

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

  • 🟥 execution_time [+299.424ms; +300.514ms] or [+149.612%; +150.157%]

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

  • 🟥 execution_time [+299.496ms; +302.646ms] or [+151.036%; +152.625%]

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

  • 🟥 execution_time [+299.388ms; +301.778ms] or [+150.808%; +152.012%]

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

  • 🟥 execution_time [+298.066ms; +298.934ms] or [+146.398%; +146.825%]

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

  • 🟥 execution_time [+299.245ms; +301.402ms] or [+146.290%; +147.344%]

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

  • 🟥 execution_time [+303.455ms; +305.406ms] or [+151.666%; +152.642%]

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

  • 🟥 execution_time [+16.952µs; +40.527µs] or [+5.412%; +12.938%]
  • 🟥 throughput [-382.474op/s; -184.036op/s] or [-11.923%; -5.737%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.542ms; +300.126ms] or [+149.502%; +149.793%]

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

  • unstable execution_time [+340.724ms; +380.964ms] or [+370.210%; +413.933%]
  • 🟩 throughput [+1141.582op/s; +1307.708op/s] or [+9.381%; +10.746%]

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

  • unstable execution_time [+251.419ms; +297.720ms] or [+190.900%; +226.056%]
  • 🟩 throughput [+653.212op/s; +855.322op/s] or [+6.324%; +8.280%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 allocated_mem [+2.835KB; +2.840KB] or [+5.036%; +5.045%]
  • unstable execution_time [+318.394ms; +362.903ms] or [+146.394%; +166.859%]
  • 🟥 throughput [-563.085op/s; -527.316op/s] or [-51.021%; -47.780%]

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

  • unstable execution_time [+205.357ms; +338.591ms] or [+87.515%; +144.293%]
  • 🟥 throughput [-675.616op/s; -592.069op/s] or [-45.064%; -39.491%]

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

  • 🟥 execution_time [+350.163ms; +363.070ms] or [+209.438%; +217.158%]
  • 🟥 throughput [-423.167op/s; -387.349op/s] or [-29.465%; -26.971%]

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

  • 🟩 throughput [+28.581op/s; +40.451op/s] or [+5.642%; +7.985%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+301.717ms; +303.397ms] or [+151.939%; +152.785%]

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

  • 🟥 execution_time [+299.693ms; +301.862ms] or [+150.177%; +151.264%]

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

  • 🟥 execution_time [+301.444ms; +304.616ms] or [+151.433%; +153.026%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+302.396ms; +303.949ms] or [+151.853%; +152.633%]

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

  • 🟥 execution_time [+297.977ms; +300.021ms] or [+147.336%; +148.347%]

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

  • 🟥 execution_time [+303.121ms; +306.529ms] or [+153.635%; +155.362%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+301.442ms; +303.619ms] or [+151.297%; +152.389%]

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

  • 🟥 execution_time [+300.326ms; +302.634ms] or [+149.685%; +150.835%]
  • 🟩 throughput [+59051.218op/s; +63901.891op/s] or [+11.726%; +12.689%]

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

  • 🟥 execution_time [+300.226ms; +303.149ms] or [+149.360%; +150.814%]

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

  • 🟩 execution_time [-16.315ms; -12.675ms] or [-7.586%; -5.894%]
  • 🟩 throughput [+23102.783op/s; +29646.150op/s] or [+6.338%; +8.133%]

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

  • 🟩 allocated_mem [-20.237KB; -20.216KB] or [-7.382%; -7.374%]
  • unstable execution_time [-61.675µs; -9.814µs] or [-12.190%; -1.940%]

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

  • 🟩 allocated_mem [-18.617KB; -18.601KB] or [-6.787%; -6.781%]
  • unstable execution_time [+5.516µs; +145.659µs] or [+0.956%; +25.242%]
  • unstable throughput [-122.764op/s; +90.022op/s] or [-7.014%; +5.143%]

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

  • 🟥 execution_time [+3.133µs; +6.963µs] or [+7.406%; +16.460%]
  • 🟥 throughput [-3357.767op/s; -1617.946op/s] or [-14.135%; -6.811%]

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

  • unstable execution_time [-15.846µs; -8.834µs] or [-24.585%; -13.705%]
  • 🟩 throughput [+2402.017op/s; +3891.091op/s] or [+14.737%; +23.873%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.159ms; +305.704ms] or [+152.728%; +154.520%]

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

  • 🟥 execution_time [+303.791ms; +306.288ms] or [+154.629%; +155.900%]

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

  • 🟥 execution_time [+299.676ms; +301.893ms] or [+150.025%; +151.135%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • 🟩 throughput [+30904.470op/s; +33827.188op/s] or [+5.850%; +6.403%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.136ms; +301.915ms] or [+149.591%; +150.477%]

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

  • 🟥 execution_time [+301.560ms; +303.024ms] or [+151.429%; +152.164%]

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

  • 🟥 execution_time [+303.481ms; +305.623ms] or [+153.906%; +154.992%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.580ms; +299.938ms] or [+149.432%; +149.611%]
  • 🟩 throughput [+60963427.872op/s; +61153908.534op/s] or [+44.397%; +44.536%]

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

  • unstable execution_time [+383.154ms; +411.472ms] or [+476.520%; +511.738%]
  • 🟩 throughput [+753.886op/s; +926.281op/s] or [+5.828%; +7.161%]

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

  • 🟥 execution_time [+299.286ms; +300.143ms] or [+149.277%; +149.705%]

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

  • 🟩 throughput [+89974.298op/s; +98293.929op/s] or [+8.401%; +9.177%]

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

  • 🟩 throughput [+60520.871op/s; +80123.208op/s] or [+7.005%; +9.274%]

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

  • 🟩 throughput [+73718.594op/s; +103349.233op/s] or [+5.706%; +7.999%]

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

  • 🟩 throughput [+100276.799op/s; +108538.110op/s] or [+9.959%; +10.780%]

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

  • 🟩 throughput [+60660.281op/s; +65316.727op/s] or [+11.015%; +11.860%]

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

  • 🟩 throughput [+29871.954op/s; +39662.799op/s] or [+6.686%; +8.878%]

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

  • 🟩 throughput [+109369.357op/s; +126100.028op/s] or [+12.219%; +14.089%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0
  • 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 net6.0
  • 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 net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • 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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants