Skip to content

Conversation

@NachoEchevarria
Copy link
Collaborator

@NachoEchevarria NachoEchevarria commented Oct 27, 2025

Summary of changes

This PR updates the Linux VMs to the latests definition.

Reason for change

Implementation details

Test coverage

Other details

@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Oct 27, 2025
@datadog-datadog-prod-us1

This comment has been minimized.

@pr-commenter
Copy link

pr-commenter bot commented Oct 27, 2025

Benchmarks

Benchmarks Report for benchmark platform 🐌

Benchmarks for #7718 compared to master:

  • 3 benchmarks are faster, with geometric mean 1.564
  • 10 benchmarks have fewer allocations
  • 2 benchmarks have more allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ Fewer allocations 🎉

Fewer allocations 🎉 in #7718

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net472 6.04 KB 6 KB -36 B -0.60%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 10.7μs 54.5ns 250ns 0 0 0 5.52 KB
master StartStopWithChild netcoreapp3.1 13.2μs 69.2ns 346ns 0 0 0 5.73 KB
master StartStopWithChild net472 21.7μs 115ns 631ns 0.966 0.322 0.107 6.04 KB
#7718 StartStopWithChild net6.0 10.5μs 58.7ns 376ns 0 0 0 5.52 KB
#7718 StartStopWithChild netcoreapp3.1 13.8μs 72.1ns 338ns 0 0 0 5.71 KB
#7718 StartStopWithChild net472 21.9μs 117ns 643ns 0.885 0.221 0 6 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 931μs 196ns 758ns 0 0 0 2.71 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 1.02ms 198ns 768ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 1.18ms 90.8ns 340ns 0 0 0 3.31 KB
#7718 WriteAndFlushEnrichedTraces net6.0 933μs 59.8ns 231ns 0 0 0 2.71 KB
#7718 WriteAndFlushEnrichedTraces netcoreapp3.1 1.04ms 78.1ns 282ns 0 0 0 2.7 KB
#7718 WriteAndFlushEnrichedTraces net472 1.2ms 312ns 1.21μs 0 0 0 3.31 KB
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Unknown 🤷 Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master AllCycleSimpleBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleSimpleBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleSimpleBody net472 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleMoreComplexBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleMoreComplexBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
master AllCycleMoreComplexBody net472 N/A N/A N/A NaN NaN NaN 0 b
master ObjectExtractorSimpleBody net6.0 323ns 1.59ns 6.54ns 0 0 0 280 B
master ObjectExtractorSimpleBody netcoreapp3.1 393ns 2.2ns 13.4ns 0 0 0 272 B
master ObjectExtractorSimpleBody net472 299ns 0.0277ns 0.107ns 0.0446 0 0 281 B
master ObjectExtractorMoreComplexBody net6.0 6.25μs 32ns 150ns 0 0 0 3.78 KB
master ObjectExtractorMoreComplexBody netcoreapp3.1 7.77μs 37ns 143ns 0 0 0 3.69 KB
master ObjectExtractorMoreComplexBody net472 6.69μs 0.952ns 3.43ns 0.601 0 0 3.8 KB
#7718 AllCycleSimpleBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
#7718 AllCycleSimpleBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
#7718 AllCycleSimpleBody net472 N/A N/A N/A NaN NaN NaN 0 b
#7718 AllCycleMoreComplexBody net6.0 N/A N/A N/A NaN NaN NaN 0 b
#7718 AllCycleMoreComplexBody netcoreapp3.1 N/A N/A N/A NaN NaN NaN 0 b
#7718 AllCycleMoreComplexBody net472 N/A N/A N/A NaN NaN NaN 0 b
#7718 ObjectExtractorSimpleBody net6.0 330ns 1.75ns 8.94ns 0 0 0 280 B
#7718 ObjectExtractorSimpleBody netcoreapp3.1 397ns 2.2ns 13.2ns 0 0 0 272 B
#7718 ObjectExtractorSimpleBody net472 304ns 0.0422ns 0.152ns 0.0439 0 0 281 B
#7718 ObjectExtractorMoreComplexBody net6.0 6.33μs 31.4ns 137ns 0 0 0 3.78 KB
#7718 ObjectExtractorMoreComplexBody netcoreapp3.1 7.72μs 37.2ns 162ns 0 0 0 3.69 KB
#7718 ObjectExtractorMoreComplexBody net472 6.62μs 3.25ns 12.6ns 0.594 0 0 3.8 KB
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EncodeArgs net6.0 75.8μs 218ns 817ns 0 0 0 32.4 KB
master EncodeArgs netcoreapp3.1 98.5μs 309ns 1.2μs 0 0 0 32.4 KB
master EncodeArgs net472 111μs 10.2ns 39.4ns 5.02 0 0 32.5 KB
master EncodeLegacyArgs net6.0 145μs 31.9ns 111ns 0 0 0 2.15 KB
master EncodeLegacyArgs netcoreapp3.1 196μs 193ns 721ns 0 0 0 2.14 KB
master EncodeLegacyArgs net472 264μs 44.3ns 172ns 0 0 0 2.17 KB
#7718 EncodeArgs net6.0 77.7μs 227ns 849ns 0 0 0 32.4 KB
#7718 EncodeArgs netcoreapp3.1 96.8μs 297ns 1.15μs 0 0 0 32.4 KB
#7718 EncodeArgs net472 109μs 19.9ns 77.2ns 4.92 0 0 32.51 KB
#7718 EncodeLegacyArgs net6.0 143μs 28.8ns 104ns 0 0 0 2.15 KB
#7718 EncodeLegacyArgs netcoreapp3.1 197μs 104ns 376ns 0 0 0 2.14 KB
#7718 EncodeLegacyArgs net472 265μs 151ns 586ns 0 0 0 2.16 KB
Benchmarks.Trace.Asm.AppSecWafBenchmark - Faster 🎉 Same allocations ✔️

Faster 🎉 in #7718

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 2.361 710,421.72 300,885.67
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 1.367 856,577.71 626,424.90

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunWafRealisticBenchmark net6.0 391μs 51.2ns 198ns 0 0 0 4.55 KB
master RunWafRealisticBenchmark netcoreapp3.1 802μs 13.8μs 136μs 0 0 0 4.48 KB
master RunWafRealisticBenchmark net472 426μs 71.1ns 275ns 0 0 0 4.66 KB
master RunWafRealisticBenchmarkWithAttack net6.0 286μs 54ns 209ns 0 0 0 2.24 KB
master RunWafRealisticBenchmarkWithAttack netcoreapp3.1 669μs 13.2μs 132μs 0 0 0 2.22 KB
master RunWafRealisticBenchmarkWithAttack net472 311μs 21.1ns 73.2ns 0 0 0 2.29 KB
#7718 RunWafRealisticBenchmark net6.0 395μs 56.6ns 212ns 0 0 0 4.55 KB
#7718 RunWafRealisticBenchmark netcoreapp3.1 620μs 3.63μs 34.7μs 0 0 0 4.48 KB
#7718 RunWafRealisticBenchmark net472 428μs 64.6ns 242ns 0 0 0 4.66 KB
#7718 RunWafRealisticBenchmarkWithAttack net6.0 287μs 18.3ns 68.6ns 0 0 0 2.24 KB
#7718 RunWafRealisticBenchmarkWithAttack netcoreapp3.1 301μs 25.3ns 94.7ns 0 0 0 2.22 KB
#7718 RunWafRealisticBenchmarkWithAttack net472 310μs 22.7ns 81.8ns 0 0 0 2.29 KB
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendRequest net6.0 60.5μs 58.3ns 202ns 0 0 0 14.52 KB
master SendRequest netcoreapp3.1 71.8μs 99.4ns 372ns 0 0 0 17.42 KB
master SendRequest net472 0.00126ns 0.000703ns 0.00263ns 0 0 0 0 b
#7718 SendRequest net6.0 61μs 54.5ns 189ns 0 0 0 14.52 KB
#7718 SendRequest netcoreapp3.1 71.2μs 111ns 429ns 0 0 0 17.42 KB
#7718 SendRequest net472 0.00599ns 0.00193ns 0.00748ns 0 0 0 0 b
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ Fewer allocations 🎉

Fewer allocations 🎉 in #7718

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 6 B 4 B -2 B -33.33%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 3 B 1 B -2 B -66.67%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net472 73 B 0 b -73 B -100.00%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net472 47 B 0 b -47 B -100.00%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master OriginalCharSlice net6.0 1.92ms 6.16μs 22.2μs 0 0 0 640 KB
master OriginalCharSlice netcoreapp3.1 2.11ms 719ns 2.59μs 0 0 0 640 KB
master OriginalCharSlice net472 2.64ms 383ns 1.43μs 100 0 0 641.95 KB
master OptimizedCharSlice net6.0 1.45ms 120ns 465ns 0 0 0 6 B
master OptimizedCharSlice netcoreapp3.1 1.72ms 294ns 1.14μs 0 0 0 1 B
master OptimizedCharSlice net472 1.96ms 456ns 1.77μs 0 0 0 73 B
master OptimizedCharSliceWithPool net6.0 809μs 43.9ns 170ns 0 0 0 3 B
master OptimizedCharSliceWithPool netcoreapp3.1 866μs 80.2ns 311ns 0 0 0 1 B
master OptimizedCharSliceWithPool net472 1.27ms 97.5ns 378ns 0 0 0 47 B
#7718 OriginalCharSlice net6.0 1.92ms 3.78μs 14.7μs 0 0 0 640.01 KB
#7718 OriginalCharSlice netcoreapp3.1 2.15ms 5.7μs 22.1μs 0 0 0 640 KB
#7718 OriginalCharSlice net472 2.65ms 299ns 1.12μs 100 0 0 641.95 KB
#7718 OptimizedCharSlice net6.0 1.34ms 171ns 641ns 0 0 0 4 B
#7718 OptimizedCharSlice netcoreapp3.1 1.67ms 527ns 2.04μs 0 0 0 1 B
#7718 OptimizedCharSlice net472 1.96ms 269ns 1.04μs 0 0 0 0 b
#7718 OptimizedCharSliceWithPool net6.0 795μs 36.9ns 143ns 0 0 0 1 B
#7718 OptimizedCharSliceWithPool netcoreapp3.1 873μs 99.5ns 372ns 0 0 0 1 B
#7718 OptimizedCharSliceWithPool net472 1.19ms 146ns 564ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Faster 🎉 More allocations ⚠️

Faster 🎉 in #7718

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 1.185 786,243.53 663,250.16

More allocations ⚠️ in #7718

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 41.77 KB 41.98 KB 211 B 0.51%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 694μs 3.68μs 19.8μs 0 0 0 41.66 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 796μs 4.32μs 25.2μs 0 0 0 41.77 KB
master WriteAndFlushEnrichedTraces net472 988μs 5.59μs 37.1μs 4.81 0 0 56.05 KB
#7718 WriteAndFlushEnrichedTraces net6.0 725μs 3.77μs 18.1μs 0 0 0 41.67 KB
#7718 WriteAndFlushEnrichedTraces netcoreapp3.1 668μs 3.31μs 14.8μs 0 0 0 41.98 KB
#7718 WriteAndFlushEnrichedTraces net472 906μs 4.15μs 15.5μs 4.46 0 0 56.01 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteNonQuery net6.0 1.93μs 2.54ns 9.82ns 0 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 2.67μs 12.5ns 48.5ns 0 0 0 1.02 KB
master ExecuteNonQuery net472 2.88μs 2.14ns 8.28ns 0.156 0.0142 0 987 B
#7718 ExecuteNonQuery net6.0 1.89μs 9.37ns 42.9ns 0 0 0 1.02 KB
#7718 ExecuteNonQuery netcoreapp3.1 2.72μs 9.52ns 36.9ns 0 0 0 1.02 KB
#7718 ExecuteNonQuery net472 2.87μs 3.91ns 15.1ns 0.154 0.014 0 987 B
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net6.0 1.72μs 8.21ns 33.8ns 0 0 0 1.03 KB
master CallElasticsearch netcoreapp3.1 2.25μs 10.8ns 47ns 0 0 0 1.03 KB
master CallElasticsearch net472 3.67μs 7.08ns 27.4ns 0.165 0 0 1.04 KB
master CallElasticsearchAsync net6.0 1.85μs 8.14ns 31.5ns 0 0 0 1.01 KB
master CallElasticsearchAsync netcoreapp3.1 2.51μs 11.2ns 43.3ns 0 0 0 1.08 KB
master CallElasticsearchAsync net472 3.68μs 1.95ns 7.57ns 0.166 0 0 1.1 KB
#7718 CallElasticsearch net6.0 1.72μs 7.12ns 27.6ns 0 0 0 1.03 KB
#7718 CallElasticsearch netcoreapp3.1 2.2μs 8.83ns 34.2ns 0 0 0 1.03 KB
#7718 CallElasticsearch net472 3.65μs 2.59ns 9.69ns 0.165 0 0 1.04 KB
#7718 CallElasticsearchAsync net6.0 1.84μs 3.59ns 13.4ns 0 0 0 1.01 KB
#7718 CallElasticsearchAsync netcoreapp3.1 2.34μs 8.25ns 31.9ns 0 0 0 1.08 KB
#7718 CallElasticsearchAsync net472 3.65μs 2.06ns 7.99ns 0.164 0 0 1.1 KB
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteAsync net6.0 1.86μs 1.15ns 4.14ns 0 0 0 952 B
master ExecuteAsync netcoreapp3.1 2.55μs 3.97ns 15.4ns 0 0 0 952 B
master ExecuteAsync net472 2.64μs 3.4ns 13.2ns 0.145 0 0 915 B
#7718 ExecuteAsync net6.0 1.93μs 8.52ns 33ns 0 0 0 952 B
#7718 ExecuteAsync netcoreapp3.1 2.48μs 8.82ns 34.1ns 0 0 0 952 B
#7718 ExecuteAsync net472 2.61μs 2.24ns 8.67ns 0.144 0 0 915 B
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net6.0 6.99μs 10.3ns 39.7ns 0 0 0 2.36 KB
master SendAsync netcoreapp3.1 8.63μs 27.6ns 107ns 0 0 0 2.9 KB
master SendAsync net472 12.1μs 13.8ns 53.6ns 0.484 0 0 3.18 KB
#7718 SendAsync net6.0 7.09μs 10.8ns 40.3ns 0 0 0 2.36 KB
#7718 SendAsync netcoreapp3.1 8.81μs 9.22ns 35.7ns 0 0 0 2.9 KB
#7718 SendAsync net472 12.1μs 11ns 42.6ns 0.484 0 0 3.18 KB
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️

More allocations ⚠️ in #7718

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 278.53 KB 286.72 KB 8.19 KB 2.94%

Fewer allocations 🎉 in #7718

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 43.22 KB 42.94 KB -272 B -0.63%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 44.42 KB 43.16 KB -1.26 KB -2.83%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 274.46 KB 258.32 KB -16.14 KB -5.88%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 279.38 KB 256.5 KB -22.87 KB -8.19%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 65.54 KB 57.34 KB -8.19 KB -12.50%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StringConcatBenchmark net6.0 44.2μs 244ns 1.38μs 0 0 0 44.42 KB
master StringConcatBenchmark netcoreapp3.1 48μs 264ns 1.59μs 0 0 0 43.22 KB
master StringConcatBenchmark net472 57.7μs 250ns 935ns 0 0 0 65.54 KB
master StringConcatAspectBenchmark net6.0 516μs 2.61μs 11.4μs 0 0 0 279.38 KB
master StringConcatAspectBenchmark netcoreapp3.1 524μs 2.28μs 7.9μs 0 0 0 274.46 KB
master StringConcatAspectBenchmark net472 405μs 1.94μs 13.6μs 0 0 0 278.53 KB
#7718 StringConcatBenchmark net6.0 44.2μs 348ns 3.26μs 0 0 0 43.16 KB
#7718 StringConcatBenchmark netcoreapp3.1 49.4μs 285ns 2.23μs 0 0 0 42.94 KB
#7718 StringConcatBenchmark net472 57.6μs 111ns 401ns 0 0 0 57.34 KB
#7718 StringConcatAspectBenchmark net6.0 519μs 2.63μs 12.9μs 0 0 0 256.5 KB
#7718 StringConcatAspectBenchmark netcoreapp3.1 499μs 2.2μs 8.79μs 0 0 0 258.32 KB
#7718 StringConcatAspectBenchmark net472 403μs 2.06μs 9.9μs 0 0 0 286.72 KB
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 2.66μs 3.23ns 12.5ns 0 0 0 1.7 KB
master EnrichedLog netcoreapp3.1 3.64μs 3.74ns 14.5ns 0 0 0 1.7 KB
master EnrichedLog net472 3.83μs 3.73ns 14.5ns 0.251 0 0 1.64 KB
#7718 EnrichedLog net6.0 2.67μs 0.513ns 1.85ns 0 0 0 1.7 KB
#7718 EnrichedLog netcoreapp3.1 3.59μs 18.1ns 83ns 0 0 0 1.7 KB
#7718 EnrichedLog net472 3.8μs 2.72ns 10.5ns 0.246 0 0 1.64 KB
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 123μs 85.3ns 295ns 0 0 0 4.31 KB
master EnrichedLog netcoreapp3.1 128μs 101ns 366ns 0 0 0 4.31 KB
master EnrichedLog net472 167μs 46.8ns 181ns 0 0 0 4.51 KB
#7718 EnrichedLog net6.0 124μs 292ns 1.09μs 0 0 0 4.31 KB
#7718 EnrichedLog netcoreapp3.1 129μs 299ns 1.16μs 0 0 0 4.31 KB
#7718 EnrichedLog net472 168μs 97.3ns 364ns 0 0 0 4.52 KB
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 4.91μs 3.54ns 12.8ns 0 0 0 2.26 KB
master EnrichedLog netcoreapp3.1 6.75μs 4.74ns 17.1ns 0 0 0 2.26 KB
master EnrichedLog net472 7.64μs 5ns 19.4ns 0.304 0 0 2.08 KB
#7718 EnrichedLog net6.0 5.04μs 8.58ns 32.1ns 0 0 0 2.26 KB
#7718 EnrichedLog netcoreapp3.1 7.04μs 27.9ns 108ns 0 0 0 2.26 KB
#7718 EnrichedLog net472 7.59μs 8.68ns 33.6ns 0.304 0 0 2.08 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendReceive net6.0 2.03μs 9.96ns 42.3ns 0 0 0 1.2 KB
master SendReceive netcoreapp3.1 2.73μs 10ns 38.9ns 0 0 0 1.2 KB
master SendReceive net472 3.05μs 3.47ns 13.5ns 0.182 0 0 1.2 KB
#7718 SendReceive net6.0 1.95μs 8.94ns 34.6ns 0 0 0 1.2 KB
#7718 SendReceive netcoreapp3.1 2.68μs 9.61ns 37.2ns 0 0 0 1.2 KB
#7718 SendReceive net472 3.06μs 4.16ns 16.1ns 0.184 0 0 1.2 KB
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 4.35μs 5.72ns 22.1ns 0 0 0 1.58 KB
master EnrichedLog netcoreapp3.1 5.52μs 13.9ns 54ns 0 0 0 1.63 KB
master EnrichedLog net472 6.52μs 11.1ns 42.9ns 0.293 0 0 2.03 KB
#7718 EnrichedLog net6.0 4.2μs 2.25ns 8.72ns 0 0 0 1.58 KB
#7718 EnrichedLog netcoreapp3.1 5.49μs 13.9ns 53.8ns 0 0 0 1.63 KB
#7718 EnrichedLog net472 6.55μs 6.25ns 24.2ns 0.293 0 0 2.03 KB
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net6.0 760ns 3.58ns 13.9ns 0 0 0 576 B
master StartFinishSpan netcoreapp3.1 979ns 0.249ns 0.862ns 0 0 0 576 B
master StartFinishSpan net472 950ns 0.0648ns 0.234ns 0.0907 0 0 578 B
master StartFinishScope net6.0 923ns 4.32ns 16.7ns 0 0 0 696 B
master StartFinishScope netcoreapp3.1 1.22μs 5.63ns 21.8ns 0 0 0 696 B
master StartFinishScope net472 1.15μs 1.13ns 4.36ns 0.103 0 0 658 B
#7718 StartFinishSpan net6.0 783ns 3.8ns 16.5ns 0 0 0 576 B
#7718 StartFinishSpan netcoreapp3.1 958ns 4.9ns 21.9ns 0 0 0 576 B
#7718 StartFinishSpan net472 942ns 0.423ns 1.64ns 0.0897 0 0 578 B
#7718 StartFinishScope net6.0 918ns 5.01ns 27.5ns 0 0 0 696 B
#7718 StartFinishScope netcoreapp3.1 1.19μs 5.82ns 24.7ns 0 0 0 696 B
#7718 StartFinishScope net472 1.14μs 0.358ns 1.34ns 0.102 0 0 658 B
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunOnMethodBegin net6.0 1.05μs 5.01ns 20ns 0 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 1.39μs 7.19ns 33ns 0 0 0 696 B
master RunOnMethodBegin net472 1.48μs 0.718ns 2.59ns 0.103 0 0 658 B
#7718 RunOnMethodBegin net6.0 1.06μs 0.358ns 1.39ns 0 0 0 696 B
#7718 RunOnMethodBegin netcoreapp3.1 1.43μs 7.15ns 31.2ns 0 0 0 696 B
#7718 RunOnMethodBegin net472 1.43μs 1.04ns 4.04ns 0.0994 0 0 658 B

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

dd-trace-dotnet-ci-bot bot commented Oct 27, 2025

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing the following branches/commits:

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 shown 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).

gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (78ms)  : 74, 82
     .   : milestone, 78,
    master - mean (83ms)  : 78, 88
     .   : milestone, 83,

    section Baseline
    This PR (7718) - mean (73ms)  : 69, 77
     .   : milestone, 73,
    master - mean (78ms)  : 72, 84
     .   : milestone, 78,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (1,085ms)  : 1017, 1153
     .   : milestone, 1085,
    master - mean (1,146ms)  : 1082, 1209
     .   : milestone, 1146,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (115ms)  : 111, 119
     .   : milestone, 115,
    master - mean (125ms)  : 118, 132
     .   : milestone, 125,

    section Baseline
    This PR (7718) - mean (114ms)  : 108, 119
     .   : milestone, 114,
    master - mean (124ms)  : 117, 131
     .   : milestone, 124,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (781ms)  : 742, 819
     .   : milestone, 781,
    master - mean (831ms)  : 799, 864
     .   : milestone, 831,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (100ms)  : 97, 104
     .   : milestone, 100,
    master - mean (109ms)  : 103, 115
     .   : milestone, 109,

    section Baseline
    This PR (7718) - mean (100ms)  : 96, 104
     .   : milestone, 100,
    master - mean (109ms)  : 102, 115
     .   : milestone, 109,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (732ms)  : 691, 774
     .   : milestone, 732,
    master - mean (774ms)  : 739, 810
     .   : milestone, 774,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (100ms)  : 95, 104
     .   : milestone, 100,
    master - mean (108ms)  : 103, 113
     .   : milestone, 108,

    section Baseline
    This PR (7718) - mean (98ms)  : 95, 102
     .   : milestone, 98,
    master - mean (107ms)  : 101, 112
     .   : milestone, 107,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (688ms)  : 669, 706
     .   : milestone, 688,
    master - mean (733ms)  : 706, 760
     .   : milestone, 733,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (195ms)  : 193, 197
     .   : milestone, 195,
    master - mean (196ms)  : 193, 199
     .   : milestone, 196,

    section Baseline
    This PR (7718) - mean (192ms)  : 188, 195
     .   : milestone, 192,
    master - mean (191ms)  : 188, 195
     .   : milestone, 191,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (1,165ms)  : 1101, 1229
     .   : milestone, 1165,
    master - mean (1,168ms)  : 1103, 1233
     .   : milestone, 1168,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (275ms)  : 272, 279
     .   : milestone, 275,
    master - mean (277ms)  : 272, 282
     .   : milestone, 277,

    section Baseline
    This PR (7718) - mean (275ms)  : 268, 282
     .   : milestone, 275,
    master - mean (276ms)  : 271, 281
     .   : milestone, 276,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (940ms)  : 893, 988
     .   : milestone, 940,
    master - mean (941ms)  : 893, 989
     .   : milestone, 941,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (268ms)  : 265, 272
     .   : milestone, 268,
    master - mean (269ms)  : 265, 272
     .   : milestone, 269,

    section Baseline
    This PR (7718) - mean (267ms)  : 264, 271
     .   : milestone, 267,
    master - mean (268ms)  : 264, 272
     .   : milestone, 268,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (927ms)  : 871, 983
     .   : milestone, 927,
    master - mean (928ms)  : 881, 974
     .   : milestone, 928,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Bailout
    This PR (7718) - mean (267ms)  : 264, 270
     .   : milestone, 267,
    master - mean (269ms)  : 265, 272
     .   : milestone, 269,

    section Baseline
    This PR (7718) - mean (267ms)  : 262, 272
     .   : milestone, 267,
    master - mean (267ms)  : 263, 272
     .   : milestone, 267,

    section CallTarget+Inlining+NGEN
    This PR (7718) - mean (850ms)  : 828, 872
     .   : milestone, 850,
    master - mean (857ms)  : 838, 876
     .   : milestone, 857,

Loading

@andrewlock andrewlock marked this pull request as ready for review October 28, 2025 09:45
@andrewlock andrewlock requested review from a team as code owners October 28, 2025 09:45
@andrewlock andrewlock merged commit 5f33ec0 into master Oct 28, 2025
151 checks passed
@andrewlock andrewlock deleted the nacho/updateLinuxVMs branch October 28, 2025 09:45
@github-actions github-actions bot added this to the vNext-v3 milestone Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants