Skip to content

Refactor remote config for ASM to fix missing config#8630

Open
andrewlock wants to merge 1 commit into
masterfrom
andrew/rcm-caching-issue
Open

Refactor remote config for ASM to fix missing config#8630
andrewlock wants to merge 1 commit into
masterfrom
andrew/rcm-caching-issue

Conversation

@andrewlock
Copy link
Copy Markdown
Member

@andrewlock andrewlock commented May 13, 2026

Summary of changes

  • Fix incorrect behaviour in ASM remote config application, caused by incorrect assumptions of RCM behaviour
  • Refactoring to avoid unbounded collection growth
  • Associated refactoring to "simplify" (none of this is simple 😅)

Reason for change

ReceivedNewConfig() is responsible for "remembering" ASM config it receives when ASM is disabled, so that they can be applied if/when ASM is enabled via remote config. ReceivedNewConfig() was explictily clearing pending updates and removes as it assumed that when we receive the "full" config each time, but that's not the case. Consequently, it means that you'd "lose" any previous config when a new incremental update came in.

The "simple" fix is to stop clearing those collections. But that gives other problems:

  • You have an unbounded growth of the updates/removes
  • You have to handle updates coming in one config, then removed in other

Consequently, a larger refactor was required.

Implementation details

  • Added a bunch of comments to try to track the flow a bit better, this stuff is super confusing 😅
  • Combine _fileUpdates and _fileRemoves into a single dictionary _pendingByProduct, to make tracking update then delete then update changes more easily without needing to search lists.
  • Don't clear the collection of previous configs in ReceivedNewConfig(). This was the original bug.
  • Switch to dictionary's for de-duping Path instead of lists (required, because we're not clearing each call, so duplicates are possible/likely, and could grow unbounded)
  • Rename GetWafConfigurations -> BuildWafUpdatePayload because this mutates the _pendingByProduct collection

For the record, this is like the 5th iteration of this code, it's really not nice to work with 😅

Test coverage

Added some regression tests, because there were none at all before. Can't guarantee all the invariants are correct though unfortunately given the lack of existing tests 😟

