Skip to content

[Profiler] Add Flaky attribute#8648

Merged
gleocadie merged 5 commits into
masterfrom
gleocadie/add-flaky-attribute
May 20, 2026
Merged

[Profiler] Add Flaky attribute#8648
gleocadie merged 5 commits into
masterfrom
gleocadie/add-flaky-attribute

Conversation

@gleocadie

@gleocadie gleocadie commented May 15, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Add Flaky attribute to restart flaky tests.

Reason for change

Exceptions integration tests on aarch64 are flaky (stack comparison). This is caused by truncated stacks and the current state of the ManagedCodeCache.

Implementation details

Add FlakyAttribute and add it on Exceptions integration tests.

Test coverage

Other details

@gleocadie
gleocadie requested a review from a team as a code owner May 15, 2026 12:41
@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label May 15, 2026
@dd-trace-dotnet-ci-bot

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

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8648) 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.01 ± (72.06 - 72.36) ms72.20 ± (72.25 - 72.64) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration78.07 ± (78.02 - 78.54) ms79.27 ± (79.08 - 79.63) ms+1.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1106.15 ± (1105.39 - 1112.16) ms1113.57 ± (1113.99 - 1124.63) ms+0.7%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.58 ± (22.53 - 22.63) ms22.65 ± (22.59 - 22.70) ms+0.3%✅⬆️
process.time_to_main_ms84.64 ± (84.37 - 84.91) ms86.23 ± (85.92 - 86.54) ms+1.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.92) MB10.93 ± (10.92 - 10.93) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.68 ± (22.63 - 22.74) ms22.57 ± (22.52 - 22.63) ms-0.5%
process.time_to_main_ms88.37 ± (88.09 - 88.66) ms87.59 ± (87.34 - 87.85) ms-0.9%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.96) MB10.96 ± (10.95 - 10.96) MB+0.0%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms213.37 ± (212.47 - 214.27) ms212.68 ± (212.01 - 213.36) ms-0.3%
process.time_to_main_ms541.80 ± (540.37 - 543.24) ms540.54 ± (539.09 - 541.99) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.41 ± (48.38 - 48.44) MB48.53 ± (48.50 - 48.55) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.48 ± (21.43 - 21.53) ms21.72 ± (21.65 - 21.79) ms+1.1%✅⬆️
process.time_to_main_ms75.56 ± (75.26 - 75.85) ms76.23 ± (75.87 - 76.59) ms+0.9%✅⬆️
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.64) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.46 ± (21.41 - 21.51) ms21.20 ± (21.15 - 21.25) ms-1.2%
process.time_to_main_ms77.03 ± (76.78 - 77.27) ms74.66 ± (74.47 - 74.86) ms-3.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.75 - 10.75) MB10.75 ± (10.74 - 10.75) MB-0.0%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms368.94 ± (366.94 - 370.94) ms367.11 ± (365.30 - 368.93) ms-0.5%
process.time_to_main_ms549.35 ± (547.93 - 550.76) ms548.43 ± (547.05 - 549.80) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.93 ± (49.91 - 49.95) MB50.02 ± (49.99 - 50.04) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.41 ± (19.37 - 19.45) ms19.46 ± (19.41 - 19.51) ms+0.3%✅⬆️
process.time_to_main_ms72.31 ± (72.16 - 72.47) ms73.19 ± (72.91 - 73.47) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.67 - 7.67) MB7.69 ± (7.68 - 7.69) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.74 ± (19.69 - 19.79) ms19.67 ± (19.61 - 19.72) ms-0.4%
process.time_to_main_ms76.08 ± (75.82 - 76.35) ms76.19 ± (75.94 - 76.45) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.74 ± (7.73 - 7.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms295.08 ± (292.83 - 297.32) ms295.59 ± (293.36 - 297.83) ms+0.2%✅⬆️
process.time_to_main_ms496.07 ± (494.94 - 497.20) ms495.89 ± (494.66 - 497.11) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.91 ± (36.87 - 36.94) MB36.92 ± (36.90 - 36.95) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.6%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration200.60 ± (199.91 - 200.94) ms199.10 ± (198.92 - 199.79) ms-0.7%
.NET Framework 4.8 - Bailout
duration203.78 ± (203.54 - 204.53) ms202.80 ± (202.33 - 203.27) ms-0.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1200.58 ± (1200.63 - 1206.14) ms1196.70 ± (1197.06 - 1203.03) ms-0.3%
.NET Core 3.1 - Baseline
process.internal_duration_ms194.93 ± (194.46 - 195.40) ms192.76 ± (192.25 - 193.27) ms-1.1%
process.time_to_main_ms84.28 ± (83.96 - 84.60) ms83.36 ± (83.12 - 83.60) ms-1.1%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.17 ± (16.14 - 16.19) MB16.08 ± (16.06 - 16.10) MB-0.6%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms196.05 ± (195.44 - 196.66) ms193.73 ± (193.25 - 194.21) ms-1.2%
process.time_to_main_ms85.68 ± (85.37 - 86.00) ms84.83 ± (84.51 - 85.15) ms-1.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.19 ± (16.17 - 16.21) MB16.08 ± (16.05 - 16.10) MB-0.7%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.9%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms390.18 ± (388.61 - 391.75) ms385.28 ± (383.94 - 386.62) ms-1.3%
process.time_to_main_ms539.75 ± (538.37 - 541.12) ms537.21 ± (535.54 - 538.88) ms-0.5%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.02 ± (57.78 - 58.25) MB57.40 ± (57.22 - 57.58) MB-1.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.5%
.NET 6 - Baseline
process.internal_duration_ms199.98 ± (199.52 - 200.44) ms198.35 ± (197.88 - 198.83) ms-0.8%
process.time_to_main_ms73.10 ± (72.80 - 73.40) ms72.23 ± (72.00 - 72.46) ms-1.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.25 ± (16.22 - 16.28) MB16.37 ± (16.35 - 16.39) MB+0.7%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.6%
.NET 6 - Bailout
process.internal_duration_ms199.23 ± (198.74 - 199.73) ms198.12 ± (197.65 - 198.60) ms-0.6%
process.time_to_main_ms73.92 ± (73.69 - 74.14) ms73.47 ± (73.25 - 73.69) ms-0.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.31 ± (16.28 - 16.34) MB16.41 ± (16.39 - 16.44) MB+0.6%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.7%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms590.36 ± (587.93 - 592.79) ms584.35 ± (581.87 - 586.82) ms-1.0%
process.time_to_main_ms542.22 ± (540.86 - 543.58) ms544.20 ± (543.16 - 545.23) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.24 ± (61.11 - 61.36) MB61.20 ± (61.10 - 61.30) MB-0.1%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms197.18 ± (196.71 - 197.65) ms197.32 ± (196.91 - 197.74) ms+0.1%✅⬆️
process.time_to_main_ms71.94 ± (71.74 - 72.15) ms72.25 ± (71.97 - 72.52) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.62 ± (11.60 - 11.64) MB11.70 ± (11.68 - 11.71) MB+0.6%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)18 ± (18 - 18)-0.9%
.NET 8 - Bailout
process.internal_duration_ms196.07 ± (195.65 - 196.48) ms196.57 ± (196.02 - 197.12) ms+0.3%✅⬆️
process.time_to_main_ms72.89 ± (72.69 - 73.08) ms73.07 ± (72.86 - 73.28) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.71 ± (11.69 - 11.73) MB11.73 ± (11.70 - 11.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 20)+1.1%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.28 ± (513.39 - 519.17) ms513.79 ± (511.24 - 516.33) ms-0.5%
process.time_to_main_ms492.99 ± (492.14 - 493.84) ms494.82 ± (494.00 - 495.65) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.57 ± (50.53 - 50.61) MB50.63 ± (50.59 - 50.67) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (29 - 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 (8648) - mean (72ms)  : 69, 75
    master - mean (72ms)  : 70, 74

    section Bailout
    This PR (8648) - mean (79ms)  : 75, 84
    master - mean (78ms)  : 74, 82

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (1,119ms)  : 1037, 1202
    master - mean (1,109ms)  : 1061, 1157

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 (8648) - mean (116ms)  : 110, 121
    master - mean (114ms)  : 110, 119

    section Bailout
    This PR (8648) - mean (117ms)  : 112, 123
    master - mean (118ms)  : 113, 123

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (790ms)  : 758, 821
    master - mean (792ms)  : 763, 822

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8648) - mean (105ms)  : 95, 115
    master - mean (104ms)  : 98, 110

    section Bailout
    This PR (8648) - mean (102ms)  : 98, 106
    master - mean (105ms)  : 100, 111

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (945ms)  : 913, 976
    master - mean (949ms)  : 916, 983

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

    section Bailout
    This PR (8648) - mean (104ms)  : 99, 108
    master - mean (104ms)  : 99, 108

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (822ms)  : 775, 868
    master - mean (821ms)  : 779, 863

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 (8648) - mean (199ms)  : 193, 206
    master - mean (200ms)  : 194, 207

    section Bailout
    This PR (8648) - mean (203ms)  : 198, 208
    master - mean (204ms)  : 199, 209

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (1,200ms)  : 1157, 1243
    master - mean (1,203ms)  : 1164, 1243

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 (8648) - mean (285ms)  : 274, 296
    master - mean (288ms)  : 282, 294

    section Bailout
    This PR (8648) - mean (288ms)  : 281, 295
    master - mean (291ms)  : 283, 298

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (964ms)  : 945, 983
    master - mean (969ms)  : 947, 992

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8648) - mean (279ms)  : 270, 289
    master - mean (282ms)  : 275, 289

    section Bailout
    This PR (8648) - mean (280ms)  : 270, 290
    master - mean (281ms)  : 275, 288

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (1,159ms)  : 1121, 1198
    master - mean (1,161ms)  : 1131, 1192

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8648) - mean (280ms)  : 272, 288
    master - mean (279ms)  : 271, 287

    section Bailout
    This PR (8648) - mean (280ms)  : 274, 286
    master - mean (279ms)  : 274, 284

    section CallTarget+Inlining+NGEN
    This PR (8648) - mean (1,042ms)  : 1006, 1078
    master - mean (1,041ms)  : 1000, 1083

Loading

@pr-commenter

pr-commenter Bot commented May 15, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-05-20 08:19:53

Comparing candidate commit 2b41806 in PR branch gleocadie/add-flaky-attribute with baseline commit a65b16e 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_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472

Found 3 performance improvements and 5 performance regressions! Performance is the same for 45 metrics, 19 unstable metrics, 84 known flaky benchmarks, 42 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 [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • 🟥 throughput [-29350.626op/s; -14352.766op/s] or [-16.053%; -7.850%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.321%; -7.312%]

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

  • 🟥 throughput [-70050.648op/s; -62632.003op/s] or [-47.587%; -42.547%]
  • 🟩 execution_time [-43.934ms; -27.818ms] or [-21.802%; -13.805%]

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

  • 🟥 throughput [-43449.079op/s; -39030.993op/s] or [-21.785%; -19.570%]
  • 🟩 execution_time [-78.910ms; -74.851ms] or [-39.907%; -37.854%]

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 [+8.632ms; +48.455ms] or [+5.725%; +32.137%]
  • unstable throughput [-39489.084op/s; -5806.226op/s] or [-23.648%; -3.477%]

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

  • unstable execution_time [-58.811ms; -29.392ms] or [-43.215%; -21.598%]

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

  • unstable execution_time [-1.654ms; +24.242ms] or [-1.175%; +17.218%]
  • unstable throughput [-22846.696op/s; -751.369op/s] or [-15.000%; -0.493%]

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

  • unstable execution_time [-34.633ms; -10.599ms] or [-31.170%; -9.539%]

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

  • unstable execution_time [-32.347ms; -11.011ms] or [-21.368%; -7.274%]

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

  • unstable execution_time [-40.118ms; -1.224ms] or [-29.791%; -0.909%]

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

  • unstable execution_time [+16.982ms; +47.734ms] or [+11.393%; +32.025%]
  • unstable throughput [-31024.647op/s; -12163.121op/s] or [-23.496%; -9.211%]

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

  • unstable execution_time [-33.564ms; -14.745ms] or [-22.679%; -9.963%]

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

  • unstable execution_time [+8.795ms; +34.445ms] or [+9.928%; +38.881%]

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

  • unstable execution_time [-9.475ms; +30.994ms] or [-6.102%; +19.959%]
  • unstable throughput [-21524.122op/s; +11176.013op/s] or [-13.293%; +6.902%]

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

  • unstable execution_time [+55.432ms; +85.557ms] or [+63.943%; +98.693%]

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

  • unstable execution_time [-27.616ms; +13.009ms] or [-16.644%; +7.841%]
  • unstable throughput [-5098.662op/s; +23956.816op/s] or [-3.363%; +15.802%]

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

  • unstable execution_time [-29.781ms; -4.928ms] or [-26.959%; -4.461%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-7.698%; -7.691%]
  • unstable execution_time [+2.367ms; +26.320ms] or [+1.746%; +19.420%]
  • unstable throughput [-17386.863op/s; -1284.954op/s] or [-11.539%; -0.853%]

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

  • unstable execution_time [+10.239ms; +35.191ms] or [+11.671%; +40.111%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]
  • unstable execution_time [+11.310ms; +44.496ms] or [+9.010%; +35.449%]
  • unstable throughput [-29221.338op/s; -8714.257op/s] or [-17.209%; -5.132%]

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 [-40.804ms; -16.476ms] or [-25.985%; -10.492%]
  • unstable throughput [+4942.496op/s; +23281.063op/s] or [+5.109%; +24.064%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-6.927%; -6.920%]
  • unstable execution_time [-12.091ms; +4.001ms] or [-8.168%; +2.703%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-8.741%; -8.734%]
  • unstable execution_time [-15.701ms; +12.700ms] or [-10.170%; +8.226%]
  • unstable throughput [-23414.204op/s; -2339.913op/s] or [-15.981%; -1.597%]

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

  • unstable execution_time [+10.544ms; +34.795ms] or [+11.844%; +39.085%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-5184.892op/s; -4716.212op/s] or [-6.148%; -5.592%]

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

  • unstable execution_time [-26.978ms; +9.733ms] or [-13.459%; +4.856%]
  • unstable throughput [-61321.086op/s; -46955.587op/s] or [-51.543%; -39.468%]

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

  • unstable execution_time [-71.957ms; -44.074ms] or [-36.192%; -22.168%]
  • 🟥 throughput [-6594.435op/s; -5465.586op/s] or [-6.705%; -5.557%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+320.465ms; +335.151ms] or [+159.026%; +166.314%]
  • 🟥 throughput [-52.676op/s; -41.696op/s] or [-9.477%; -7.502%]

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

  • 🟥 execution_time [+99.297ms; +102.351ms] or [+78.451%; +80.864%]
  • 🟩 throughput [+80.834op/s; +91.868op/s] or [+10.658%; +12.113%]

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

  • 🟥 execution_time [+83.393ms; +84.204ms] or [+73.799%; +74.517%]

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 [-78.852ms; -62.210ms] or [-36.827%; -29.054%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-78.652ms; -60.979ms] or [-37.453%; -29.038%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-266223.745op/s; -260549.490op/s] or [-27.183%; -26.603%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • unstable execution_time [-92.773ms; -66.417ms] or [-41.373%; -29.619%]
  • unstable throughput [-255616.142op/s; -141846.118op/s] or [-27.308%; -15.154%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟩 execution_time [-88.219ms; -83.270ms] or [-44.035%; -41.565%]
  • 🟥 throughput [-130504.144op/s; -114506.782op/s] or [-18.751%; -16.452%]

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

  • 🟩 execution_time [-42.603ms; -23.543ms] or [-21.495%; -11.879%]

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

  • 🟩 execution_time [-47.653ms; -28.292ms] or [-24.295%; -14.424%]
  • 🟩 throughput [+10525.535op/s; +13218.016op/s] or [+8.385%; +10.530%]

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

  • unstable execution_time [-37.705ms; -13.928ms] or [-18.642%; -6.886%]
  • unstable throughput [-570837.190op/s; -188080.439op/s] or [-19.034%; -6.271%]

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

  • 🟩 execution_time [-43.395ms; -22.448ms] or [-20.004%; -10.348%]
  • 🟩 throughput [+155734.680op/s; +216284.412op/s] or [+6.182%; +8.585%]

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

  • 🟥 execution_time [+300.418ms; +314.313ms] or [+150.109%; +157.051%]

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

  • unstable execution_time [+175.325ms; +222.635ms] or [+88.417%; +112.275%]

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

  • unstable execution_time [+215.409ms; +261.926ms] or [+108.506%; +131.938%]

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

  • 🟥 execution_time [+298.029ms; +311.527ms] or [+146.380%; +153.010%]

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

  • 🟥 execution_time [+256.838ms; +275.693ms] or [+125.558%; +134.776%]

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

  • 🟥 execution_time [+277.850ms; +292.001ms] or [+138.869%; +145.941%]

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

  • 🟥 execution_time [+20.406µs; +44.088µs] or [+6.514%; +14.075%]
  • 🟥 throughput [-412.436op/s; -213.156op/s] or [-12.857%; -6.645%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.096ms; +300.990ms] or [+149.779%; +150.225%]

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

  • unstable execution_time [+349.920ms; +362.611ms] or [+380.202%; +393.992%]
  • 🟥 throughput [-7035.961op/s; -6855.108op/s] or [-57.815%; -56.329%]

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

  • unstable execution_time [+321.997ms; +359.513ms] or [+244.490%; +272.975%]
  • 🟥 throughput [-1781.272op/s; -1545.304op/s] or [-17.244%; -14.960%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+295.191ms; +309.370ms] or [+135.726%; +142.245%]
  • 🟥 throughput [-680.162op/s; -663.345op/s] or [-61.629%; -60.106%]

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

  • unstable execution_time [-1.898ms; +143.467ms] or [-0.809%; +61.140%]
  • 🟥 throughput [-709.823op/s; -616.382op/s] or [-47.345%; -41.113%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+340.119ms; +349.415ms] or [+203.431%; +208.991%]
  • 🟥 throughput [-727.995op/s; -693.344op/s] or [-50.689%; -48.277%]

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

  • 🟩 execution_time [-203.577µs; -191.176µs] or [-10.312%; -9.684%]
  • 🟩 throughput [+54.401op/s; +58.315op/s] or [+10.739%; +11.512%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1

  • 🟩 execution_time [-226.795µs; -210.305µs] or [-5.751%; -5.333%]
  • 🟩 throughput [+14.306op/s; +15.484op/s] or [+5.641%; +6.106%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+303.953ms; +318.556ms] or [+153.065%; +160.419%]

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

  • 🟥 execution_time [+237.670ms; +255.926ms] or [+119.097%; +128.245%]

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

  • 🟥 execution_time [+300.557ms; +306.734ms] or [+150.987%; +154.090%]
  • 🟩 throughput [+25314.911op/s; +34256.270op/s] or [+5.333%; +7.216%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+304.173ms; +318.312ms] or [+152.746%; +159.846%]

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

  • unstable execution_time [+142.707ms; +183.361ms] or [+70.562%; +90.664%]

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

  • 🟥 execution_time [+304.217ms; +312.098ms] or [+154.190%; +158.185%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+306.264ms; +317.224ms] or [+153.717%; +159.218%]

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

  • 🟥 execution_time [+305.417ms; +313.498ms] or [+152.222%; +156.250%]
  • 🟩 throughput [+37306.892op/s; +50050.999op/s] or [+7.408%; +9.939%]

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

  • 🟥 execution_time [+298.108ms; +304.958ms] or [+148.306%; +151.714%]

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

  • unstable execution_time [-53.986ms; -30.015ms] or [-25.104%; -13.957%]
  • unstable throughput [-161676.293op/s; -119434.207op/s] or [-44.352%; -32.764%]

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

  • unstable execution_time [-52.166ms; -23.531ms] or [-26.167%; -11.804%]

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

  • 🟩 allocated_mem [-17.446KB; -17.423KB] or [-6.364%; -6.356%]
  • unstable execution_time [-48.576µs; +7.091µs] or [-9.601%; +1.401%]

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

  • unstable execution_time [+4.635µs; +10.336µs] or [+10.955%; +24.431%]
  • 🟥 throughput [-4333.108op/s; -2227.347op/s] or [-18.241%; -9.376%]

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

  • unstable execution_time [-13.040µs; -3.558µs] or [-20.232%; -5.519%]
  • unstable throughput [+1105.747op/s; +3095.663op/s] or [+6.784%; +18.993%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.074ms; +314.691ms] or [+152.685%; +159.062%]

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

  • 🟥 execution_time [+300.392ms; +306.331ms] or [+152.899%; +155.921%]

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

  • 🟥 execution_time [+300.623ms; +304.981ms] or [+150.499%; +152.681%]

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

  • unstable execution_time [-57.203ms; -29.903ms] or [-28.593%; -14.947%]
  • unstable throughput [-213367.020op/s; -139554.250op/s] or [-40.386%; -26.415%]

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

  • unstable execution_time [-77.735ms; -47.307ms] or [-39.404%; -23.980%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.094ms; +316.168ms] or [+150.567%; +157.581%]

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

  • unstable execution_time [+194.767ms; +252.965ms] or [+97.803%; +127.027%]

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

  • 🟥 execution_time [+306.745ms; +312.688ms] or [+155.562%; +158.575%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+299.987ms; +300.846ms] or [+149.635%; +150.064%]
  • 🟩 throughput [+59980456.011op/s; +60323092.691op/s] or [+43.681%; +43.931%]

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

  • unstable execution_time [+375.032ms; +384.955ms] or [+466.419%; +478.760%]
  • 🟥 throughput [-7534.704op/s; -7342.805op/s] or [-58.247%; -56.764%]

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

  • 🟥 execution_time [+302.068ms; +303.365ms] or [+150.665%; +151.311%]
  • 🟥 throughput [-29872943.335op/s; -28853977.567op/s] or [-13.232%; -12.780%]

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

  • unstable execution_time [-49.615ms; -12.615ms] or [-24.301%; -6.179%]
  • unstable throughput [-372956.335op/s; -197584.099op/s] or [-34.822%; -18.448%]

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

  • unstable execution_time [-72.471ms; -46.446ms] or [-36.671%; -23.502%]

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

  • unstable execution_time [-32.798ms; +6.566ms] or [-17.088%; +3.421%]
  • unstable throughput [-444452.875op/s; -233143.527op/s] or [-34.401%; -18.046%]

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

  • unstable execution_time [-91.902ms; -69.560ms] or [-45.153%; -34.176%]
  • 🟩 throughput [+87159.603op/s; +98167.755op/s] or [+8.656%; +9.750%]

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

  • unstable execution_time [-85.460ms; -52.140ms] or [-42.678%; -26.039%]
  • unstable throughput [-58969.125op/s; +21633.873op/s] or [-10.708%; +3.928%]

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

  • unstable execution_time [-52.606ms; -26.138ms] or [-26.431%; -13.133%]

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

  • unstable execution_time [-71.275ms; -32.215ms] or [-35.650%; -16.113%]
  • unstable throughput [-124138.849op/s; +15983.336op/s] or [-13.869%; +1.786%]

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

  • unstable execution_time [-54.310ms; -25.398ms] or [-27.583%; -12.899%]

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_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • 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_AddEvent_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled 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.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark 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

@gleocadie
gleocadie force-pushed the gleocadie/add-flaky-attribute branch from 653364c to bd2f341 Compare May 20, 2026 07:04

@chrisnas chrisnas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a comment to change + test to add (just in case)

Comment thread profiler/test/Datadog.Profiler.IntegrationTests/Xunit/FlakyAttribute.cs Outdated
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 4 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-dotnet | Ubuntu_20_amd64.SI94: [test-app-dotnet-container]   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). 1 failed test. AssertionError: _container_tags_validator failed to validate trace_id: 46948780994605977 at tests/auto_inject/utils.py:79.

DataDog/apm-reliability/dd-trace-dotnet | Ubuntu_23_10_arm64.SI94: [test-app-dotnet-container]   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). AssertionError: _container_tags_validator failed to validate trace_id: 33614603051750599 in test_origin_detection at tests/auto_inject/test_auto_inject_install.py:255

DataDog/apm-reliability/dd-trace-dotnet | Ubuntu_24_10_amd64.SI94: [test-app-dotnet-container]   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). AssertionError: _container_tags_validator failed to validate trace_id: 706747642555579 at tests/auto_inject/utils.py:79

View all 4 failed jobs.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 2b41806 | Docs | Datadog PR Page | Give us feedback!

@gleocadie
gleocadie merged commit 6bb7fc9 into master May 20, 2026
142 of 146 checks passed
@gleocadie
gleocadie deleted the gleocadie/add-flaky-attribute branch May 20, 2026 08:59
@github-actions github-actions Bot added this to the vNext-v3 milestone May 20, 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.

2 participants