Skip to content

Fix benchmark projects#8056

Merged
andrewlock merged 5 commits intomasterfrom
andrew/fix-benchmarks
Jan 14, 2026
Merged

Fix benchmark projects#8056
andrewlock merged 5 commits intomasterfrom
andrew/fix-benchmarks

Conversation

@andrewlock
Copy link
Member

Summary of changes

Fixes the broken build in the benchmarks

Reason for change

#7965 broke the benchmark build for some TFMs. I think the race condition between creating a PR and running the benchmarks meant we didn't notice the failure, especially because the run still took 30+ mins because it worked in some TFMs

Implementation details

  • Ensure we have the dummy benchmark for TFMs that don't support it
  • Fix some minor spurious warnings

Test coverage

This is the test, I'll carefully check the run this time

@andrewlock andrewlock requested a review from a team as a code owner January 14, 2026 08:46
@andrewlock andrewlock added area:builds project files, build scripts, pipelines, versioning, releases, packages area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc labels Jan 14, 2026
@github-actions github-actions bot added the area:tests unit tests, integration tests label Jan 14, 2026
Copy link
Collaborator

@NachoEchevarria NachoEchevarria left a comment

Choose a reason for hiding this comment

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

Thanks!

@datadog-datadog-prod-us1

This comment has been minimized.

@dd-trace-dotnet-ci-bot
Copy link

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8056) 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
duration68.15 ± (68.19 - 68.43) ms68.24 ± (68.27 - 68.50) ms+0.1%✅⬆️
.NET Framework 4.8 - Bailout
duration72.20 ± (72.14 - 72.36) ms72.11 ± (72.00 - 72.21) ms-0.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration997.92 ± (1004.52 - 1015.19) ms1002.66 ± (1008.20 - 1017.76) ms+0.5%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms21.79 ± (21.76 - 21.82) ms21.86 ± (21.83 - 21.90) ms+0.3%✅⬆️
process.time_to_main_ms78.44 ± (78.26 - 78.61) ms78.73 ± (78.58 - 78.89) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.87 ± (10.87 - 10.88) MB10.91 ± (10.91 - 10.92) MB+0.4%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.75 ± (21.73 - 21.77) ms21.75 ± (21.73 - 21.77) ms+0.0%✅⬆️
process.time_to_main_ms79.52 ± (79.42 - 79.62) ms79.86 ± (79.76 - 79.96) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.91 - 10.92) MB10.94 ± (10.94 - 10.95) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms249.95 ± (247.00 - 252.90) ms244.99 ± (241.74 - 248.25) ms-2.0%
process.time_to_main_ms467.98 ± (467.31 - 468.64) ms467.39 ± (466.90 - 467.87) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.29 ± (48.27 - 48.32) MB48.42 ± (48.40 - 48.44) MB+0.3%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms20.73 ± (20.70 - 20.76) ms20.64 ± (20.61 - 20.67) ms-0.4%
process.time_to_main_ms68.22 ± (68.09 - 68.36) ms68.25 ± (68.13 - 68.36) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.60) MB10.65 ± (10.65 - 10.66) MB+0.5%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.59 ± (20.57 - 20.61) ms20.51 ± (20.49 - 20.54) ms-0.4%
process.time_to_main_ms68.73 ± (68.67 - 68.79) ms69.04 ± (68.98 - 69.09) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.65 ± (10.65 - 10.66) MB10.76 ± (10.75 - 10.76) MB+1.0%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms250.07 ± (249.18 - 250.97) ms246.25 ± (244.39 - 248.12) ms-1.5%
process.time_to_main_ms445.48 ± (444.98 - 445.98) ms444.39 ± (443.92 - 444.86) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.17 ± (49.14 - 49.20) MB49.23 ± (49.20 - 49.26) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms18.77 ± (18.74 - 18.80) ms18.86 ± (18.83 - 18.89) ms+0.5%✅⬆️
process.time_to_main_ms66.88 ± (66.77 - 66.98) ms67.09 ± (67.00 - 67.18) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.64 ± (7.63 - 7.64) MB7.67 ± (7.66 - 7.67) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.72 ± (18.70 - 18.75) ms18.98 ± (18.95 - 19.00) ms+1.4%✅⬆️
process.time_to_main_ms67.96 ± (67.89 - 68.04) ms68.54 ± (68.48 - 68.59) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.72) MB7.72 ± (7.71 - 7.73) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms176.49 ± (175.58 - 177.41) ms179.11 ± (178.21 - 180.01) ms+1.5%✅⬆️
process.time_to_main_ms427.37 ± (426.65 - 428.10) ms429.26 ± (428.69 - 429.82) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.54 ± (36.51 - 36.57) MB36.58 ± (36.55 - 36.62) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (26 - 27)27 ± (26 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration193.57 ± (193.54 - 194.25) ms192.42 ± (192.34 - 193.10) ms-0.6%
.NET Framework 4.8 - Bailout
duration196.68 ± (196.64 - 197.19) ms196.20 ± (196.03 - 196.86) ms-0.2%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1117.89 ± (1121.39 - 1130.46) ms1128.67 ± (1130.42 - 1140.66) ms+1.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms187.32 ± (186.96 - 187.68) ms187.95 ± (187.56 - 188.35) ms+0.3%✅⬆️
process.time_to_main_ms80.78 ± (80.57 - 81.00) ms81.07 ± (80.82 - 81.32) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.10 ± (16.07 - 16.12) MB16.08 ± (16.05 - 16.11) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)19 ± (19 - 20)-1.1%
.NET Core 3.1 - Bailout
process.internal_duration_ms187.07 ± (186.66 - 187.47) ms186.95 ± (186.59 - 187.30) ms-0.1%
process.time_to_main_ms82.15 ± (81.96 - 82.35) ms82.23 ± (82.08 - 82.37) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.23 ± (16.20 - 16.27) MB16.11 ± (16.08 - 16.13) MB-0.8%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms428.93 ± (425.97 - 431.89) ms435.84 ± (433.27 - 438.40) ms+1.6%✅⬆️
process.time_to_main_ms471.07 ± (470.42 - 471.72) ms472.08 ± (471.48 - 472.67) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.79 ± (58.67 - 58.91) MB58.59 ± (58.46 - 58.72) MB-0.3%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.0%
.NET 6 - Baseline
process.internal_duration_ms191.56 ± (191.15 - 191.97) ms192.53 ± (192.17 - 192.89) ms+0.5%✅⬆️
process.time_to_main_ms70.14 ± (69.94 - 70.34) ms70.39 ± (70.18 - 70.61) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.93 ± (15.77 - 16.09) MB16.06 ± (15.92 - 16.20) MB+0.8%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+3.6%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms190.69 ± (190.41 - 190.97) ms192.05 ± (191.65 - 192.45) ms+0.7%✅⬆️
process.time_to_main_ms71.21 ± (71.11 - 71.32) ms71.25 ± (71.07 - 71.43) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.88 ± (15.72 - 16.05) MB16.34 ± (16.25 - 16.43) MB+2.8%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+4.9%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms439.44 ± (436.05 - 442.83) ms445.37 ± (442.32 - 448.42) ms+1.4%✅⬆️
process.time_to_main_ms449.67 ± (449.17 - 450.17) ms449.91 ± (449.41 - 450.41) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed59.01 ± (58.87 - 59.14) MB58.86 ± (58.73 - 58.99) MB-0.2%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.2%
.NET 8 - Baseline
process.internal_duration_ms188.71 ± (188.42 - 188.99) ms189.67 ± (189.28 - 190.05) ms+0.5%✅⬆️
process.time_to_main_ms69.25 ± (69.07 - 69.43) ms69.54 ± (69.34 - 69.74) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.76 ± (11.73 - 11.79) MB11.76 ± (11.73 - 11.79) MB-0.0%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.2%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms188.57 ± (188.31 - 188.83) ms188.89 ± (188.56 - 189.21) ms+0.2%✅⬆️
process.time_to_main_ms70.26 ± (70.17 - 70.36) ms70.49 ± (70.34 - 70.65) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.79 ± (11.76 - 11.82) MB11.83 ± (11.79 - 11.86) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.1%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms364.03 ± (362.32 - 365.74) ms366.61 ± (365.05 - 368.18) ms+0.7%✅⬆️
process.time_to_main_ms432.10 ± (431.42 - 432.79) ms435.87 ± (435.02 - 436.73) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed48.15 ± (48.12 - 48.18) MB48.22 ± (48.19 - 48.26) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.6%
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 (8056) - mean (68ms)  : 67, 70
    master - mean (68ms)  : 67, 70

    section Bailout
    This PR (8056) - mean (72ms)  : 71, 73
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (1,013ms)  : 944, 1082
    master - mean (1,010ms)  : 934, 1086

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 (8056) - mean (106ms)  : 104, 108
    master - mean (105ms)  : 103, 108

    section Bailout
    This PR (8056) - mean (107ms)  : 106, 108
    master - mean (106ms)  : 105, 107

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (737ms)  : 681, 794
    master - mean (743ms)  : 693, 794

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8056) - mean (94ms)  : 91, 96
    master - mean (94ms)  : 91, 96

    section Bailout
    This PR (8056) - mean (94ms)  : 93, 95
    master - mean (94ms)  : 93, 95

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (716ms)  : 686, 745
    master - mean (721ms)  : 701, 741

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8056) - mean (92ms)  : 90, 94
    master - mean (92ms)  : 89, 94

    section Bailout
    This PR (8056) - mean (93ms)  : 92, 95
    master - mean (93ms)  : 91, 94

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (635ms)  : 622, 649
    master - mean (633ms)  : 615, 651

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 (8056) - mean (193ms)  : 188, 197
    master - mean (194ms)  : 190, 197

    section Bailout
    This PR (8056) - mean (196ms)  : 192, 201
    master - mean (197ms)  : 194, 200

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (1,136ms)  : 1060, 1212
    master - mean (1,126ms)  : 1061, 1190

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 (8056) - mean (277ms)  : 272, 283
    master - mean (277ms)  : 272, 281

    section Bailout
    This PR (8056) - mean (278ms)  : 272, 283
    master - mean (277ms)  : 272, 283

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (935ms)  : 890, 981
    master - mean (927ms)  : 873, 981

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8056) - mean (271ms)  : 266, 276
    master - mean (270ms)  : 265, 275

    section Bailout
    This PR (8056) - mean (272ms)  : 266, 277
    master - mean (270ms)  : 266, 274

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (919ms)  : 861, 977
    master - mean (914ms)  : 852, 976

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8056) - mean (269ms)  : 264, 274
    master - mean (268ms)  : 263, 273

    section Bailout
    This PR (8056) - mean (269ms)  : 263, 275
    master - mean (268ms)  : 265, 272

    section CallTarget+Inlining+NGEN
    This PR (8056) - mean (833ms)  : 805, 861
    master - mean (827ms)  : 805, 848

Loading

@pr-commenter
Copy link

pr-commenter bot commented Jan 14, 2026

Benchmarks

Benchmark execution time: 2026-01-14 10:09:21

Comparing candidate commit 5a01ef3 in PR branch andrew/fix-benchmarks with baseline commit f1674f6 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 candidate:

  • Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472
  • Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472
  • Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472
  • Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472
  • Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1
  • Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1
  • Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1
  • Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472
  • Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1
  • Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472
  • Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1
  • Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1
  • Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472
  • Benchmarks.Trace.NLogBenchmark.EnrichedLog net472
  • Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1
  • Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472
  • Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1
  • Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1
  • Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1
  • Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1
  • Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1
  • Benchmarks.Trace.HttpClientBenchmark.SendAsync netcoreapp3.1
  • Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1
  • Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1
  • Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472
  • Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1
  • Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472
  • Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1
  • Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472
  • Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472
  • Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472
  • Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1
  • Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1
  • Benchmarks.Trace.HttpClientBenchmark.SendAsync net472
  • Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472
  • Benchmarks.Trace.SpanBenchmark.StartFinishScope net472
  • Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472
  • Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1
  • Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472
  • Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472
  • Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1
  • Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery net472
  • Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472
  • Benchmarks.Trace.NLogBenchmark.EnrichedLog netcoreapp3.1
  • Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1
  • Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472
  • Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1
  • Benchmarks.Trace.RedisBenchmark.SendReceive net472
  • Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1
  • Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1
  • Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472
  • Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472
  • Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472
  • Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472

Found 7 performance improvements and 1 performance regressions! Performance is the same for 53 metrics, 3 unstable metrics.

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

  • 🟩 execution_time [-16.947ms; -11.296ms] or [-7.966%; -5.310%]

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

  • 🟩 execution_time [-20.949ms; -16.100ms] or [-9.606%; -7.382%]

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

  • 🟩 execution_time [-18.102ms; -17.012ms] or [-15.689%; -14.745%]

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

  • 🟩 execution_time [-185.636µs; -177.044µs] or [-11.843%; -11.295%]
  • 🟩 throughput [+81.326op/s; +85.650op/s] or [+12.747%; +13.425%]

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

  • 🟩 execution_time [-16.399ms; -12.438ms] or [-7.808%; -5.922%]

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

  • 🟥 execution_time [+4.695ms; +6.460ms] or [+5.251%; +7.225%]

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

  • 🟩 execution_time [-16.213ms; -15.279ms] or [-7.656%; -7.214%]

@andrewlock andrewlock enabled auto-merge (squash) January 14, 2026 10:10
@andrewlock andrewlock merged commit 336514b into master Jan 14, 2026
150 checks passed
@andrewlock andrewlock deleted the andrew/fix-benchmarks branch January 14, 2026 10:41
@github-actions github-actions bot added this to the vNext-v3 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:benchmarks Benchmarks, throughput tests, Crank, Bombardier, etc area:builds project files, build scripts, pipelines, versioning, releases, packages area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants