Bump softprops/action-gh-release from 2.3.3 to 2.4.1 in the gh-actions-packages group across 1 directory by dependabot[bot] · Pull Request #7758 · DataDog/dd-trace-dotnet

Benchmarks

Benchmarks Report for benchmark platform 🐌

Benchmarks for #7758 compared to master:

  • 1 benchmarks are faster, with geometric mean 1.158
  • 3 benchmarks are slower, with geometric mean 1.587
  • 8 benchmarks have fewer allocations
  • 3 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 ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 10.5μs 59.8ns 418ns 0 0 0 5.5 KB
master StartStopWithChild netcoreapp3.1 13.8μs 72.2ns 339ns 0 0 0 5.72 KB
master StartStopWithChild net472 21.8μs 116ns 643ns 0.966 0.322 0.107 6.06 KB
#7758 StartStopWithChild net6.0 11.2μs 28.6ns 111ns 0 0 0 5.51 KB
#7758 StartStopWithChild netcoreapp3.1 13.9μs 62.9ns 252ns 0 0 0 5.72 KB
#7758 StartStopWithChild net472 21.7μs 124ns 934ns 0.97 0.323 0.108 6.04 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 944μs 210ns 812ns 0 0 0 2.71 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 1.04ms 107ns 369ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 1.21ms 2.33μs 8.72μs 0 0 0 3.31 KB
#7758 WriteAndFlushEnrichedTraces net6.0 958μs 60.2ns 225ns 0 0 0 2.71 KB
#7758 WriteAndFlushEnrichedTraces netcoreapp3.1 1.02ms 582ns 2.26μs 0 0 0 2.7 KB
#7758 WriteAndFlushEnrichedTraces net472 1.2ms 352ns 1.36μs 0 0 0 3.31 KB
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Faster 🎉 Same allocations ✔️

Faster 🎉 in #7758

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody‑net472 1.158 1,188.67 1,026.51

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master AllCycleSimpleBody net6.0 1.1μs 5.7ns 28.5ns 0 0 0 1.22 KB
master AllCycleSimpleBody netcoreapp3.1 1.39μs 7.52ns 41.2ns 0 0 0 1.2 KB
master AllCycleSimpleBody net472 1.19μs 2.22ns 8.3ns 0.194 0 0 1.23 KB
master AllCycleMoreComplexBody net6.0 7.07μs 33.8ns 135ns 0 0 0 4.72 KB
master AllCycleMoreComplexBody netcoreapp3.1 9.09μs 5.42ns 21ns 0 0 0 4.62 KB
master AllCycleMoreComplexBody net472 7.58μs 6.21ns 24ns 0.718 0 0 4.74 KB
master ObjectExtractorSimpleBody net6.0 317ns 0.174ns 0.65ns 0 0 0 280 B
master ObjectExtractorSimpleBody netcoreapp3.1 397ns 2.22ns 13.1ns 0 0 0 272 B
master ObjectExtractorSimpleBody net472 296ns 0.0296ns 0.111ns 0.0432 0 0 281 B
master ObjectExtractorMoreComplexBody net6.0 6.34μs 4.03ns 15.1ns 0 0 0 3.78 KB
master ObjectExtractorMoreComplexBody netcoreapp3.1 7.84μs 28.6ns 111ns 0 0 0 3.69 KB
master ObjectExtractorMoreComplexBody net472 6.78μs 8.32ns 32.2ns 0.578 0 0 3.8 KB
#7758 AllCycleSimpleBody net6.0 1.08μs 6.04ns 40.1ns 0 0 0 1.22 KB
#7758 AllCycleSimpleBody netcoreapp3.1 1.41μs 7.56ns 42.1ns 0 0 0 1.2 KB
#7758 AllCycleSimpleBody net472 1.03μs 0.343ns 1.28ns 0.19 0 0 1.23 KB
#7758 AllCycleMoreComplexBody net6.0 7.08μs 31.6ns 122ns 0 0 0 4.72 KB
#7758 AllCycleMoreComplexBody netcoreapp3.1 9.19μs 2.1ns 7.86ns 0 0 0 4.62 KB
#7758 AllCycleMoreComplexBody net472 7.64μs 3.21ns 12.4ns 0.726 0 0 4.74 KB
#7758 ObjectExtractorSimpleBody net6.0 311ns 1.77ns 11.4ns 0 0 0 280 B
#7758 ObjectExtractorSimpleBody netcoreapp3.1 396ns 2ns 9.37ns 0 0 0 272 B
#7758 ObjectExtractorSimpleBody net472 296ns 0.0379ns 0.142ns 0.0433 0 0 281 B
#7758 ObjectExtractorMoreComplexBody net6.0 6.34μs 30.4ns 122ns 0 0 0 3.78 KB
#7758 ObjectExtractorMoreComplexBody netcoreapp3.1 7.74μs 37.5ns 150ns 0 0 0 3.69 KB
#7758 ObjectExtractorMoreComplexBody net472 6.66μs 1.35ns 5.24ns 0.6 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 76.9μs 220ns 852ns 0 0 0 32.4 KB
master EncodeArgs netcoreapp3.1 97.4μs 388ns 1.5μs 0 0 0 32.4 KB
master EncodeArgs net472 111μs 14.2ns 55ns 5.03 0 0 32.51 KB
master EncodeLegacyArgs net6.0 143μs 12.1ns 47ns 0 0 0 2.15 KB
master EncodeLegacyArgs netcoreapp3.1 196μs 231ns 893ns 0 0 0 2.14 KB
master EncodeLegacyArgs net472 262μs 73ns 283ns 0 0 0 2.16 KB
#7758 EncodeArgs net6.0 77.6μs 254ns 915ns 0 0 0 32.4 KB
#7758 EncodeArgs netcoreapp3.1 97.3μs 307ns 1.19μs 0 0 0 32.4 KB
#7758 EncodeArgs net472 110μs 83.4ns 323ns 4.95 0 0 32.51 KB
#7758 EncodeLegacyArgs net6.0 143μs 12.5ns 48.3ns 0 0 0 2.15 KB
#7758 EncodeLegacyArgs netcoreapp3.1 198μs 255ns 989ns 0 0 0 2.14 KB
#7758 EncodeLegacyArgs net472 265μs 34.8ns 135ns 0 0 0 2.16 KB
Benchmarks.Trace.Asm.AppSecWafBenchmark - Slower ⚠️ Same allocations ✔️

Slower ⚠️ in #7758

Benchmark diff/base Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 2.097 408,767.44 857,133.96
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 1.702 297,597.24 506,646.49

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunWafRealisticBenchmark net6.0 395μs 72.9ns 282ns 0 0 0 4.56 KB
master RunWafRealisticBenchmark netcoreapp3.1 409μs 55.5ns 200ns 0 0 0 4.48 KB
master RunWafRealisticBenchmark net472 427μs 84.4ns 327ns 0 0 0 4.66 KB
master RunWafRealisticBenchmarkWithAttack net6.0 289μs 23.6ns 91.6ns 0 0 0 2.24 KB
master RunWafRealisticBenchmarkWithAttack netcoreapp3.1 297μs 211ns 791ns 0 0 0 2.22 KB
master RunWafRealisticBenchmarkWithAttack net472 314μs 35ns 135ns 0 0 0 2.29 KB
#7758 RunWafRealisticBenchmark net6.0 393μs 100ns 389ns 0 0 0 4.55 KB
#7758 RunWafRealisticBenchmark netcoreapp3.1 854μs 3.94μs 15.3μs 0 0 0 4.48 KB
#7758 RunWafRealisticBenchmark net472 428μs 56.4ns 218ns 0 0 0 4.66 KB
#7758 RunWafRealisticBenchmarkWithAttack net6.0 288μs 39.7ns 143ns 0 0 0 2.24 KB
#7758 RunWafRealisticBenchmarkWithAttack netcoreapp3.1 495μs 4.65μs 46.1μs 0 0 0 2.22 KB
#7758 RunWafRealisticBenchmarkWithAttack net472 313μs 45.6ns 177ns 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 61.6μs 37.2ns 144ns 0 0 0 14.52 KB
master SendRequest netcoreapp3.1 72.3μs 45.7ns 158ns 0 0 0 17.42 KB
master SendRequest net472 0.000598ns 0.000567ns 0.00219ns 0 0 0 0 b
#7758 SendRequest net6.0 61.6μs 27.8ns 96.2ns 0 0 0 14.52 KB
#7758 SendRequest netcoreapp3.1 71.2μs 120ns 450ns 0 0 0 17.42 KB
#7758 SendRequest net472 0.00489ns 0.00177ns 0.00686ns 0 0 0 0 b
Benchmarks.Trace.CharSliceBenchmark - Slower ⚠️ Fewer allocations 🎉

Slower ⚠️ in #7758

Benchmark diff/base Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 1.119 815,538.94 912,678.12

Fewer allocations 🎉 in #7758

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 5 B 4 B -1 B -20.00%
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 7 B 4 B -3 B -42.86%
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 23μs 0 0 0 640.01 KB
master OriginalCharSlice netcoreapp3.1 2.13ms 8.48μs 30.6μs 0 0 0 640 KB
master OriginalCharSlice net472 2.67ms 1.16μs 4.2μs 100 0 0 641.95 KB
master OptimizedCharSlice net6.0 1.43ms 192ns 742ns 0 0 0 7 B
master OptimizedCharSlice netcoreapp3.1 1.67ms 505ns 1.95μs 0 0 0 1 B
master OptimizedCharSlice net472 1.97ms 160ns 620ns 0 0 0 73 B
master OptimizedCharSliceWithPool net6.0 816μs 15.1ns 56.3ns 0 0 0 5 B
master OptimizedCharSliceWithPool netcoreapp3.1 808μs 70.3ns 272ns 0 0 0 1 B
master OptimizedCharSliceWithPool net472 1.15ms 148ns 572ns 0 0 0 47 B
#7758 OriginalCharSlice net6.0 1.97ms 5.84μs 21.8μs 0 0 0 640.01 KB
#7758 OriginalCharSlice netcoreapp3.1 2.06ms 6.83μs 25.6μs 0 0 0 640 KB
#7758 OriginalCharSlice net472 2.55ms 125ns 452ns 100 0 0 641.95 KB
#7758 OptimizedCharSlice net6.0 1.39ms 112ns 435ns 0 0 0 4 B
#7758 OptimizedCharSlice netcoreapp3.1 1.73ms 396ns 1.53μs 0 0 0 1 B
#7758 OptimizedCharSlice net472 1.9ms 253ns 980ns 0 0 0 0 b
#7758 OptimizedCharSliceWithPool net6.0 913μs 51.5ns 199ns 0 0 0 4 B
#7758 OptimizedCharSliceWithPool netcoreapp3.1 836μs 27.8ns 100ns 0 0 0 1 B
#7758 OptimizedCharSliceWithPool net472 1.17ms 119ns 462ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations ⚠️

More allocations ⚠️ in #7758

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 42.09 KB 42.61 KB 521 B 1.24%

Fewer allocations 🎉 in #7758

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 56.36 KB 55.76 KB -599 B -1.06%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 702μs 900ns 3.25μs 0 0 0 42.09 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 751μs 990ns 3.83μs 0 0 0 42.05 KB
master WriteAndFlushEnrichedTraces net472 1.08ms 5.23μs 23.4μs 5.21 0 0 56.36 KB
#7758 WriteAndFlushEnrichedTraces net6.0 707μs 459ns 1.78μs 0 0 0 42.61 KB
#7758 WriteAndFlushEnrichedTraces netcoreapp3.1 709μs 4.48μs 44.6μs 0 0 0 42.14 KB
#7758 WriteAndFlushEnrichedTraces net472 1.01ms 5.74μs 49.4μs 4.46 0 0 55.76 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.92μs 10.2ns 50ns 0 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 2.61μs 7.9ns 30.6ns 0 0 0 1.02 KB
master ExecuteNonQuery net472 2.91μs 3.62ns 14ns 0.143 0.0143 0 987 B
#7758 ExecuteNonQuery net6.0 1.91μs 9.46ns 39ns 0 0 0 1.02 KB
#7758 ExecuteNonQuery netcoreapp3.1 2.6μs 9.97ns 38.6ns 0 0 0 1.02 KB
#7758 ExecuteNonQuery net472 2.88μs 3.49ns 13.5ns 0.143 0.0143 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.74μs 3.91ns 15.2ns 0 0 0 1.03 KB
master CallElasticsearch netcoreapp3.1 2.2μs 7.38ns 28.6ns 0 0 0 1.03 KB
master CallElasticsearch net472 3.65μs 2ns 7.76ns 0.165 0 0 1.04 KB
master CallElasticsearchAsync net6.0 1.85μs 9.13ns 40.8ns 0 0 0 1.01 KB
master CallElasticsearchAsync netcoreapp3.1 2.35μs 2.24ns 8.69ns 0 0 0 1.08 KB
master CallElasticsearchAsync net472 3.74μs 4.23ns 16.4ns 0.165 0 0 1.1 KB
#7758 CallElasticsearch net6.0 1.7μs 3.97ns 15.4ns 0 0 0 1.03 KB
#7758 CallElasticsearch netcoreapp3.1 2.2μs 11ns 48.1ns 0 0 0 1.03 KB
#7758 CallElasticsearch net472 3.58μs 2.39ns 9.25ns 0.162 0 0 1.04 KB
#7758 CallElasticsearchAsync net6.0 1.85μs 8.01ns 30ns 0 0 0 1.01 KB
#7758 CallElasticsearchAsync netcoreapp3.1 2.37μs 11ns 42.7ns 0 0 0 1.08 KB
#7758 CallElasticsearchAsync net472 3.66μs 2.34ns 9.06ns 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.92μs 8.68ns 33.6ns 0 0 0 952 B
master ExecuteAsync netcoreapp3.1 2.48μs 4.85ns 18.8ns 0 0 0 952 B
master ExecuteAsync net472 2.55μs 5.76ns 22.3ns 0.141 0 0 915 B
#7758 ExecuteAsync net6.0 1.88μs 3.88ns 14.5ns 0 0 0 952 B
#7758 ExecuteAsync netcoreapp3.1 2.39μs 8.41ns 32.6ns 0 0 0 952 B
#7758 ExecuteAsync net472 2.57μs 5.43ns 21ns 0.142 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.71μs 29.5ns 114ns 0 0 0 2.36 KB
master SendAsync netcoreapp3.1 8.64μs 19ns 73.6ns 0 0 0 2.9 KB
master SendAsync net472 12.4μs 9.67ns 36.2ns 0.495 0 0 3.18 KB
#7758 SendAsync net6.0 7.04μs 12.4ns 48.1ns 0 0 0 2.36 KB
#7758 SendAsync netcoreapp3.1 8.8μs 21.9ns 84.9ns 0 0 0 2.9 KB
#7758 SendAsync net472 12.1μs 6.68ns 25ns 0.482 0 0 3.18 KB
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️

More allocations ⚠️ in #7758

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 261.73 KB 276.34 KB 14.61 KB 5.58%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 278.53 KB 281.18 KB 2.66 KB 0.95%

Fewer allocations 🎉 in #7758

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 258.7 KB 256.1 KB -2.61 KB -1.01%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 45.75 KB 43.82 KB -1.94 KB -4.23%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 45.5 KB 42.7 KB -2.8 KB -6.15%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StringConcatBenchmark net6.0 41.9μs 205ns 1.1μs 0 0 0 45.75 KB
master StringConcatBenchmark netcoreapp3.1 56.2μs 646ns 6.43μs 0 0 0 45.5 KB
master StringConcatBenchmark net472 57.4μs 170ns 635ns 0 0 0 65.54 KB
master StringConcatAspectBenchmark net6.0 476μs 2.26μs 9.02μs 0 0 0 261.73 KB
master StringConcatAspectBenchmark netcoreapp3.1 528μs 2.62μs 10.8μs 0 0 0 258.7 KB
master StringConcatAspectBenchmark net472 405μs 2.32μs 18μs 0 0 0 278.53 KB
#7758 StringConcatBenchmark net6.0 44.5μs 238ns 1.19μs 0 0 0 43.82 KB
#7758 StringConcatBenchmark netcoreapp3.1 46μs 219ns 905ns 0 0 0 42.7 KB
#7758 StringConcatBenchmark net472 57.1μs 188ns 704ns 0 0 0 65.54 KB
#7758 StringConcatAspectBenchmark net6.0 461μs 941ns 3.26μs 0 0 0 276.34 KB
#7758 StringConcatAspectBenchmark netcoreapp3.1 501μs 1.77μs 6.37μs 0 0 0 256.1 KB
#7758 StringConcatAspectBenchmark net472 411μs 2.26μs 13.9μs 0 0 0 281.18 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.73μs 5.21ns 20.2ns 0 0 0 1.7 KB
master EnrichedLog netcoreapp3.1 3.64μs 14.3ns 55.5ns 0 0 0 1.7 KB
master EnrichedLog net472 4.04μs 5.1ns 19.8ns 0.244 0 0 1.64 KB
#7758 EnrichedLog net6.0 2.72μs 1.81ns 7.02ns 0 0 0 1.7 KB
#7758 EnrichedLog netcoreapp3.1 3.63μs 9.01ns 34.9ns 0 0 0 1.7 KB
#7758 EnrichedLog net472 4.05μs 6.33ns 24.5ns 0.243 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 124μs 102ns 382ns 0 0 0 4.31 KB
master EnrichedLog netcoreapp3.1 131μs 420ns 1.57μs 0 0 0 4.31 KB
master EnrichedLog net472 172μs 873ns 4.19μs 0 0 0 4.52 KB
#7758 EnrichedLog net6.0 121μs 103ns 386ns 0 0 0 4.31 KB
#7758 EnrichedLog netcoreapp3.1 129μs 213ns 737ns 0 0 0 4.31 KB
#7758 EnrichedLog net472 166μs 75.8ns 273ns 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.97μs 5.59ns 21.7ns 0 0 0 2.26 KB
master EnrichedLog netcoreapp3.1 6.93μs 12.5ns 48.5ns 0 0 0 2.26 KB
master EnrichedLog net472 7.56μs 5.55ns 21.5ns 0.302 0 0 2.08 KB
#7758 EnrichedLog net6.0 5.03μs 16.7ns 64.7ns 0 0 0 2.26 KB
#7758 EnrichedLog netcoreapp3.1 6.81μs 19.3ns 74.8ns 0 0 0 2.26 KB
#7758 EnrichedLog net472 7.55μs 5.75ns 22.3ns 0.301 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 1.98μs 2.47ns 9.57ns 0 0 0 1.2 KB
master SendReceive netcoreapp3.1 2.63μs 11.6ns 44.9ns 0 0 0 1.2 KB
master SendReceive net472 3.05μs 6.14ns 23.8ns 0.183 0 0 1.2 KB
#7758 SendReceive net6.0 2.07μs 0.991ns 3.71ns 0 0 0 1.2 KB
#7758 SendReceive netcoreapp3.1 2.63μs 12.4ns 49.8ns 0 0 0 1.2 KB
#7758 SendReceive net472 3.2μs 2.37ns 9.16ns 0.191 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.37μs 11.5ns 44.5ns 0 0 0 1.58 KB
master EnrichedLog netcoreapp3.1 5.71μs 11.3ns 43.9ns 0 0 0 1.63 KB
master EnrichedLog net472 6.61μs 11.6ns 45ns 0.297 0 0 2.03 KB
#7758 EnrichedLog net6.0 4.33μs 9.83ns 36.8ns 0 0 0 1.58 KB
#7758 EnrichedLog netcoreapp3.1 5.6μs 20.5ns 79.4ns 0 0 0 1.63 KB
#7758 EnrichedLog net472 6.46μs 6.88ns 25.7ns 0.291 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 771ns 0.381ns 1.43ns 0 0 0 576 B
master StartFinishSpan netcoreapp3.1 996ns 5.22ns 25ns 0 0 0 576 B
master StartFinishSpan net472 916ns 0.524ns 2.03ns 0.0873 0 0 578 B
master StartFinishScope net6.0 942ns 4.71ns 22.1ns 0 0 0 696 B
master StartFinishScope netcoreapp3.1 1.23μs 1.25ns 4.86ns 0 0 0 696 B
master StartFinishScope net472 1.11μs 1.09ns 4.2ns 0.1 0 0 658 B
#7758 StartFinishSpan net6.0 782ns 3.63ns 14.5ns 0 0 0 576 B
#7758 StartFinishSpan netcoreapp3.1 963ns 4.93ns 22.1ns 0 0 0 576 B
#7758 StartFinishSpan net472 927ns 0.688ns 2.57ns 0.088 0 0 578 B
#7758 StartFinishScope net6.0 948ns 4.6ns 18.4ns 0 0 0 696 B
#7758 StartFinishScope netcoreapp3.1 1.19μs 5.45ns 21.1ns 0 0 0 696 B
#7758 StartFinishScope net472 1.12μs 0.619ns 2.4ns 0.101 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.07μs 4.89ns 18.9ns 0 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 1.43μs 6.1ns 23.6ns 0 0 0 696 B
master RunOnMethodBegin net472 1.46μs 0.942ns 3.65ns 0.102 0 0 658 B
#7758 RunOnMethodBegin net6.0 1.09μs 1.56ns 6.05ns 0 0 0 696 B
#7758 RunOnMethodBegin netcoreapp3.1 1.47μs 5.28ns 20.4ns 0 0 0 696 B
#7758 RunOnMethodBegin net472 1.46μs 1.2ns 4.65ns 0.103 0 0 658 B