@andrewlock andrewlock force-pushed the andrew/rcm-caching-issue branch from 9964a31 to 5409973 Compare May 14, 2026 12:25
@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8630) 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) ms72.62 ± (72.71 - 73.06) ms+0.1%✅⬆️
.NET Framework 4.8 - Bailout
duration78.88 ± (78.69 - 79.22) ms76.26 ± (76.11 - 76.45) ms-3.3%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1101.30 ± (1100.83 - 1107.78) ms1105.03 ± (1105.86 - 1113.37) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.39 ± (22.35 - 22.43) ms22.48 ± (22.43 - 22.52) ms+0.4%✅⬆️
process.time_to_main_ms83.82 ± (83.63 - 84.01) ms84.21 ± (84.01 - 84.41) ms+0.5%✅⬆️
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.62 ± (22.56 - 22.68) ms-0.8%
process.time_to_main_ms88.38 ± (88.08 - 88.68) ms87.51 ± (87.20 - 87.83) ms-1.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.88 - 10.88) MB10.95 ± (10.95 - 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) ms214.27 ± (213.42 - 215.12) ms+0.7%✅⬆️
process.time_to_main_ms537.00 ± (535.72 - 538.28) ms539.08 ± (537.71 - 540.46) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.41 ± (48.38 - 48.43) MB48.30 ± (48.27 - 48.33) MB-0.2%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.9%
.NET 6 - Baseline
process.internal_duration_ms21.37 ± (21.33 - 21.41) ms21.25 ± (21.20 - 21.30) ms-0.6%
process.time_to_main_ms74.28 ± (74.03 - 74.53) ms73.99 ± (73.77 - 74.20) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.64) MB10.64 ± (10.64 - 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.50 ± (21.41 - 21.58) ms-0.5%
process.time_to_main_ms77.44 ± (77.19 - 77.69) ms77.58 ± (77.26 - 77.90) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.75 ± (10.75 - 10.75) MB10.76 ± (10.76 - 10.76) MB+0.1%✅⬆️
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.55 ± (376.40 - 380.70) ms+0.7%✅⬆️
process.time_to_main_ms539.08 ± (537.82 - 540.34) ms538.43 ± (537.16 - 539.70) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.79 ± (49.77 - 49.81) MB49.89 ± (49.87 - 49.92) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.4%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.35 ± (19.32 - 19.38) ms19.45 ± (19.40 - 19.49) ms+0.5%✅⬆️
process.time_to_main_ms72.06 ± (71.88 - 72.25) ms72.65 ± (72.45 - 72.85) ms+0.8%✅⬆️
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.68) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.70 ± (19.66 - 19.75) ms19.42 ± (19.38 - 19.45) ms-1.5%
process.time_to_main_ms75.27 ± (75.03 - 75.51) ms73.23 ± (73.04 - 73.43) ms-2.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.74) MB7.74 ± (7.73 - 7.75) MB+0.0%✅⬆️
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) ms298.49 ± (296.08 - 300.90) ms+2.3%✅⬆️
process.time_to_main_ms497.89 ± (496.73 - 499.05) ms498.26 ± (497.22 - 499.31) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.94 ± (36.92 - 36.97) MB36.95 ± (36.92 - 36.98) MB+0.0%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.2%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration201.46 ± (201.24 - 202.33) ms200.15 ± (199.66 - 200.57) ms-0.7%
.NET Framework 4.8 - Bailout
duration205.63 ± (205.01 - 206.04) ms203.81 ± (203.18 - 204.22) ms-0.9%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1202.91 ± (1202.06 - 1208.42) ms1201.36 ± (1203.11 - 1209.91) ms-0.1%
.NET Core 3.1 - Baseline
process.internal_duration_ms195.59 ± (195.03 - 196.15) ms195.70 ± (195.22 - 196.17) ms+0.1%✅⬆️
process.time_to_main_ms84.19 ± (83.85 - 84.52) ms84.40 ± (84.05 - 84.75) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.02 ± (16.00 - 16.05) MB16.07 ± (16.05 - 16.09) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms195.01 ± (194.55 - 195.46) ms194.79 ± (194.32 - 195.25) ms-0.1%
process.time_to_main_ms85.60 ± (85.30 - 85.89) ms85.22 ± (84.96 - 85.48) ms-0.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.13) MB16.10 ± (16.08 - 16.12) MB+0.0%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.3%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms389.46 ± (388.19 - 390.72) ms389.77 ± (388.31 - 391.22) ms+0.1%✅⬆️
process.time_to_main_ms535.18 ± (533.98 - 536.38) ms536.02 ± (534.69 - 537.34) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.40 ± (58.18 - 58.63) MB58.05 ± (57.83 - 58.27) MB-0.6%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms199.67 ± (199.17 - 200.16) ms199.18 ± (198.75 - 199.61) ms-0.2%
process.time_to_main_ms72.88 ± (72.56 - 73.20) ms72.86 ± (72.55 - 73.16) ms-0.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.29 ± (16.27 - 16.32) MB16.36 ± (16.33 - 16.38) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.8%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms198.40 ± (198.01 - 198.80) ms198.78 ± (198.36 - 199.20) ms+0.2%✅⬆️
process.time_to_main_ms73.38 ± (73.19 - 73.56) ms73.74 ± (73.51 - 73.96) ms+0.5%✅⬆️
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)-0.2%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms597.80 ± (595.34 - 600.25) ms592.10 ± (589.63 - 594.57) ms-1.0%
process.time_to_main_ms537.07 ± (536.12 - 538.03) ms537.15 ± (536.33 - 537.98) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.54 ± (61.45 - 61.63) MB61.18 ± (61.09 - 61.27) MB-0.6%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.1%
.NET 8 - Baseline
process.internal_duration_ms198.21 ± (197.75 - 198.68) ms197.14 ± (196.64 - 197.64) ms-0.5%
process.time_to_main_ms72.57 ± (72.31 - 72.83) ms72.22 ± (71.98 - 72.46) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.67 ± (11.65 - 11.68) MB11.69 ± (11.68 - 11.71) MB+0.2%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.2%
.NET 8 - Bailout
process.internal_duration_ms197.65 ± (197.19 - 198.11) ms195.67 ± (195.19 - 196.14) ms-1.0%
process.time_to_main_ms73.76 ± (73.49 - 74.03) ms73.15 ± (72.90 - 73.41) ms-0.8%
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.1%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.56 ± (513.81 - 519.31) ms515.05 ± (512.57 - 517.52) ms-0.3%
process.time_to_main_ms493.60 ± (492.87 - 494.33) ms492.48 ± (491.49 - 493.48) 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.61 - 50.68) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.3%
Comparison explanation

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

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

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

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

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

    section Bailout
    This PR (8630) - mean (76ms)  : 75, 78
    master - mean (79ms)  : 75, 83

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (1,110ms)  : 1055, 1164
    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 (8630) - mean (114ms)  : 110, 117
    master - mean (113ms)  : 109, 117

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

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (790ms)  : 760, 819
    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 (8630) - mean (102ms)  : 97, 106
    master - mean (102ms)  : 98, 106

    section Bailout
    This PR (8630) - mean (106ms)  : 101, 110
    master - mean (106ms)  : 100, 111

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (945ms)  : 910, 980
    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 (8630) - mean (100ms)  : 96, 104
    master - mean (99ms)  : 95, 103

    section Bailout
    This PR (8630) - mean (100ms)  : 98, 103
    master - mean (103ms)  : 98, 108

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (828ms)  : 793, 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 (8630) - mean (200ms)  : 194, 206
    master - mean (202ms)  : 194, 210

    section Bailout
    This PR (8630) - mean (204ms)  : 198, 209
    master - mean (206ms)  : 198, 213

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (1,207ms)  : 1157, 1256
    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 (8630) - mean (289ms)  : 282, 296
    master - mean (288ms)  : 281, 295

    section Bailout
    This PR (8630) - mean (288ms)  : 283, 294
    master - mean (290ms)  : 283, 296

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (967ms)  : 946, 989
    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 (8630) - mean (281ms)  : 274, 288
    master - mean (281ms)  : 275, 287

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

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (1,158ms)  : 1114, 1202
    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 (8630) - mean (279ms)  : 271, 288
    master - mean (281ms)  : 274, 289

    section Bailout
    This PR (8630) - mean (278ms)  : 272, 285
    master - mean (282ms)  : 275, 288

    section CallTarget+Inlining+NGEN
    This PR (8630) - mean (1,039ms)  : 995, 1084
    master - mean (1,041ms)  : 997, 1085

Loading

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 14, 2026

Benchmarks

Benchmark execution time: 2026-05-14 13:22:31

Comparing candidate commit 5409973 in PR branch andrew/rcm-caching-issue with baseline commit 1c000cb in branch master.

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

Scenarios present only in baseline:

  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_UpdateName_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net472
  • 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_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetStatus_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_UpdateName_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_AddEvent_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_SetAttributes_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.TelemetrySpanBenchmark.StartSpan_RecordException_Sampled net6.0
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_GetContext_Sampled netcoreapp3.1
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan_SetStatus_Sampled net472
  • Benchmarks.OpenTelemetry.Api.Trace.ActivityBenchmark.StartSpan netcoreapp3.1

Found 0 performance improvements and 4 performance regressions! Performance is the same for 47 metrics, 21 unstable metrics, 85 known flaky benchmarks, 41 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 [+143 bytes; +144 bytes] or [+10.108%; +10.117%]

scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.TracerBenchmark.StartRootSpan 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 [+143 bytes; +144 bytes] or [+7.889%; +7.898%]

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

  • 🟥 throughput [-78383.272op/s; -71925.468op/s] or [-53.247%; -48.860%]

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 [-74.645ms; -44.358ms] or [-40.145%; -23.856%]
  • unstable throughput [+47802.596op/s; +69223.992op/s] or [+37.413%; +54.178%]

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

  • unstable execution_time [-43.698ms; -6.100ms] or [-25.851%; -3.609%]
  • unstable throughput [+15438.685op/s; +36522.094op/s] or [+11.561%; +27.349%]

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

  • unstable execution_time [-16717.606µs; +17779.082µs] or [-14.997%; +15.949%]

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

  • unstable execution_time [+41.033ms; +72.642ms] or [+32.431%; +57.415%]
  • unstable throughput [-42424.137op/s; -16643.526op/s] or [-23.061%; -9.047%]

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

  • unstable execution_time [+5.099ms; +19.704ms] or [+3.846%; +14.862%]

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

  • unstable execution_time [+0.248ms; +26.375ms] or [+0.176%; +18.684%]
  • unstable throughput [-28564.948op/s; -9898.630op/s] or [-15.484%; -5.366%]

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

  • unstable execution_time [-17031.150µs; +18433.874µs] or [-15.273%; +16.531%]

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

  • unstable execution_time [+28.387ms; +62.428ms] or [+23.282%; +51.202%]
  • unstable throughput [-44936.350op/s; -18478.627op/s] or [-23.526%; -9.674%]

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

  • unstable execution_time [+7.250ms; +32.177ms] or [+7.994%; +35.477%]

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

  • unstable execution_time [+13.572ms; +49.756ms] or [+8.856%; +32.467%]
  • unstable throughput [-46405.714op/s; -20650.803op/s] or [-27.871%; -12.403%]

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

  • unstable execution_time [-30.452ms; -5.659ms] or [-27.165%; -5.048%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+8.332%; +8.340%]
  • unstable execution_time [-80.331ms; -41.173ms] or [-44.033%; -22.568%]
  • unstable throughput [+26845.153op/s; +48418.145op/s] or [+23.016%; +41.512%]

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

  • unstable execution_time [-33.373ms; -8.351ms] or [-30.191%; -7.555%]

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

  • 🟥 allocated_mem [+143 bytes; +144 bytes] or [+10.108%; +10.117%]
  • unstable execution_time [-13.681ms; +10.339ms] or [-9.809%; +7.413%]
  • 🟩 throughput [+9934.016op/s; +24226.270op/s] or [+6.368%; +15.530%]

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

  • unstable execution_time [-33.924ms; -8.963ms] or [-30.132%; -7.961%]

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 [+30.038ms; +69.629ms] or [+26.763%; +62.037%]
  • unstable throughput [-39470.334op/s; -13731.944op/s] or [-30.593%; -10.643%]

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

  • unstable execution_time [+39.689ms; +66.909ms] or [+29.940%; +50.473%]
  • unstable throughput [-42600.510op/s; -16758.538op/s] or [-28.922%; -11.378%]

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 [-33.611ms; +6.229ms] or [-20.031%; +3.712%]
  • unstable throughput [+14912.156op/s; +37075.857op/s] or [+11.455%; +28.481%]

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

  • unstable execution_time [-42.486ms; -2.085ms] or [-32.225%; -1.581%]

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

  • 🟩 allocated_mem [-144 bytes; -143 bytes] or [-9.188%; -9.180%]
  • unstable execution_time [+3.425ms; +20.304ms] or [+2.708%; +16.053%]

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

  • unstable execution_time [+6.935ms; +32.172ms] or [+7.612%; +35.314%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-6924.902op/s; -6366.385op/s] or [-8.211%; -7.549%]

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

  • unstable execution_time [-68.531ms; -41.811ms] or [-34.190%; -20.859%]
  • unstable throughput [-45348.743op/s; -29230.447op/s] or [-38.117%; -24.569%]

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

  • unstable execution_time [-88.811ms; -66.029ms] or [-44.669%; -33.210%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+305.605ms; +320.701ms] or [+151.652%; +159.143%]
  • 🟥 throughput [-57.663op/s; -44.643op/s] or [-10.375%; -8.032%]

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

  • unstable execution_time [+113.509ms; +151.499ms] or [+89.679%; +119.693%]
  • unstable throughput [-20.073op/s; +61.743op/s] or [-2.647%; +8.141%]

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

  • 🟥 execution_time [+82.488ms; +83.711ms] or [+72.998%; +74.081%]

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 [-49.427ms; -28.070ms] or [-23.084%; -13.110%]
  • unstable throughput [-30846.440op/s; -17011.049op/s] or [-22.516%; -12.417%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.500%; +27.510%]
  • 🟩 execution_time [-62.019ms; -42.076ms] or [-29.533%; -20.036%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.743%; +105.758%]
  • 🟥 throughput [-268036.735op/s; -264230.573op/s] or [-27.368%; -26.979%]

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

  • 🟥 allocated_mem [+439 bytes; +440 bytes] or [+35.945%; +35.954%]
  • 🟩 execution_time [-108.003ms; -87.597ms] or [-48.165%; -39.064%]
  • unstable throughput [-154372.621op/s; -55975.838op/s] or [-16.492%; -5.980%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.288%; +105.304%]
  • 🟩 execution_time [-85.958ms; -81.626ms] or [-42.906%; -40.744%]
  • 🟥 throughput [-143662.032op/s; -127102.402op/s] or [-20.641%; -18.262%]

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

  • 🟩 execution_time [-31.689ms; -15.136ms] or [-15.989%; -7.637%]
  • 🟥 throughput [-31708.825op/s; -17297.590op/s] or [-20.176%; -11.006%]

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

  • unstable execution_time [-49.345ms; -28.983ms] or [-25.158%; -14.776%]
  • 🟩 throughput [+9996.153op/s; +12708.577op/s] or [+7.963%; +10.124%]

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

  • unstable execution_time [-58.052ms; -34.748ms] or [-28.702%; -17.180%]
  • unstable throughput [-400917.933op/s; -29779.870op/s] or [-13.368%; -0.993%]

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

  • 🟩 execution_time [-98.629ms; -77.725ms] or [-45.464%; -35.829%]
  • 🟩 throughput [+152103.398op/s; +207231.035op/s] or [+6.037%; +8.226%]

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

  • 🟥 execution_time [+301.264ms; +315.159ms] or [+150.532%; +157.474%]

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

  • 🟥 execution_time [+131.140ms; +138.189ms] or [+66.134%; +69.689%]

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

  • unstable execution_time [+253.139ms; +290.252ms] or [+127.512%; +146.206%]

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

  • 🟥 execution_time [+296.280ms; +309.985ms] or [+145.521%; +152.252%]

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

  • 🟥 execution_time [+242.342ms; +258.880ms] or [+118.472%; +126.557%]

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

  • 🟥 execution_time [+301.922ms; +307.741ms] or [+150.900%; +153.809%]

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

  • 🟥 execution_time [+21.103µs; +44.723µs] or [+6.737%; +14.278%]
  • 🟥 throughput [-417.976op/s; -219.209op/s] or [-13.030%; -6.833%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • 🟥 execution_time [+299.723ms; +300.423ms] or [+149.592%; +149.942%]

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

  • unstable execution_time [+360.473ms; +384.034ms] or [+391.669%; +417.269%]
  • 🟥 throughput [-7103.344op/s; -6842.086op/s] or [-58.369%; -56.222%]

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

  • unstable execution_time [+301.831ms; +347.780ms] or [+229.178%; +264.066%]
  • 🟥 throughput [-1258.568op/s; -1031.879op/s] or [-12.184%; -9.989%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟥 execution_time [+298.132ms; +313.111ms] or [+137.078%; +143.966%]
  • 🟥 throughput [-682.907op/s; -665.979op/s] or [-61.878%; -60.344%]

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

  • unstable execution_time [-49.562ms; +84.495ms] or [-21.121%; +36.008%]
  • 🟥 throughput [-712.940op/s; -619.029op/s] or [-47.553%; -41.289%]

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

  • 🟥 allocated_mem [+2.305KB; +2.308KB] or [+5.442%; +5.450%]
  • 🟥 execution_time [+341.477ms; +349.573ms] or [+204.243%; +209.085%]
  • 🟥 throughput [-729.003op/s; -694.802op/s] or [-50.759%; -48.378%]

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

  • 🟩 execution_time [-194.798µs; -175.187µs] or [-9.868%; -8.874%]
  • 🟩 throughput [+49.508op/s; +55.673op/s] or [+9.773%; +10.990%]

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

  • 🟩 execution_time [-223.671µs; -207.813µs] or [-5.672%; -5.270%]
  • 🟩 throughput [+14.128op/s; +15.255op/s] or [+5.571%; +6.015%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟥 execution_time [+306.208ms; +320.557ms] or [+154.201%; +161.427%]

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

  • 🟥 execution_time [+262.721ms; +279.538ms] or [+131.650%; +140.077%]

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

  • 🟥 execution_time [+307.520ms; +313.790ms] or [+154.485%; +157.635%]
  • 🟩 throughput [+28911.268op/s; +42084.181op/s] or [+6.090%; +8.865%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 execution_time [+305.073ms; +319.550ms] or [+153.197%; +160.467%]

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

  • 🟥 execution_time [+208.213ms; +218.593ms] or [+102.952%; +108.084%]

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

  • 🟥 execution_time [+300.991ms; +308.028ms] or [+152.555%; +156.122%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 execution_time [+302.634ms; +316.824ms] or [+151.895%; +159.017%]

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

  • unstable execution_time [+216.582ms; +285.027ms] or [+107.946%; +142.060%]

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

  • 🟥 execution_time [+300.206ms; +307.528ms] or [+149.350%; +152.993%]

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

  • unstable execution_time [-73.945ms; -49.146ms] or [-34.385%; -22.853%]
  • unstable throughput [-64757.611op/s; -19763.986op/s] or [-17.765%; -5.422%]

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

  • unstable execution_time [-88.673ms; -66.452ms] or [-44.480%; -33.333%]

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

  • 🟩 allocated_mem [-26.461KB; -26.440KB] or [-9.653%; -9.645%]
  • unstable execution_time [-80.573µs; -26.101µs] or [-15.925%; -5.159%]
  • 🟩 throughput [+127.904op/s; +325.782op/s] or [+6.382%; +16.257%]

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

  • 🟩 allocated_mem [-16.492KB; -16.473KB] or [-6.012%; -6.005%]
  • 🟩 execution_time [-86.876µs; -32.589µs] or [-15.055%; -5.648%]
  • 🟩 throughput [+114.757op/s; +262.096op/s] or [+6.556%; +14.974%]

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

  • unstable execution_time [+2.274µs; +6.969µs] or [+5.374%; +16.473%]
  • 🟥 throughput [-3186.237op/s; -1206.708op/s] or [-13.413%; -5.080%]

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

  • unstable execution_time [-14.266µs; -4.984µs] or [-22.133%; -7.733%]
  • unstable throughput [+1527.733op/s; +3493.135op/s] or [+9.373%; +21.432%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟥 execution_time [+302.612ms; +316.557ms] or [+152.957%; +160.005%]

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

  • 🟥 execution_time [+303.590ms; +311.212ms] or [+154.526%; +158.406%]

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

  • 🟥 execution_time [+302.402ms; +307.669ms] or [+151.390%; +154.026%]

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

  • unstable execution_time [-75.536ms; -46.705ms] or [-37.756%; -23.346%]
  • unstable throughput [-176729.060op/s; -107754.417op/s] or [-33.451%; -20.396%]

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

  • unstable execution_time [-55.785ms; -25.799ms] or [-28.278%; -13.078%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 execution_time [+300.384ms; +314.595ms] or [+149.714%; +156.797%]

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

  • unstable execution_time [+256.936ms; +289.796ms] or [+129.021%; +145.522%]

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

  • 🟥 execution_time [+301.987ms; +308.998ms] or [+153.148%; +156.704%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • 🟥 execution_time [+300.448ms; +301.232ms] or [+149.865%; +150.256%]
  • 🟩 throughput [+60125964.923op/s; +60458494.536op/s] or [+43.787%; +44.030%]

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

  • unstable execution_time [+376.790ms; +389.426ms] or [+468.605%; +484.320%]
  • 🟥 throughput [-7533.819op/s; -7340.683op/s] or [-58.240%; -56.747%]

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

  • 🟥 execution_time [+298.328ms; +300.734ms] or [+148.799%; +149.999%]
  • 🟥 throughput [-18527234.796op/s; -17234455.011op/s] or [-8.206%; -7.634%]

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

  • unstable execution_time [-76.503ms; -55.055ms] or [-37.470%; -26.965%]
  • unstable throughput [-261558.136op/s; -126154.272op/s] or [-24.421%; -11.779%]

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

  • unstable execution_time [-54.408ms; -28.072ms] or [-27.531%; -14.205%]
  • 🟩 throughput [+43310.763op/s; +62786.744op/s] or [+5.013%; +7.267%]

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

  • unstable execution_time [-62.061ms; -37.314ms] or [-32.334%; -19.441%]
  • unstable throughput [-305870.817op/s; -136218.646op/s] or [-23.675%; -10.544%]

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

  • unstable execution_time [-73.380ms; -46.892ms] or [-36.053%; -23.039%]
  • 🟩 throughput [+74278.113op/s; +86097.328op/s] or [+7.377%; +8.551%]

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

  • unstable execution_time [-52.587ms; -27.025ms] or [-26.262%; -13.496%]
  • unstable throughput [-117381.232op/s; -39392.851op/s] or [-21.314%; -7.153%]

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

  • unstable execution_time [-87.255ms; -64.785ms] or [-43.840%; -32.550%]

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

  • 🟩 execution_time [-109.008ms; -105.166ms] or [-54.523%; -52.602%]

Known flaky benchmarks without significant changes:

  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan net472
  • scenario:Benchmarks.OpenTelemetry.InstrumentedApi.Trace.ActivityBenchmark.StartSpan netcoreapp3.1
  • 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_GetContext_Sampled netcoreapp3.1
  • 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_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_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
  • scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

@andrewlock andrewlock marked this pull request as ready for review May 14, 2026 14:37
@andrewlock andrewlock requested a review from a team as a code owner May 14, 2026 14:37
@andrewlock andrewlock changed the title Refactor remote config application for ASM Refactor remote config for ASM to fix missing config May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant