Skip to content

[SLES-2826] Reproducing AAS Restart Named Pipe Overlap Issue with Logs [Do Not Merge]#8632

Draft
Lewis-E wants to merge 3 commits into
masterfrom
lewis.lewis/aas-repro-diagnostics-dotnet
Draft

[SLES-2826] Reproducing AAS Restart Named Pipe Overlap Issue with Logs [Do Not Merge]#8632
Lewis-E wants to merge 3 commits into
masterfrom
lewis.lewis/aas-repro-diagnostics-dotnet

Conversation

@Lewis-E
Copy link
Copy Markdown
Contributor

@Lewis-E Lewis-E commented May 13, 2026

Adds [aas-repro]-prefixed Information/Warning logs at every state transition:
init (IIS Worker Process PID, AppDomain, pipe names, agent path), per-iteration
7-retry NeverChecked outcomes, the bad path (never_checked_exhausted), steady-
state poll signals, spawned child PID + exit code, and SequentialFailures count.
Adds NamedPipeIsBoundDiagnostic/GetMatchingProcessesDiagnostic helpers that log
on the TRUE branch (production helpers only log FALSE) and emit full
PID@StartTime list from Process.GetProcessesByName so orphan agents are visible.

For repro only — not for customer release.## Summary of changes

Reason for change

Implementation details

Test coverage

Other details

Lewis-E added 2 commits May 13, 2026 15:28
…ssification

Adds [aas-repro]-prefixed Information/Warning logs at every state transition:
init (IIS Worker Process PID, AppDomain, pipe names, agent path), per-iteration
7-retry NeverChecked outcomes, the bad path (never_checked_exhausted), steady-
state poll signals, spawned child PID + exit code, and SequentialFailures count.
Adds NamedPipeIsBoundDiagnostic/GetMatchingProcessesDiagnostic helpers that log
on the TRUE branch (production helpers only log FALSE) and emit full
PID@StartTime list from Process.GetProcessesByName so orphan agents are visible.

For repro only — not for customer release.
- Wrap int args in new object[] on spawned/start_success log calls to
  resolve CS0121 (int disambiguates as CallerLineNumber otherwise)
- Add #pragma warning disable/restore CA1837 around
  Process.GetCurrentProcess().Id (warnings-as-errors on net6.0)
@github-actions github-actions Bot added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label May 13, 2026
@Lewis-E Lewis-E changed the title [SLES-2826] Diagnosis Logs for AAS Restart Named Pipe Overlap Issue [Do Not Merge] [SLES-2826] Reproducing AAS Restart Named Pipe Overlap Issue with Logs [Do Not Merge] May 13, 2026
@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8632) 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.53 ± (72.45 - 72.83) ms73.29 ± (73.38 - 73.86) ms+1.0%✅⬆️
.NET Framework 4.8 - Bailout
duration78.88 ± (78.69 - 79.22) ms76.53 ± (76.45 - 76.81) ms-3.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1101.30 ± (1100.83 - 1107.78) ms1102.77 ± (1101.01 - 1108.03) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.39 ± (22.35 - 22.43) ms22.61 ± (22.56 - 22.65) ms+1.0%✅⬆️
process.time_to_main_ms83.82 ± (83.63 - 84.01) ms84.80 ± (84.58 - 85.03) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.92 - 10.92) MB10.92 ± (10.91 - 10.92) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.80 ± (22.75 - 22.85) ms22.37 ± (22.33 - 22.41) ms-1.9%
process.time_to_main_ms88.38 ± (88.08 - 88.68) ms85.36 ± (85.17 - 85.55) ms-3.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.88 - 10.88) MB10.94 ± (10.94 - 10.95) MB+0.6%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.71 ± (211.77 - 213.65) ms213.48 ± (212.61 - 214.35) ms+0.4%✅⬆️
process.time_to_main_ms537.00 ± (535.72 - 538.28) ms540.17 ± (538.80 - 541.54) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.41 ± (48.38 - 48.43) MB48.44 ± (48.41 - 48.46) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms21.37 ± (21.33 - 21.41) ms21.54 ± (21.48 - 21.60) ms+0.8%✅⬆️
process.time_to_main_ms74.28 ± (74.03 - 74.53) ms74.95 ± (74.67 - 75.22) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.64) MB10.64 ± (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.60 ± (21.55 - 21.66) ms21.43 ± (21.39 - 21.48) ms-0.8%
process.time_to_main_ms77.44 ± (77.19 - 77.69) ms76.14 ± (75.89 - 76.39) ms-1.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.75 - 10.75) MB10.75 ± (10.75 - 10.76) MB+0.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms375.86 ± (373.58 - 378.13) ms378.26 ± (376.00 - 380.53) ms+0.6%✅⬆️
process.time_to_main_ms539.08 ± (537.82 - 540.34) ms539.06 ± (537.72 - 540.41) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.79 ± (49.77 - 49.81) MB49.93 ± (49.91 - 49.96) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.35 ± (19.32 - 19.38) ms19.50 ± (19.46 - 19.53) ms+0.8%✅⬆️
process.time_to_main_ms72.06 ± (71.88 - 72.25) ms72.91 ± (72.72 - 73.09) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.69 ± (7.68 - 7.69) MB7.68 ± (7.68 - 7.69) MB-0.0%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.70 ± (19.66 - 19.75) ms19.80 ± (19.73 - 19.86) ms+0.5%✅⬆️
process.time_to_main_ms75.27 ± (75.03 - 75.51) ms76.39 ± (76.09 - 76.69) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.74) MB7.74 ± (7.74 - 7.75) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms291.88 ± (289.76 - 294.00) ms294.31 ± (292.21 - 296.40) ms+0.8%✅⬆️
process.time_to_main_ms497.89 ± (496.73 - 499.05) ms498.98 ± (497.75 - 500.20) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.94 ± (36.92 - 36.97) MB36.98 ± (36.95 - 37.01) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration201.46 ± (201.24 - 202.33) ms199.56 ± (198.88 - 199.88) ms-0.9%
.NET Framework 4.8 - Bailout
duration205.63 ± (205.01 - 206.04) ms202.50 ± (202.14 - 203.26) ms-1.5%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1202.91 ± (1202.06 - 1208.42) ms1200.24 ± (1200.18 - 1207.54) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms195.59 ± (195.03 - 196.15) ms194.60 ± (194.10 - 195.10) ms-0.5%
process.time_to_main_ms84.19 ± (83.85 - 84.52) ms84.00 ± (83.73 - 84.27) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.02 ± (16.00 - 16.05) MB16.08 ± (16.07 - 16.10) MB+0.4%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.5%
.NET Core 3.1 - Bailout
process.internal_duration_ms195.01 ± (194.55 - 195.46) ms194.79 ± (194.39 - 195.18) ms-0.1%
process.time_to_main_ms85.60 ± (85.30 - 85.89) ms85.34 ± (85.09 - 85.58) ms-0.3%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.13) MB16.11 ± (16.09 - 16.14) MB+0.1%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.6%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms389.46 ± (388.19 - 390.72) ms388.16 ± (386.97 - 389.36) ms-0.3%
process.time_to_main_ms535.18 ± (533.98 - 536.38) ms535.20 ± (534.06 - 536.35) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.40 ± (58.18 - 58.63) MB57.81 ± (57.58 - 58.04) MB-1.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 6 - Baseline
process.internal_duration_ms199.67 ± (199.17 - 200.16) ms199.68 ± (199.36 - 200.01) ms+0.0%✅⬆️
process.time_to_main_ms72.88 ± (72.56 - 73.20) ms73.53 ± (73.19 - 73.87) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.29 ± (16.27 - 16.32) MB16.31 ± (16.28 - 16.33) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms198.40 ± (198.01 - 198.80) ms198.75 ± (198.36 - 199.13) ms+0.2%✅⬆️
process.time_to_main_ms73.38 ± (73.19 - 73.56) ms73.87 ± (73.62 - 74.11) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.30 - 16.36) MB16.41 ± (16.38 - 16.44) MB+0.5%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-1.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms597.80 ± (595.34 - 600.25) ms593.47 ± (590.89 - 596.06) ms-0.7%
process.time_to_main_ms537.07 ± (536.12 - 538.03) ms537.41 ± (536.41 - 538.40) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.54 ± (61.45 - 61.63) MB61.36 ± (61.26 - 61.46) MB-0.3%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms198.21 ± (197.75 - 198.68) ms196.50 ± (196.00 - 197.00) ms-0.9%
process.time_to_main_ms72.57 ± (72.31 - 72.83) ms71.65 ± (71.40 - 71.89) ms-1.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.68) MB11.71 ± (11.69 - 11.73) MB+0.3%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.3%
.NET 8 - Bailout
process.internal_duration_ms197.65 ± (197.19 - 198.11) ms197.73 ± (197.16 - 198.31) ms+0.0%✅⬆️
process.time_to_main_ms73.76 ± (73.49 - 74.03) ms73.44 ± (73.19 - 73.69) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.69 ± (11.67 - 11.71) MB11.75 ± (11.73 - 11.77) MB+0.5%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.2%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.56 ± (513.81 - 519.31) ms518.95 ± (516.26 - 521.63) ms+0.5%✅⬆️
process.time_to_main_ms493.60 ± (492.87 - 494.33) ms494.48 ± (493.65 - 495.32) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.59 ± (50.55 - 50.63) MB50.64 ± (50.60 - 50.68) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.0%✅⬆️
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 (8632) - mean (74ms)  : 70, 77
    master - mean (73ms)  : 70, 75

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

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (1,105ms)  : 1053, 1156
    master - mean (1,104ms)  : 1056, 1153

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 (8632) - mean (114ms)  : 110, 119
    master - mean (113ms)  : 109, 117

    section Bailout
    This PR (8632) - mean (114ms)  : 112, 116
    master - mean (118ms)  : 113, 124

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (790ms)  : 768, 813
    master - mean (787ms)  : 759, 814

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

    section Bailout
    This PR (8632) - mean (104ms)  : 99, 109
    master - mean (106ms)  : 100, 111

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (949ms)  : 900, 998
    master - mean (946ms)  : 907, 986

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8632) - mean (100ms)  : 96, 104
    master - mean (99ms)  : 95, 103

    section Bailout
    This PR (8632) - mean (104ms)  : 98, 111
    master - mean (103ms)  : 98, 108

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (825ms)  : 788, 863
    master - mean (822ms)  : 788, 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 (8632) - mean (199ms)  : 192, 206
    master - mean (202ms)  : 194, 210

    section Bailout
    This PR (8632) - mean (203ms)  : 197, 209
    master - mean (206ms)  : 198, 213

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (1,204ms)  : 1150, 1258
    master - mean (1,205ms)  : 1159, 1251

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 (8632) - mean (287ms)  : 279, 295
    master - mean (288ms)  : 281, 295

    section Bailout
    This PR (8632) - mean (289ms)  : 283, 295
    master - mean (290ms)  : 283, 296

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (964ms)  : 944, 983
    master - mean (967ms)  : 941, 992

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

    section Bailout
    This PR (8632) - mean (281ms)  : 276, 285
    master - mean (280ms)  : 275, 285

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (1,161ms)  : 1117, 1204
    master - mean (1,163ms)  : 1117, 1208

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8632) - mean (278ms)  : 271, 285
    master - mean (281ms)  : 274, 289

    section Bailout
    This PR (8632) - mean (281ms)  : 274, 288
    master - mean (282ms)  : 275, 288

    section CallTarget+Inlining+NGEN
    This PR (8632) - mean (1,048ms)  : 1007, 1089
    master - mean (1,041ms)  : 997, 1085

Loading

When the IIS Worker Process exits, the OS closes its handles, the job
object's refcount drops to zero, and Windows kills datadog-trace-agent.exe
and dogstatsd.exe automatically. Prevents the orphan failure mode where
the agent survives its parent and holds the named pipe indefinitely,
locking new IIS Worker Processes out of starting their own agents.

Logs [aas-repro] job_object_create and job_object_assign so the behavior
is observable in the live repro and in production.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 14, 2026

Benchmarks

Benchmark execution time: 2026-05-14 19:03:54

Comparing candidate commit cbb197d in PR branch lewis.lewis/aas-repro-diagnostics-dotnet with baseline commit 9c344fa 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_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0

Found 6 performance improvements and 3 performance regressions! Performance is the same for 47 metrics, 16 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.StartSpan net472

  • 🟥 throughput [-11908.935op/s; -9750.011op/s] or [-6.391%; -5.232%]

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

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

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 net472

  • 🟥 throughput [-4982.132op/s; -4497.321op/s] or [-5.687%; -5.134%]

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

  • 🟥 throughput [-71647.311op/s; -65283.207op/s] or [-48.671%; -44.348%]
  • 🟩 execution_time [-40.289ms; -25.135ms] or [-19.993%; -12.473%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync netcoreapp3.1

  • 🟩 execution_time [-99.083ms; -96.925ms] or [-49.482%; -48.404%]

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

  • 🟩 execution_time [-96.122ms; -92.780ms] or [-48.918%; -47.217%]

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 [+3.153ms; +29.330ms] or [+2.300%; +21.393%]
  • unstable throughput [-26528.979op/s; -468.998op/s] or [-15.046%; -0.266%]

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

  • unstable execution_time [+30.018ms; +60.207ms] or [+32.999%; +66.184%]

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

  • unstable execution_time [-17.872ms; +29.129ms] or [-12.077%; +19.684%]
  • unstable throughput [-26876.362op/s; +1296.974op/s] or [-17.467%; +0.843%]

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

  • unstable execution_time [+11.120ms; +35.434ms] or [+12.434%; +39.618%]

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

  • unstable execution_time [+10.812ms; +48.604ms] or [+7.733%; +34.761%]
  • unstable throughput [-53062.191op/s; -29202.844op/s] or [-27.713%; -15.252%]

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

  • unstable execution_time [-18529.455µs; +17242.571µs] or [-16.590%; +15.438%]

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

  • unstable execution_time [-26.434ms; +6.846ms] or [-16.992%; +4.401%]
  • unstable throughput [-6047.653op/s; +13616.518op/s] or [-4.600%; +10.358%]

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

  • unstable execution_time [-18.946ms; +15.918ms] or [-16.512%; +13.873%]

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

  • unstable execution_time [-34.197ms; -2.429ms] or [-23.813%; -1.691%]
  • unstable throughput [+1052.013op/s; +23366.899op/s] or [+0.587%; +13.046%]

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

  • unstable execution_time [+32.164ms; +62.470ms] or [+37.235%; +72.320%]

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

  • unstable execution_time [-54.999ms; -18.769ms] or [-30.922%; -10.552%]
  • unstable throughput [+11525.473op/s; +39986.255op/s] or [+7.113%; +24.677%]

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

  • unstable execution_time [+13.433ms; +38.372ms] or [+15.502%; +44.283%]

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

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

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

  • unstable execution_time [-37.514ms; +1.512ms] or [-28.116%; +1.133%]

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

  • unstable execution_time [+22.105ms; +54.621ms] or [+17.593%; +43.471%]
  • unstable throughput [-25728.652op/s; -6344.518op/s] or [-16.294%; -4.018%]

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

  • unstable execution_time [-18.948ms; +15.385ms] or [-16.924%; +13.741%]

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

  • unstable execution_time [+14.539ms; +41.849ms] or [+10.473%; +30.144%]
  • unstable throughput [-22540.077op/s; +2428.971op/s] or [-14.018%; +1.511%]

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

  • unstable execution_time [-21.229ms; +23.677ms] or [-16.013%; +17.859%]

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

  • unstable execution_time [-29.830ms; -1.437ms] or [-20.828%; -1.004%]
  • unstable throughput [+3675.695op/s; +24619.410op/s] or [+3.573%; +23.929%]

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

  • unstable execution_time [+10.887ms; +37.218ms] or [+12.396%; +42.377%]

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

  • unstable execution_time [-28.746ms; -9.507ms] or [-18.040%; -5.966%]
  • unstable throughput [+5536.125op/s; +19208.518op/s] or [+4.810%; +16.688%]

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

  • unstable execution_time [+11.658ms; +36.909ms] or [+13.109%; +41.503%]

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

  • unstable execution_time [+45.397ms; +75.048ms] or [+36.892%; +60.989%]
  • unstable throughput [-70663.229op/s; -45723.653op/s] or [-40.685%; -26.326%]

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

  • unstable execution_time [+11.793ms; +37.157ms] or [+13.554%; +42.707%]

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

  • unstable execution_time [-50.676ms; -9.126ms] or [-30.072%; -5.415%]
  • unstable throughput [+17536.143op/s; +44031.600op/s] or [+11.654%; +29.263%]

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

  • unstable execution_time [+29.391ms; +59.942ms] or [+32.874%; +67.044%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-7437.693op/s; -6945.008op/s] or [-8.819%; -8.235%]

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

  • unstable execution_time [-72.368ms; -52.061ms] or [-36.105%; -25.973%]
  • unstable throughput [-41436.848op/s; -29357.516op/s] or [-34.829%; -24.676%]

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

  • unstable execution_time [-52.240ms; -24.699ms] or [-26.275%; -12.423%]
  • 🟥 throughput [-7212.175op/s; -5689.121op/s] or [-7.333%; -5.785%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+317.500ms; +334.460ms] or [+157.555%; +165.971%]
  • 🟥 throughput [-57.971op/s; -44.341op/s] or [-10.430%; -7.978%]

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

  • 🟥 execution_time [+98.640ms; +100.370ms] or [+77.932%; +79.298%]
  • 🟩 throughput [+87.727op/s; +94.202op/s] or [+11.567%; +12.420%]

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

  • 🟥 execution_time [+84.587ms; +86.869ms] or [+74.856%; +76.876%]

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 [-54.113ms; -33.485ms] or [-25.273%; -15.639%]
  • unstable throughput [-32362.134op/s; -17964.228op/s] or [-23.623%; -13.113%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-47.824ms; -26.945ms] or [-22.773%; -12.831%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-256682.859op/s; -251162.072op/s] or [-26.209%; -25.645%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • unstable execution_time [-90.333ms; -65.772ms] or [-40.284%; -29.332%]
  • unstable throughput [-272143.407op/s; -162396.930op/s] or [-29.073%; -17.349%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • unstable execution_time [-64.334ms; -40.819ms] or [-32.113%; -20.375%]
  • 🟥 throughput [-142173.979op/s; -126080.689op/s] or [-20.428%; -18.115%]

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

  • unstable execution_time [-25.434ms; -2.596ms] or [-12.833%; -1.310%]
  • unstable throughput [-38559.408op/s; -21901.292op/s] or [-24.535%; -13.935%]

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

  • 🟩 execution_time [-69.778ms; -65.804ms] or [-35.575%; -33.549%]
  • 🟩 throughput [+10326.546op/s; +12968.989op/s] or [+8.226%; +10.331%]

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

  • unstable execution_time [-60.469ms; -38.131ms] or [-29.898%; -18.853%]
  • unstable throughput [-356450.458op/s; -4879.265op/s] or [-11.886%; -0.163%]

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

  • 🟩 execution_time [-18.115ms; -13.457ms] or [-8.350%; -6.203%]
  • 🟩 throughput [+160373.614op/s; +221071.016op/s] or [+6.366%; +8.775%]

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

  • 🟥 execution_time [+301.081ms; +315.370ms] or [+150.440%; +157.580%]

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

  • unstable execution_time [+176.693ms; +225.009ms] or [+89.107%; +113.473%]

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

  • unstable execution_time [+254.644ms; +292.053ms] or [+128.270%; +147.114%]

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

  • 🟥 execution_time [+296.840ms; +310.540ms] or [+145.796%; +152.525%]

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

  • 🟥 execution_time [+241.677ms; +257.981ms] or [+118.147%; +126.118%]

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

  • 🟥 execution_time [+278.681ms; +294.129ms] or [+139.284%; +147.005%]

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

  • 🟥 execution_time [+23.756µs; +47.426µs] or [+7.584%; +15.141%]
  • 🟥 throughput [-440.169op/s; -241.044op/s] or [-13.721%; -7.514%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+300.100ms; +300.881ms] or [+149.781%; +150.170%]

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

  • unstable execution_time [+367.200ms; +380.272ms] or [+398.977%; +413.181%]
  • 🟥 throughput [-6927.038op/s; -6756.663op/s] or [-56.920%; -55.520%]

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

  • unstable execution_time [+237.929ms; +283.738ms] or [+180.657%; +215.440%]
  • 🟥 throughput [-1352.999op/s; -1118.441op/s] or [-13.098%; -10.827%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+296.955ms; +311.291ms] or [+136.537%; +143.129%]
  • 🟥 throughput [-688.023op/s; -671.132op/s] or [-62.342%; -60.811%]

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

  • unstable execution_time [-50.955ms; +82.930ms] or [-21.715%; +35.341%]
  • 🟥 throughput [-708.703op/s; -616.616op/s] or [-47.271%; -41.128%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+333.083ms; +342.564ms] or [+199.223%; +204.893%]
  • 🟥 throughput [-730.476op/s; -696.406op/s] or [-50.862%; -48.490%]

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

  • 🟩 execution_time [-151.837µs; -123.240µs] or [-7.692%; -6.243%]
  • 🟩 throughput [+34.146op/s; +42.554op/s] or [+6.741%; +8.401%]

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

  • 🟩 execution_time [-225.024µs; -212.232µs] or [-5.706%; -5.382%]
  • 🟩 throughput [+14.440op/s; +15.348op/s] or [+5.694%; +6.052%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+306.786ms; +320.624ms] or [+154.491%; +161.460%]

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

  • 🟥 execution_time [+241.247ms; +250.367ms] or [+120.889%; +125.459%]

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

  • 🟥 execution_time [+301.606ms; +307.988ms] or [+151.514%; +154.720%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+304.518ms; +318.624ms] or [+152.919%; +160.002%]

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

  • unstable execution_time [+223.688ms; +256.317ms] or [+110.604%; +126.737%]

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

  • 🟥 execution_time [+304.175ms; +311.191ms] or [+154.169%; +157.725%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+303.858ms; +314.665ms] or [+152.509%; +157.933%]

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

  • 🟥 execution_time [+303.578ms; +310.655ms] or [+151.306%; +154.833%]
  • 🟩 throughput [+51373.320op/s; +59445.496op/s] or [+10.201%; +11.804%]

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

  • 🟥 execution_time [+306.001ms; +312.059ms] or [+152.233%; +155.247%]

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

  • unstable execution_time [-52.892ms; -26.547ms] or [-24.595%; -12.345%]
  • unstable throughput [-164883.103op/s; -115562.789op/s] or [-45.232%; -31.702%]

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

  • 🟩 execution_time [-98.756ms; -94.784ms] or [-49.537%; -47.545%]

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

  • 🟩 allocated_mem [-20.421KB; -20.398KB] or [-7.449%; -7.441%]
  • unstable execution_time [-72.855µs; -17.119µs] or [-14.399%; -3.383%]
  • unstable throughput [+88.875op/s; +290.550op/s] or [+4.435%; +14.499%]

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

  • 🟩 allocated_mem [-17.744KB; -17.725KB] or [-6.468%; -6.462%]
  • 🟩 execution_time [-90.658µs; -33.887µs] or [-15.710%; -5.872%]
  • 🟩 throughput [+125.097op/s; +281.413op/s] or [+7.147%; +16.077%]

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

  • unstable execution_time [+4.483µs; +9.756µs] or [+10.596%; +23.059%]
  • 🟥 throughput [-4223.092op/s; -2175.828op/s] or [-17.778%; -9.160%]

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

  • unstable execution_time [-12.192µs; -2.182µs] or [-18.916%; -3.385%]
  • unstable throughput [+808.112op/s; +2815.942op/s] or [+4.958%; +17.277%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+303.916ms; +318.126ms] or [+153.616%; +160.798%]

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

  • unstable execution_time [+259.530ms; +283.445ms] or [+132.100%; +144.273%]

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

  • 🟥 execution_time [+300.550ms; +305.018ms] or [+150.462%; +152.699%]

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

  • unstable execution_time [-81.988ms; -53.730ms] or [-40.981%; -26.857%]
  • unstable throughput [-154451.387op/s; -78085.070op/s] or [-29.234%; -14.780%]

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

  • unstable execution_time [-31.604ms; -5.389ms] or [-16.020%; -2.732%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.062ms; +312.956ms] or [+149.554%; +155.980%]

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

  • 🟥 execution_time [+304.312ms; +311.005ms] or [+152.811%; +156.172%]

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

  • 🟥 execution_time [+306.840ms; +313.881ms] or [+155.610%; +159.180%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.359ms; +301.264ms] or [+149.820%; +150.272%]
  • 🟩 throughput [+41310236.598op/s; +54731373.103op/s] or [+30.085%; +39.859%]

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

  • unstable execution_time [+375.303ms; +387.032ms] or [+466.756%; +481.343%]
  • 🟥 throughput [-7411.813op/s; -7211.073op/s] or [-57.297%; -55.745%]

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

  • 🟥 execution_time [+300.676ms; +302.748ms] or [+149.970%; +151.004%]
  • 🟥 throughput [-30033354.403op/s; -28899280.891op/s] or [-13.303%; -12.800%]

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

  • unstable execution_time [-37.679ms; -16.472ms] or [-18.454%; -8.068%]
  • unstable throughput [-408202.494op/s; -281284.483op/s] or [-38.113%; -26.263%]

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

  • 🟩 execution_time [-102.302ms; -97.996ms] or [-51.766%; -49.587%]

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

  • unstable execution_time [-37.640ms; -2.265ms] or [-19.611%; -1.180%]
  • unstable throughput [-433761.889op/s; -230039.783op/s] or [-33.574%; -17.805%]

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

  • unstable execution_time [-94.402ms; -71.398ms] or [-46.381%; -35.079%]
  • 🟩 throughput [+83622.522op/s; +94125.348op/s] or [+8.305%; +9.348%]

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

  • unstable execution_time [-89.244ms; -69.137ms] or [-44.568%; -34.527%]
  • unstable throughput [-46163.825op/s; +15804.811op/s] or [-8.383%; +2.870%]

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

  • unstable execution_time [-52.567ms; -26.283ms] or [-26.412%; -13.206%]

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

  • unstable execution_time [-102.060ms; -77.334ms] or [-51.048%; -38.680%]
  • unstable throughput [-91912.303op/s; +33846.304op/s] or [-10.269%; +3.781%]

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

  • unstable execution_time [-30.149ms; -6.734ms] or [-15.312%; -3.420%]

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_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_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.ILoggerBenchmark.EnrichedLog net472
  • scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant