Skip to content

[Profiler] Fix flacky tests possibly due to network errors#8574

Merged
chrisnas merged 6 commits into
masterfrom
chrisnas/flacky_http_tests
May 19, 2026
Merged

[Profiler] Fix flacky tests possibly due to network errors#8574
chrisnas merged 6 commits into
masterfrom
chrisnas/flacky_http_tests

Conversation

@chrisnas

@chrisnas chrisnas commented May 6, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Update threshold and error handling in integration tests

Reason for change

Avoid flackiness

Implementation details

Test coverage

Other details

@chrisnas
chrisnas requested a review from a team as a code owner May 6, 2026 16:34
@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label May 6, 2026

@NachoEchevarria NachoEchevarria 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!

@dd-trace-dotnet-ci-bot

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

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8574) 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
duration74.40 ± (74.50 - 75.10) ms72.48 ± (72.52 - 72.89) ms-2.6%
.NET Framework 4.8 - Bailout
duration79.94 ± (79.66 - 80.17) ms79.33 ± (79.17 - 79.74) ms-0.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1126.01 ± (1124.41 - 1130.70) ms1127.35 ± (1128.43 - 1136.96) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.90 ± (22.84 - 22.96) ms22.93 ± (22.86 - 22.99) ms+0.1%✅⬆️
process.time_to_main_ms86.68 ± (86.34 - 87.03) ms87.77 ± (87.45 - 88.09) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.90 ± (10.90 - 10.90) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.48 ± (22.43 - 22.53) ms22.49 ± (22.44 - 22.53) ms+0.0%✅⬆️
process.time_to_main_ms86.00 ± (85.80 - 86.20) ms87.04 ± (86.74 - 87.34) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.88 - 10.89) MB10.93 ± (10.93 - 10.94) MB+0.5%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms206.41 ± (205.84 - 206.98) ms204.75 ± (204.21 - 205.29) ms-0.8%
process.time_to_main_ms567.85 ± (566.45 - 569.25) ms567.90 ± (566.42 - 569.38) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.76 ± (49.74 - 49.78) MB49.79 ± (49.76 - 49.81) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 6 - Baseline
process.internal_duration_ms21.62 ± (21.56 - 21.69) ms21.66 ± (21.59 - 21.74) ms+0.2%✅⬆️
process.time_to_main_ms75.57 ± (75.29 - 75.85) ms76.50 ± (76.16 - 76.84) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.61) MB10.63 ± (10.63 - 10.63) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.28 ± (21.23 - 21.32) ms21.23 ± (21.19 - 21.28) ms-0.2%
process.time_to_main_ms74.96 ± (74.72 - 75.20) ms75.20 ± (74.96 - 75.44) 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.75) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms353.05 ± (350.86 - 355.24) ms350.79 ± (348.58 - 353.01) ms-0.6%
process.time_to_main_ms565.81 ± (564.25 - 567.38) ms565.75 ± (564.25 - 567.24) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed51.00 ± (50.98 - 51.03) MB51.15 ± (51.13 - 51.16) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.46 ± (19.42 - 19.50) ms19.80 ± (19.75 - 19.85) ms+1.7%✅⬆️
process.time_to_main_ms73.32 ± (73.13 - 73.50) ms74.15 ± (73.93 - 74.37) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.65 - 7.66) MB7.65 ± (7.65 - 7.66) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.88 ± (19.82 - 19.94) ms19.92 ± (19.87 - 19.97) ms+0.2%✅⬆️
process.time_to_main_ms77.16 ± (76.88 - 77.45) ms76.90 ± (76.64 - 77.16) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.71 - 7.72) MB7.70 ± (7.70 - 7.71) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms279.48 ± (277.14 - 281.83) ms281.88 ± (279.50 - 284.26) ms+0.9%✅⬆️
process.time_to_main_ms519.37 ± (518.05 - 520.70) ms520.90 ± (519.57 - 522.22) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.83 ± (37.80 - 37.86) MB37.85 ± (37.82 - 37.88) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.1%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration207.43 ± (208.62 - 210.77) ms204.92 ± (205.09 - 206.65) ms-1.2%
.NET Framework 4.8 - Bailout
duration210.40 ± (211.28 - 212.99) ms208.61 ± (209.14 - 210.76) ms-0.9%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1289.04 ± (1289.41 - 1298.80) ms1254.63 ± (1252.59 - 1258.70) ms-2.7%
.NET Core 3.1 - Baseline
process.internal_duration_ms198.76 ± (197.80 - 199.72) ms196.56 ± (195.91 - 197.22) ms-1.1%
process.time_to_main_ms86.05 ± (85.65 - 86.45) ms85.28 ± (84.94 - 85.63) ms-0.9%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.89 ± (15.87 - 15.91) MB16.00 ± (15.98 - 16.01) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.1%
.NET Core 3.1 - Bailout
process.internal_duration_ms199.66 ± (198.64 - 200.67) ms196.11 ± (195.47 - 196.75) ms-1.8%
process.time_to_main_ms87.82 ± (87.36 - 88.28) ms86.48 ± (86.14 - 86.83) ms-1.5%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.95 ± (15.93 - 15.97) MB16.04 ± (16.02 - 16.05) MB+0.5%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-1.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms384.20 ± (382.99 - 385.42) ms386.52 ± (385.30 - 387.75) ms+0.6%✅⬆️
process.time_to_main_ms583.62 ± (581.78 - 585.46) ms567.15 ± (565.56 - 568.73) ms-2.8%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.67 ± (58.57 - 58.77) MB58.89 ± (58.70 - 59.07) MB+0.4%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms203.76 ± (202.73 - 204.78) ms201.84 ± (201.11 - 202.57) ms-0.9%
process.time_to_main_ms74.97 ± (74.56 - 75.38) ms74.14 ± (73.79 - 74.48) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.24 ± (16.21 - 16.26) MB16.26 ± (16.24 - 16.28) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.5%
.NET 6 - Bailout
process.internal_duration_ms203.90 ± (202.90 - 204.89) ms200.99 ± (200.30 - 201.67) ms-1.4%
process.time_to_main_ms75.99 ± (75.60 - 76.39) ms75.16 ± (74.86 - 75.46) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.25 ± (16.23 - 16.27) MB16.34 ± (16.32 - 16.36) MB+0.6%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.2%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms572.03 ± (569.88 - 574.18) ms571.02 ± (568.64 - 573.41) ms-0.2%
process.time_to_main_ms574.79 ± (573.20 - 576.37) ms572.18 ± (570.67 - 573.69) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.83 ± (61.80 - 61.87) MB62.03 ± (62.00 - 62.06) MB+0.3%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.0%
.NET 8 - Baseline
process.internal_duration_ms202.82 ± (202.10 - 203.54) ms201.72 ± (201.11 - 202.33) ms-0.5%
process.time_to_main_ms74.52 ± (74.20 - 74.84) ms74.46 ± (74.11 - 74.81) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.55 ± (11.53 - 11.56) MB11.60 ± (11.58 - 11.61) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.2%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms202.61 ± (201.94 - 203.27) ms202.73 ± (202.09 - 203.37) ms+0.1%✅⬆️
process.time_to_main_ms75.98 ± (75.65 - 76.32) ms75.93 ± (75.64 - 76.23) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.64 ± (11.63 - 11.66) MB11.68 ± (11.66 - 11.69) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.2%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms499.97 ± (494.82 - 505.13) ms495.46 ± (491.31 - 499.60) ms-0.9%
process.time_to_main_ms534.20 ± (532.83 - 535.56) ms533.15 ± (531.91 - 534.39) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.62 ± (51.57 - 51.66) MB51.56 ± (51.52 - 51.61) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.4%
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 (8574) - mean (73ms)  : 70, 75
    master - mean (75ms)  : 70, 79

    section Bailout
    This PR (8574) - mean (79ms)  : 75, 84
    master - mean (80ms)  : 76, 84

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (1,133ms)  : 1071, 1194
    master - mean (1,128ms)  : 1081, 1174

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 (8574) - mean (118ms)  : 111, 125
    master - mean (117ms)  : 109, 125

    section Bailout
    This PR (8574) - mean (116ms)  : 111, 122
    master - mean (115ms)  : 112, 118

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (810ms)  : 781, 839
    master - mean (811ms)  : 780, 842

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8574) - mean (105ms)  : 99, 111
    master - mean (104ms)  : 99, 109

    section Bailout
    This PR (8574) - mean (103ms)  : 98, 107
    master - mean (103ms)  : 97, 108

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (949ms)  : 910, 989
    master - mean (946ms)  : 905, 987

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

    section Bailout
    This PR (8574) - mean (105ms)  : 100, 109
    master - mean (105ms)  : 100, 110

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (832ms)  : 790, 875
    master - mean (829ms)  : 787, 871

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 (8574) - mean (206ms)  : 194, 217
    master - mean (210ms)  : 194, 225

    section Bailout
    This PR (8574) - mean (210ms)  : 198, 222
    master - mean (212ms)  : 200, 224

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (1,256ms)  : 1212, 1299
    master - mean (1,294ms)  : 1223, 1366

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 (8574) - mean (292ms)  : 279, 305
    master - mean (296ms)  : 274, 319

    section Bailout
    This PR (8574) - mean (293ms)  : 278, 307
    master - mean (298ms)  : 277, 320

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (996ms)  : 969, 1023
    master - mean (1,012ms)  : 981, 1044

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8574) - mean (286ms)  : 267, 305
    master - mean (289ms)  : 269, 309

    section Bailout
    This PR (8574) - mean (286ms)  : 269, 303
    master - mean (292ms)  : 265, 319

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (1,174ms)  : 1119, 1229
    master - mean (1,180ms)  : 1135, 1225

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8574) - mean (288ms)  : 276, 301
    master - mean (289ms)  : 271, 308

    section Bailout
    This PR (8574) - mean (290ms)  : 275, 305
    master - mean (290ms)  : 274, 306

    section CallTarget+Inlining+NGEN
    This PR (8574) - mean (1,068ms)  : 995, 1140
    master - mean (1,069ms)  : 994, 1145

