[Test Package Versions Bump] Updating package versions#7757
[Test Package Versions Bump] Updating package versions#7757andrewlock merged 1 commit intomasterfrom
Conversation
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7757 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Fewer allocations 🎉
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 3.35 KB | 3.31 KB | -46 B | -1.37% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 935μs | 153ns | 574ns | 0 | 0 | 0 | 2.71 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.01ms | 58.6ns | 203ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.2ms | 54.1ns | 195ns | 0 | 0 | 0 | 3.35 KB |
| #7757 | WriteAndFlushEnrichedTraces |
net6.0 | 954μs | 116ns | 448ns | 0 | 0 | 0 | 2.71 KB |
| #7757 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.04ms | 139ns | 540ns | 0 | 0 | 0 | 2.7 KB |
| #7757 | WriteAndFlushEnrichedTraces |
net472 | 1.22ms | 732ns | 2.74μs | 0 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | AllCycleSimpleBody |
net6.0 | 1.1μs | 6.12ns | 38.7ns | 0 | 0 | 0 | 1.22 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 1.41μs | 7.33ns | 35.1ns | 0 | 0 | 0 | 1.2 KB |
| master | AllCycleSimpleBody |
net472 | 1.03μs | 0.499ns | 1.87ns | 0.191 | 0 | 0 | 1.23 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 7.11μs | 35.4ns | 162ns | 0 | 0 | 0 | 4.72 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.87μs | 41.3ns | 170ns | 0 | 0 | 0 | 4.62 KB |
| master | AllCycleMoreComplexBody |
net472 | 7.58μs | 4.19ns | 15.7ns | 0.72 | 0 | 0 | 4.74 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 317ns | 1.78ns | 11.3ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 403ns | 2.07ns | 9.93ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 301ns | 0.0836ns | 0.324ns | 0.0433 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.23μs | 31.6ns | 145ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.83μs | 39ns | 161ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.67μs | 1.69ns | 6.53ns | 0.571 | 0 | 0 | 3.8 KB |
| #7757 | AllCycleSimpleBody |
net6.0 | 1.1μs | 6.22ns | 44.9ns | 0 | 0 | 0 | 1.22 KB |
| #7757 | AllCycleSimpleBody |
netcoreapp3.1 | 1.46μs | 7.79ns | 38.2ns | 0 | 0 | 0 | 1.2 KB |
| #7757 | AllCycleSimpleBody |
net472 | 1.04μs | 0.383ns | 1.48ns | 0.192 | 0 | 0 | 1.23 KB |
| #7757 | AllCycleMoreComplexBody |
net6.0 | 7.01μs | 3.29ns | 12.7ns | 0 | 0 | 0 | 4.72 KB |
| #7757 | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.94μs | 39.6ns | 153ns | 0 | 0 | 0 | 4.62 KB |
| #7757 | AllCycleMoreComplexBody |
net472 | 7.66μs | 3.99ns | 15.4ns | 0.729 | 0 | 0 | 4.74 KB |
| #7757 | ObjectExtractorSimpleBody |
net6.0 | 319ns | 1.81ns | 10.1ns | 0 | 0 | 0 | 280 B |
| #7757 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 403ns | 2.1ns | 9.86ns | 0 | 0 | 0 | 272 B |
| #7757 | ObjectExtractorSimpleBody |
net472 | 297ns | 0.0469ns | 0.169ns | 0.0438 | 0 | 0 | 281 B |
| #7757 | ObjectExtractorMoreComplexBody |
net6.0 | 6.37μs | 28.4ns | 110ns | 0 | 0 | 0 | 3.78 KB |
| #7757 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.89μs | 24.8ns | 96ns | 0 | 0 | 0 | 3.69 KB |
| #7757 | ObjectExtractorMoreComplexBody |
net472 | 6.71μs | 2.25ns | 8.7ns | 0.603 | 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 | 77.3μs | 229ns | 887ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 96.5μs | 302ns | 1.13μs | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 110μs | 13.3ns | 51.4ns | 4.95 | 0 | 0 | 32.51 KB |
| master | EncodeLegacyArgs |
net6.0 | 145μs | 26.9ns | 101ns | 0 | 0 | 0 | 2.15 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 140ns | 541ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 263μs | 276ns | 1.07μs | 0 | 0 | 0 | 2.16 KB |
| #7757 | EncodeArgs |
net6.0 | 77.1μs | 145ns | 544ns | 0 | 0 | 0 | 32.4 KB |
| #7757 | EncodeArgs |
netcoreapp3.1 | 98.3μs | 233ns | 903ns | 0 | 0 | 0 | 32.4 KB |
| #7757 | EncodeArgs |
net472 | 110μs | 14.4ns | 55.8ns | 4.97 | 0 | 0 | 32.51 KB |
| #7757 | EncodeLegacyArgs |
net6.0 | 147μs | 191ns | 741ns | 0 | 0 | 0 | 2.15 KB |
| #7757 | EncodeLegacyArgs |
netcoreapp3.1 | 205μs | 93.8ns | 351ns | 0 | 0 | 0 | 2.14 KB |
| #7757 | EncodeLegacyArgs |
net472 | 264μs | 54.7ns | 205ns | 0 | 0 | 0 | 2.16 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #7757
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1
2.410
299,111.46
720,794.49
Faster 🎉 in #7757
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1
2.059
854,922.78
415,240.19
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1 | 2.410 | 299,111.46 | 720,794.49 |
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑netcoreapp3.1 | 2.059 | 854,922.78 | 415,240.19 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 391μs | 153ns | 591ns | 0 | 0 | 0 | 4.55 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 822μs | 11.2μs | 112μs | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 430μs | 44.9ns | 168ns | 0 | 0 | 0 | 4.66 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 285μs | 71.8ns | 278ns | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 299μs | 58.6ns | 211ns | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 309μs | 26.2ns | 101ns | 0 | 0 | 0 | 2.29 KB |
| #7757 | RunWafRealisticBenchmark |
net6.0 | 392μs | 46.7ns | 175ns | 0 | 0 | 0 | 4.55 KB |
| #7757 | RunWafRealisticBenchmark |
netcoreapp3.1 | 417μs | 1.02μs | 3.54μs | 0 | 0 | 0 | 4.48 KB |
| #7757 | RunWafRealisticBenchmark |
net472 | 438μs | 59.9ns | 224ns | 0 | 0 | 0 | 4.66 KB |
| #7757 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 286μs | 29.4ns | 110ns | 0 | 0 | 0 | 2.24 KB |
| #7757 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 703μs | 7.46μs | 74.6μs | 0 | 0 | 0 | 2.22 KB |
| #7757 | RunWafRealisticBenchmarkWithAttack |
net472 | 315μs | 37.1ns | 139ns | 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 | 62.1μs | 215ns | 804ns | 0 | 0 | 0 | 14.52 KB |
| master | SendRequest |
netcoreapp3.1 | 72.1μs | 126ns | 454ns | 0 | 0 | 0 | 17.42 KB |
| master | SendRequest |
net472 | 0.00351ns | 0.00142ns | 0.0055ns | 0 | 0 | 0 | 0 b |
| #7757 | SendRequest |
net6.0 | 62μs | 229ns | 886ns | 0 | 0 | 0 | 14.52 KB |
| #7757 | SendRequest |
netcoreapp3.1 | 72.2μs | 69.8ns | 242ns | 0 | 0 | 0 | 17.42 KB |
| #7757 | SendRequest |
net472 | 0.00358ns | 0.00154ns | 0.00597ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7757
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
1 B
4 B
3 B
300.00%
Fewer allocations 🎉 in #7757
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0
7 B
4 B
-3 B
-42.86%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 | 1 B | 4 B | 3 B | 300.00% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 | 7 B | 4 B | -3 B | -42.86% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.92ms | 6.42μs | 24μs | 0 | 0 | 0 | 640.01 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 2.1ms | 3.29μs | 11.9μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
net472 | 2.63ms | 110ns | 395ns | 100 | 0 | 0 | 641.95 KB |
| master | OptimizedCharSlice |
net6.0 | 1.39ms | 194ns | 752ns | 0 | 0 | 0 | 7 B |
| master | OptimizedCharSlice |
netcoreapp3.1 | 1.68ms | 544ns | 2.11μs | 0 | 0 | 0 | 1 B |
| master | OptimizedCharSlice |
net472 | 1.94ms | 169ns | 653ns | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net6.0 | 795μs | 30.3ns | 117ns | 0 | 0 | 0 | 1 B |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 800μs | 130ns | 503ns | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.15ms | 62.2ns | 233ns | 0 | 0 | 0 | 0 b |
| #7757 | OriginalCharSlice |
net6.0 | 1.95ms | 1.27μs | 4.74μs | 0 | 0 | 0 | 640.01 KB |
| #7757 | OriginalCharSlice |
netcoreapp3.1 | 2.13ms | 6.49μs | 25.1μs | 0 | 0 | 0 | 640 KB |
| #7757 | OriginalCharSlice |
net472 | 2.63ms | 202ns | 727ns | 100 | 0 | 0 | 641.95 KB |
| #7757 | OptimizedCharSlice |
net6.0 | 1.47ms | 249ns | 963ns | 0 | 0 | 0 | 4 B |
| #7757 | OptimizedCharSlice |
netcoreapp3.1 | 1.72ms | 498ns | 1.93μs | 0 | 0 | 0 | 1 B |
| #7757 | OptimizedCharSlice |
net472 | 1.9ms | 328ns | 1.27μs | 0 | 0 | 0 | 0 b |
| #7757 | OptimizedCharSliceWithPool |
net6.0 | 838μs | 50.3ns | 195ns | 0 | 0 | 0 | 4 B |
| #7757 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 818μs | 124ns | 482ns | 0 | 0 | 0 | 0 b |
| #7757 | OptimizedCharSliceWithPool |
net472 | 1.17ms | 96.3ns | 373ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7757
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
55.83 KB
57.04 KB
1.21 KB
2.17%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
42.07 KB
42.34 KB
271 B
0.64%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 55.83 KB | 57.04 KB | 1.21 KB | 2.17% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 42.07 KB | 42.34 KB | 271 B | 0.64% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 702μs | 3.9μs | 24.3μs | 0 | 0 | 0 | 41.74 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 717μs | 3.33μs | 13.7μs | 0 | 0 | 0 | 42.07 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 866μs | 2.7μs | 9.35μs | 4.46 | 0 | 0 | 55.83 KB |
| #7757 | WriteAndFlushEnrichedTraces |
net6.0 | 659μs | 3.6μs | 20μs | 0 | 0 | 0 | 41.67 KB |
| #7757 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 742μs | 2.96μs | 11.5μs | 0 | 0 | 0 | 42.34 KB |
| #7757 | WriteAndFlushEnrichedTraces |
net472 | 886μs | 4.43μs | 20.3μs | 8.33 | 0 | 0 | 57.04 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 | 9.02ns | 36.1ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.52μs | 11.2ns | 43.5ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.91μs | 3.13ns | 12.1ns | 0.144 | 0.0144 | 0 | 987 B |
| #7757 | ExecuteNonQuery |
net6.0 | 1.9μs | 9.2ns | 37.9ns | 0 | 0 | 0 | 1.02 KB |
| #7757 | ExecuteNonQuery |
netcoreapp3.1 | 2.6μs | 8.07ns | 30.2ns | 0 | 0 | 0 | 1.02 KB |
| #7757 | ExecuteNonQuery |
net472 | 2.92μs | 5.24ns | 19.6ns | 0.144 | 0.0144 | 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.7μs | 8.55ns | 39.2ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.17μs | 10.8ns | 44.5ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 3.63μs | 3.45ns | 12.4ns | 0.163 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.86μs | 5.12ns | 19.8ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.43μs | 6.67ns | 25.8ns | 0 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 3.72μs | 2.09ns | 8.11ns | 0.167 | 0 | 0 | 1.1 KB |
| #7757 | CallElasticsearch |
net6.0 | 1.69μs | 8.85ns | 44.3ns | 0 | 0 | 0 | 1.03 KB |
| #7757 | CallElasticsearch |
netcoreapp3.1 | 2.19μs | 6.92ns | 26.8ns | 0 | 0 | 0 | 1.03 KB |
| #7757 | CallElasticsearch |
net472 | 3.6μs | 3.26ns | 12.6ns | 0.161 | 0 | 0 | 1.04 KB |
| #7757 | CallElasticsearchAsync |
net6.0 | 1.88μs | 9.01ns | 37.2ns | 0 | 0 | 0 | 1.01 KB |
| #7757 | CallElasticsearchAsync |
netcoreapp3.1 | 2.38μs | 3.94ns | 14.8ns | 0 | 0 | 0 | 1.08 KB |
| #7757 | CallElasticsearchAsync |
net472 | 3.69μs | 5.48ns | 21.2ns | 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 | 8.11ns | 31.4ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.52μs | 9.97ns | 37.3ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.53μs | 1.22ns | 4.74ns | 0.139 | 0 | 0 | 915 B |
| #7757 | ExecuteAsync |
net6.0 | 1.94μs | 7.7ns | 29.8ns | 0 | 0 | 0 | 952 B |
| #7757 | ExecuteAsync |
netcoreapp3.1 | 2.44μs | 2.4ns | 9.3ns | 0 | 0 | 0 | 952 B |
| #7757 | ExecuteAsync |
net472 | 2.59μs | 2.76ns | 10.3ns | 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.91μs | 18.2ns | 68ns | 0 | 0 | 0 | 2.36 KB |
| master | SendAsync |
netcoreapp3.1 | 8.87μs | 13.3ns | 51.7ns | 0 | 0 | 0 | 2.9 KB |
| master | SendAsync |
net472 | 12.4μs | 5.95ns | 22.3ns | 0.495 | 0 | 0 | 3.18 KB |
| #7757 | SendAsync |
net6.0 | 7.21μs | 10.5ns | 40.8ns | 0 | 0 | 0 | 2.36 KB |
| #7757 | SendAsync |
netcoreapp3.1 | 8.64μs | 7.55ns | 29.2ns | 0 | 0 | 0 | 2.9 KB |
| #7757 | SendAsync |
net472 | 12.3μs | 10.1ns | 39ns | 0.495 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Faster 🎉 More allocations ⚠️
Faster 🎉 in #7757
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0
1.160
48,850.00
42,100.00
More allocations ⚠️ in #7757
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
57.34 KB
65.54 KB
8.19 KB
14.29%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
42.8 KB
45.53 KB
2.73 KB
6.37%
Fewer allocations 🎉 in #7757
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
274.86 KB
272.96 KB
-1.9 KB
-0.69%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0
44.41 KB
43.93 KB
-480 B
-1.08%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
286.72 KB
278.53 KB
-8.19 KB
-2.86%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
276.93 KB
259.11 KB
-17.82 KB
-6.43%
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 1.160 | 48,850.00 | 42,100.00 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 57.34 KB | 65.54 KB | 8.19 KB | 14.29% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 | 42.8 KB | 45.53 KB | 2.73 KB | 6.37% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 274.86 KB | 272.96 KB | -1.9 KB | -0.69% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 44.41 KB | 43.93 KB | -480 B | -1.08% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 286.72 KB | 278.53 KB | -8.19 KB | -2.86% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 276.93 KB | 259.11 KB | -17.82 KB | -6.43% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 50.6μs | 414ns | 3.88μs | 0 | 0 | 0 | 44.41 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 49.8μs | 283ns | 2.02μs | 0 | 0 | 0 | 42.8 KB |
| master | StringConcatBenchmark |
net472 | 57.4μs | 253ns | 1.07μs | 0 | 0 | 0 | 57.34 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 492μs | 2.04μs | 7.36μs | 0 | 0 | 0 | 276.93 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 482μs | 5.6μs | 55.4μs | 0 | 0 | 0 | 274.86 KB |
| master | StringConcatAspectBenchmark |
net472 | 409μs | 2.15μs | 10.5μs | 0 | 0 | 0 | 286.72 KB |
| #7757 | StringConcatBenchmark |
net6.0 | 42μs | 201ns | 853ns | 0 | 0 | 0 | 43.93 KB |
| #7757 | StringConcatBenchmark |
netcoreapp3.1 | 54.4μs | 735ns | 7.24μs | 0 | 0 | 0 | 45.53 KB |
| #7757 | StringConcatBenchmark |
net472 | 57.7μs | 133ns | 480ns | 0 | 0 | 0 | 65.54 KB |
| #7757 | StringConcatAspectBenchmark |
net6.0 | 465μs | 1.55μs | 5.59μs | 0 | 0 | 0 | 259.11 KB |
| #7757 | StringConcatAspectBenchmark |
netcoreapp3.1 | 529μs | 2.72μs | 13μs | 0 | 0 | 0 | 272.96 KB |
| #7757 | StringConcatAspectBenchmark |
net472 | 402μs | 1.93μs | 7.95μs | 0 | 0 | 0 | 278.53 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 | 2.98ns | 11.5ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.6μs | 15.7ns | 58.7ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 4.03μs | 5.09ns | 19.7ns | 0.241 | 0 | 0 | 1.64 KB |
| #7757 | EnrichedLog |
net6.0 | 2.69μs | 12.8ns | 49.5ns | 0 | 0 | 0 | 1.7 KB |
| #7757 | EnrichedLog |
netcoreapp3.1 | 3.67μs | 18.4ns | 75.8ns | 0 | 0 | 0 | 1.7 KB |
| #7757 | EnrichedLog |
net472 | 4.02μs | 7.47ns | 28.9ns | 0.26 | 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 | 137μs | 665ns | 2.66μs | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 141μs | 666ns | 2.58μs | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 169μs | 35ns | 126ns | 0 | 0 | 0 | 4.52 KB |
| #7757 | EnrichedLog |
net6.0 | 123μs | 88.9ns | 308ns | 0 | 0 | 0 | 4.31 KB |
| #7757 | EnrichedLog |
netcoreapp3.1 | 130μs | 500ns | 1.87μs | 0 | 0 | 0 | 4.31 KB |
| #7757 | EnrichedLog |
net472 | 168μs | 90.3ns | 350ns | 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 | 5.13μs | 20ns | 77.4ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.81μs | 8.17ns | 31.6ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.53μs | 6.93ns | 26.8ns | 0.302 | 0 | 0 | 2.08 KB |
| #7757 | EnrichedLog |
net6.0 | 5.16μs | 25.5ns | 111ns | 0 | 0 | 0 | 2.26 KB |
| #7757 | EnrichedLog |
netcoreapp3.1 | 6.79μs | 17.8ns | 68.9ns | 0 | 0 | 0 | 2.26 KB |
| #7757 | EnrichedLog |
net472 | 7.5μs | 4.45ns | 17.2ns | 0.299 | 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.02μs | 10.3ns | 44.8ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 2.65μs | 13.3ns | 61ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 3.17μs | 3.01ns | 11.7ns | 0.19 | 0 | 0 | 1.2 KB |
| #7757 | SendReceive |
net6.0 | 1.96μs | 9.61ns | 38.4ns | 0 | 0 | 0 | 1.2 KB |
| #7757 | SendReceive |
netcoreapp3.1 | 2.63μs | 13ns | 58.1ns | 0 | 0 | 0 | 1.2 KB |
| #7757 | SendReceive |
net472 | 3.06μs | 3.67ns | 14.2ns | 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.29μs | 6.52ns | 25.2ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.5μs | 14.2ns | 53.2ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.57μs | 5.17ns | 20ns | 0.295 | 0 | 0 | 2.03 KB |
| #7757 | EnrichedLog |
net6.0 | 4.33μs | 18ns | 67.5ns | 0 | 0 | 0 | 1.58 KB |
| #7757 | EnrichedLog |
netcoreapp3.1 | 5.87μs | 16.9ns | 65.3ns | 0 | 0 | 0 | 1.63 KB |
| #7757 | EnrichedLog |
net472 | 6.57μs | 8.19ns | 31.7ns | 0.294 | 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 | 783ns | 0.287ns | 1.11ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 974ns | 5.05ns | 24.2ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 936ns | 0.628ns | 2.43ns | 0.0897 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 910ns | 4.47ns | 20ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.17μs | 6.23ns | 31.1ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 1.14μs | 0.734ns | 2.84ns | 0.102 | 0 | 0 | 658 B |
| #7757 | StartFinishSpan |
net6.0 | 768ns | 3.65ns | 14.6ns | 0 | 0 | 0 | 576 B |
| #7757 | StartFinishSpan |
netcoreapp3.1 | 962ns | 4.98ns | 22.8ns | 0 | 0 | 0 | 576 B |
| #7757 | StartFinishSpan |
net472 | 930ns | 0.756ns | 2.93ns | 0.0884 | 0 | 0 | 578 B |
| #7757 | StartFinishScope |
net6.0 | 914ns | 4.89ns | 25.4ns | 0 | 0 | 0 | 696 B |
| #7757 | StartFinishScope |
netcoreapp3.1 | 1.18μs | 5.87ns | 27.5ns | 0 | 0 | 0 | 696 B |
| #7757 | StartFinishScope |
net472 | 1.11μs | 0.992ns | 3.84ns | 0.0998 | 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.11μs | 1.58ns | 6.14ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.4μs | 5.93ns | 23ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.48μs | 1.35ns | 5.23ns | 0.104 | 0 | 0 | 658 B |
| #7757 | RunOnMethodBegin |
net6.0 | 1.06μs | 5.72ns | 29.7ns | 0 | 0 | 0 | 696 B |
| #7757 | RunOnMethodBegin |
netcoreapp3.1 | 1.44μs | 7.04ns | 28.1ns | 0 | 0 | 0 | 696 B |
| #7757 | RunOnMethodBegin |
net472 | 1.46μs | 1.29ns | 4.84ns | 0.102 | 0 | 0 | 658 B |
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7757) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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:
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 chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7757) - mean (68ms) : 67, 70
master - mean (72ms) : 70, 74
section Bailout
This PR (7757) - mean (72ms) : 71, 73
master - mean (76ms) : 74, 78
section CallTarget+Inlining+NGEN
This PR (7757) - mean (1,056ms) : 994, 1118
master - mean (1,087ms) : 993, 1181
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 (7757) - mean (106ms) : 104, 109
master - mean (115ms) : 106, 123
section Bailout
This PR (7757) - mean (107ms) : 106, 109
master - mean (116ms) : 109, 124
section CallTarget+Inlining+NGEN
This PR (7757) - mean (751ms) : 722, 780
master - mean (775ms) : 741, 809
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7757) - mean (94ms) : 92, 96
master - mean (99ms) : 96, 103
section Bailout
This PR (7757) - mean (95ms) : 94, 96
master - mean (99ms) : 97, 102
section CallTarget+Inlining+NGEN
This PR (7757) - mean (718ms) : 677, 759
master - mean (746ms) : 676, 815
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7757) - mean (93ms) : 91, 96
master - mean (101ms) : 96, 107
section Bailout
This PR (7757) - mean (94ms) : 92, 95
master - mean (105ms) : 96, 114
section CallTarget+Inlining+NGEN
This PR (7757) - mean (685ms) : 650, 721
master - mean (749ms) : 702, 795
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 (7757) - mean (193ms) : 189, 196
master - mean (194ms) : 188, 201
section Bailout
This PR (7757) - mean (196ms) : 194, 199
master - mean (196ms) : 194, 198
section CallTarget+Inlining+NGEN
This PR (7757) - mean (1,172ms) : 1104, 1241
master - mean (1,174ms) : 1105, 1243
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 (7757) - mean (277ms) : 272, 281
master - mean (275ms) : 271, 280
section Bailout
This PR (7757) - mean (276ms) : 272, 281
master - mean (277ms) : 273, 281
section CallTarget+Inlining+NGEN
This PR (7757) - mean (957ms) : 905, 1010
master - mean (951ms) : 902, 1001
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7757) - mean (269ms) : 266, 273
master - mean (269ms) : 265, 272
section Bailout
This PR (7757) - mean (270ms) : 265, 274
master - mean (270ms) : 266, 275
section CallTarget+Inlining+NGEN
This PR (7757) - mean (934ms) : 882, 985
master - mean (935ms) : 887, 984
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7757) - mean (268ms) : 262, 274
master - mean (270ms) : 265, 275
section Bailout
This PR (7757) - mean (268ms) : 264, 272
master - mean (270ms) : 265, 275
section CallTarget+Inlining+NGEN
This PR (7757) - mean (850ms) : 832, 869
master - mean (858ms) : 838, 879
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Updates the package versions for integration tests.