Loading

@pr-commenter

pr-commenter Bot commented May 6, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-11 16:11:50

Comparing candidate commit 261d2c2 in PR branch chrisnas/flacky_http_tests with baseline commit 4abf6b3 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.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0

Found 4 performance improvements and 2 performance regressions! Performance is the same for 48 metrics, 18 unstable metrics, 91 known flaky benchmarks, 35 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.StartActiveSpan net6.0

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

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

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

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

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

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟥 throughput [-70850.572op/s; -64042.763op/s] or [-48.130%; -43.505%]
  • 🟩 execution_time [-40.620ms; -25.690ms] or [-20.157%; -12.748%]

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

  • 🟥 throughput [-39889.961op/s; -35329.041op/s] or [-20.001%; -17.714%]

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

  • unstable execution_time [+14.275ms; +36.440ms] or [+11.528%; +29.429%]
  • unstable throughput [-50100.001op/s; -20138.537op/s] or [-23.060%; -9.269%]

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

  • unstable execution_time [+30.998ms; +61.493ms] or [+35.113%; +69.655%]

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

  • unstable execution_time [+9.407ms; +37.552ms] or [+6.562%; +26.196%]
  • unstable throughput [-39103.910op/s; -20859.900op/s] or [-24.320%; -12.973%]

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

  • unstable execution_time [+10.958ms; +36.150ms] or [+12.322%; +40.652%]

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

  • unstable execution_time [-59.414ms; -21.780ms] or [-33.014%; -12.103%]
  • unstable throughput [+17667.052op/s; +47437.050op/s] or [+12.790%; +34.341%]

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

  • unstable execution_time [-60.909ms; -31.000ms] or [-45.215%; -23.013%]

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

  • 🟩 throughput [+9697.182op/s; +11797.735op/s] or [+6.493%; +7.899%]

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

  • unstable execution_time [-13.102ms; +5.781ms] or [-8.689%; +3.834%]
  • unstable throughput [-5728.750op/s; +7905.849op/s] or [-4.367%; +6.027%]

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

  • unstable execution_time [+27.261ms; +66.571ms] or [+23.907%; +58.382%]

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

  • unstable execution_time [-40.621ms; -20.930ms] or [-26.101%; -13.448%]
  • 🟩 throughput [+9519.282op/s; +26281.294op/s] or [+5.436%; +15.008%]

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

  • unstable execution_time [-37.516ms; -13.078ms] or [-33.675%; -11.739%]

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

  • unstable execution_time [-5.194ms; +32.403ms] or [-3.677%; +22.941%]
  • unstable throughput [-21704.724op/s; +6529.732op/s] or [-12.219%; +3.676%]

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

  • unstable execution_time [-33.205ms; -9.485ms] or [-29.899%; -8.541%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]
  • unstable execution_time [+0.453ms; +17.181ms] or [+0.346%; +13.111%]

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

  • 🟩 throughput [+9331.047op/s; +11662.127op/s] or [+6.084%; +7.604%]

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

  • unstable execution_time [+9.924ms; +42.991ms] or [+7.852%; +34.013%]
  • unstable throughput [-8194.447op/s; +23972.676op/s] or [-5.483%; +16.041%]

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

  • unstable execution_time [+13.760ms; +35.169ms] or [+10.701%; +27.349%]
  • unstable throughput [-29297.025op/s; -9388.483op/s] or [-17.724%; -5.680%]

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

  • unstable execution_time [-36.492ms; -9.798ms] or [-33.423%; -8.974%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+5.487%; +5.496%]
  • unstable execution_time [-35.622ms; -13.490ms] or [-24.362%; -9.226%]
  • unstable throughput [+11536.948op/s; +30177.455op/s] or [+11.628%; +30.416%]

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

  • unstable execution_time [+9.327ms; +35.811ms] or [+10.732%; +41.204%]

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

  • unstable execution_time [-55.591ms; -28.386ms] or [-31.051%; -15.856%]
  • unstable throughput [+19064.965op/s; +31549.843op/s] or [+18.207%; +30.130%]

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

  • unstable execution_time [-23.257ms; +19.908ms] or [-17.076%; +14.617%]

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

  • unstable execution_time [+7.896ms; +26.970ms] or [+6.475%; +22.116%]
  • 🟥 throughput [-24332.283op/s; -9699.401op/s] or [-14.830%; -5.912%]

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

  • unstable execution_time [+8.298ms; +34.092ms] or [+9.434%; +38.757%]

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

  • unstable execution_time [-31.664ms; +3.663ms] or [-20.523%; +2.374%]
  • unstable throughput [-2297.087op/s; +23208.222op/s] or [-1.482%; +14.970%]

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

  • unstable execution_time [-33.070ms; -7.965ms] or [-30.221%; -7.279%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-7970.753op/s; -7126.788op/s] or [-9.451%; -8.450%]

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

  • 🟩 execution_time [-62.235ms; -44.733ms] or [-31.049%; -22.317%]
  • 🟥 throughput [-48985.489op/s; -39428.449op/s] or [-41.174%; -33.141%]

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

  • unstable execution_time [-71.619ms; -43.220ms] or [-36.022%; -21.738%]
  • 🟥 throughput [-7073.263op/s; -5789.676op/s] or [-7.192%; -5.887%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+315.025ms; +330.676ms] or [+156.327%; +164.093%]
  • 🟥 throughput [-54.700op/s; -41.952op/s] or [-9.842%; -7.548%]

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

  • 🟥 execution_time [+99.811ms; +101.210ms] or [+78.857%; +79.962%]
  • 🟩 throughput [+84.559op/s; +89.735op/s] or [+11.149%; +11.831%]

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

  • 🟥 execution_time [+84.753ms; +85.538ms] or [+75.003%; +75.697%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.528%; +27.540%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+9.299%; +9.310%]
  • 🟩 execution_time [-66.929ms; -47.986ms] or [-31.258%; -22.411%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-77.072ms; -59.163ms] or [-36.701%; -28.173%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-275410.813op/s; -269076.777op/s] or [-28.121%; -27.474%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-117.213ms; -112.248ms] or [-52.272%; -50.058%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • unstable execution_time [-47.975ms; -22.262ms] or [-23.947%; -11.112%]
  • 🟥 throughput [-122552.221op/s; -106139.056op/s] or [-17.608%; -15.250%]

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

  • 🟩 execution_time [-31.257ms; -14.777ms] or [-15.771%; -7.456%]
  • 🟥 throughput [-28997.841op/s; -15213.259op/s] or [-18.451%; -9.680%]

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

  • 🟩 execution_time [-71.360ms; -67.019ms] or [-36.382%; -34.169%]
  • 🟩 throughput [+10067.138op/s; +12728.267op/s] or [+8.020%; +10.140%]

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

  • 🟩 execution_time [-47.794ms; -28.572ms] or [-23.630%; -14.127%]
  • unstable throughput [-409128.834op/s; -77634.745op/s] or [-13.642%; -2.589%]

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

  • unstable execution_time [-45.814ms; -23.583ms] or [-21.119%; -10.871%]
  • 🟩 throughput [+135661.047op/s; +194818.399op/s] or [+5.385%; +7.733%]

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

  • 🟥 execution_time [+301.837ms; +316.308ms] or [+150.818%; +158.048%]

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

  • 🟥 execution_time [+129.465ms; +135.910ms] or [+65.289%; +68.540%]

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

  • unstable execution_time [+254.036ms; +290.742ms] or [+127.964%; +146.453%]

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

  • 🟥 execution_time [+297.655ms; +311.329ms] or [+146.196%; +152.912%]

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

  • unstable execution_time [+249.760ms; +271.293ms] or [+122.098%; +132.625%]

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

  • 🟥 execution_time [+302.458ms; +308.025ms] or [+151.168%; +153.951%]

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

  • 🟥 execution_time [+19.660µs; +43.338µs] or [+6.276%; +13.836%]
  • 🟥 throughput [-406.159op/s; -206.887op/s] or [-12.661%; -6.449%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.569ms; +301.522ms] or [+150.015%; +150.490%]

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

  • unstable execution_time [+351.521ms; +365.053ms] or [+381.942%; +396.646%]
  • 🟥 throughput [-6831.491op/s; -6645.121op/s] or [-56.135%; -54.604%]

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

  • unstable execution_time [+289.758ms; +321.814ms] or [+220.011%; +244.350%]
  • 🟥 throughput [-1265.299op/s; -1044.493op/s] or [-12.249%; -10.111%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+305.107ms; +322.155ms] or [+140.285%; +148.124%]
  • 🟥 throughput [-683.337op/s; -666.478op/s] or [-61.917%; -60.389%]

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

  • unstable execution_time [-50.735ms; +83.119ms] or [-21.621%; +35.422%]
  • 🟥 throughput [-709.471op/s; -618.054op/s] or [-47.322%; -41.224%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+337.703ms; +345.394ms] or [+201.985%; +206.586%]
  • 🟥 throughput [-736.012op/s; -701.648op/s] or [-51.247%; -48.855%]

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

  • 🟩 execution_time [-208.198µs; -198.219µs] or [-10.547%; -10.041%]
  • 🟩 throughput [+56.611op/s; +59.751op/s] or [+11.175%; +11.795%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+305.820ms; +318.640ms] or [+154.005%; +160.461%]

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

  • unstable execution_time [+178.434ms; +231.067ms] or [+89.414%; +115.788%]

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

  • 🟥 execution_time [+301.963ms; +309.700ms] or [+151.693%; +155.580%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+305.457ms; +319.367ms] or [+153.390%; +160.375%]

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

  • unstable execution_time [+149.301ms; +186.788ms] or [+73.823%; +92.358%]

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

  • 🟥 execution_time [+305.607ms; +313.112ms] or [+154.895%; +158.699%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+303.313ms; +315.909ms] or [+152.236%; +158.558%]

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

  • 🟥 execution_time [+304.190ms; +312.854ms] or [+151.611%; +155.929%]

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

  • 🟥 execution_time [+301.034ms; +306.764ms] or [+149.762%; +152.613%]

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

  • unstable execution_time [-100.675ms; -63.678ms] or [-46.814%; -29.611%]
  • unstable throughput [-78262.403op/s; -28651.055op/s] or [-21.470%; -7.860%]

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

  • 🟩 execution_time [-98.584ms; -94.636ms] or [-49.451%; -47.471%]

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

  • 🟩 allocated_mem [-20.437KB; -20.412KB] or [-7.455%; -7.446%]
  • unstable execution_time [-73.115µs; -19.754µs] or [-14.451%; -3.904%]

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

  • 🟩 allocated_mem [-17.666KB; -17.646KB] or [-6.440%; -6.433%]
  • 🟩 execution_time [-89.865µs; -33.120µs] or [-15.573%; -5.739%]
  • 🟩 throughput [+122.070op/s; +279.077op/s] or [+6.974%; +15.944%]

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

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

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

  • unstable execution_time [+2.599µs; +7.384µs] or [+6.143%; +17.453%]
  • 🟥 throughput [-3348.383op/s; -1336.817op/s] or [-14.096%; -5.628%]

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

  • unstable execution_time [-14.087µs; -5.147µs] or [-21.855%; -7.986%]
  • unstable throughput [+1483.168op/s; +3424.392op/s] or [+9.100%; +21.010%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+304.161ms; +318.288ms] or [+153.740%; +160.880%]

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

  • 🟥 execution_time [+297.364ms; +303.094ms] or [+151.357%; +154.274%]

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

  • 🟥 execution_time [+301.804ms; +307.408ms] or [+151.090%; +153.896%]

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

  • unstable execution_time [-76.326ms; -30.332ms] or [-38.151%; -15.161%]
  • unstable throughput [-164132.898op/s; -71801.287op/s] or [-31.067%; -13.590%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • unstable execution_time [-94.089ms; -70.016ms] or [-47.694%; -35.491%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+299.514ms; +313.476ms] or [+149.281%; +156.240%]

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

  • unstable execution_time [+264.975ms; +298.140ms] or [+133.058%; +149.712%]

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

  • 🟥 execution_time [+308.718ms; +315.272ms] or [+156.562%; +159.886%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.170ms; +300.976ms] or [+149.727%; +150.129%]
  • 🟩 throughput [+64756410.692op/s; +65065742.145op/s] or [+47.160%; +47.385%]

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

  • unstable execution_time [+367.716ms; +385.301ms] or [+457.321%; +479.190%]
  • 🟥 throughput [-7372.096op/s; -7129.244op/s] or [-56.990%; -55.113%]

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

  • 🟥 execution_time [+302.631ms; +306.058ms] or [+150.946%; +152.655%]
  • 🟥 throughput [-30709488.684op/s; -29147505.145op/s] or [-13.602%; -12.910%]

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

  • unstable execution_time [-93.623ms; -71.935ms] or [-45.855%; -35.233%]
  • unstable throughput [-90030.743op/s; +31178.626op/s] or [-8.406%; +2.911%]

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

  • unstable execution_time [-54.140ms; -26.403ms] or [-27.395%; -13.360%]

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

  • unstable execution_time [-68.286ms; -44.397ms] or [-35.578%; -23.131%]
  • unstable throughput [-254936.486op/s; -79666.526op/s] or [-19.733%; -6.166%]

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

  • unstable execution_time [-76.304ms; -49.121ms] or [-37.489%; -24.134%]
  • 🟩 throughput [+79743.419op/s; +88490.663op/s] or [+7.920%; +8.789%]

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

  • unstable execution_time [-69.411ms; -41.281ms] or [-34.663%; -20.616%]

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

  • unstable execution_time [-87.112ms; -65.126ms] or [-43.769%; -32.722%]

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

  • unstable execution_time [-57.699ms; -28.788ms] or [-28.860%; -14.399%]
  • unstable throughput [-331608.695op/s; -193876.430op/s] or [-37.049%; -21.661%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

  • unstable execution_time [-29.908ms; -6.886ms] or [-15.190%; -3.497%]

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.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • 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.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • 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.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

@chrisnas chrisnas changed the title Fix flacky tests possibly due to network errors [Profiler] Fix flacky tests possibly due to network errors May 19, 2026
@chrisnas
chrisnas merged commit 9886c12 into master May 19, 2026
80 of 83 checks passed
@chrisnas
chrisnas deleted the chrisnas/flacky_http_tests branch May 19, 2026 06:56
@github-actions github-actions Bot added this to the vNext-v3 milestone May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants