Andrew/array pool long shot
Summary of changes
Reason for change
Implementation details
Test coverage
Other details
Benchmarks
Benchmarks Report for benchmark platform :snail:
Benchmarks for #7852 compared to master:
- 1 benchmarks are faster, with geometric mean 2.387
- 1 benchmarks are slower, with geometric mean 1.122
- 30 benchmarks have fewer allocations
- 10 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 :heavy_check_mark: More allocations :warning:
More allocations :warning: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net6.0
5.5 KB
5.54 KB
48 B
0.87%
Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑netcoreapp3.1
5.68 KB
5.73 KB
45 B
0.79%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 11.2μs | 50.8ns | 203ns | 0 | 0 | 0 | 5.5 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 13.6μs | 69.1ns | 317ns | 0 | 0 | 0 | 5.68 KB |
| master | StartStopWithChild |
net472 | 22.3μs | 123ns | 776ns | 0.97 | 0.431 | 0.108 | 6.01 KB |
| #7852 | StartStopWithChild |
net6.0 | 10.2μs | 57.3ns | 376ns | 0 | 0 | 0 | 5.54 KB |
| #7852 | StartStopWithChild |
netcoreapp3.1 | 13.9μs | 29.5ns | 110ns | 0 | 0 | 0 | 5.73 KB |
| #7852 | StartStopWithChild |
net472 | 22.5μs | 122ns | 682ns | 0.855 | 0.107 | 0 | 6 KB |
Benchmarks.Trace.AgentWriterBenchmark - Same speed :heavy_check_mark: More allocations :warning:
More allocations :warning: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
3.31 KB
3.35 KB
46 B
1.39%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 926μs | 53.1ns | 199ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.05ms | 2.65μs | 9.9μs | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.2ms | 61.9ns | 240ns | 0 | 0 | 0 | 3.31 KB |
| #7852 | WriteAndFlushEnrichedTraces |
net6.0 | 921μs | 1.03μs | 3.84μs | 0 | 0 | 0 | 2.7 KB |
| #7852 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.02ms | 63.9ns | 222ns | 0 | 0 | 0 | 2.7 KB |
| #7852 | WriteAndFlushEnrichedTraces |
net472 | 1.21ms | 68ns | 263ns | 0 | 0 | 0 | 3.35 KB |
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | AllCycleSimpleBody |
net6.0 | 1.08μs | 5.6ns | 26.8ns | 0 | 0 | 0 | 1.22 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 1.37μs | 6.78ns | 28.8ns | 0 | 0 | 0 | 1.2 KB |
| master | AllCycleSimpleBody |
net472 | 1.01μs | 0.574ns | 2.22ns | 0.192 | 0 | 0 | 1.23 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 7.2μs | 7.78ns | 30.2ns | 0 | 0 | 0 | 4.72 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 9.01μs | 33.1ns | 128ns | 0 | 0 | 0 | 4.62 KB |
| master | AllCycleMoreComplexBody |
net472 | 7.58μs | 5.15ns | 19.9ns | 0.721 | 0 | 0 | 4.74 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 321ns | 1.8ns | 11ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 402ns | 2.07ns | 10.2ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 297ns | 0.084ns | 0.303ns | 0.0433 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.34μs | 33.3ns | 163ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.94μs | 28.9ns | 112ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.75μs | 6.17ns | 23.9ns | 0.572 | 0 | 0 | 3.8 KB |
| #7852 | AllCycleSimpleBody |
net6.0 | 1.06μs | 5.6ns | 27.4ns | 0 | 0 | 0 | 1.22 KB |
| #7852 | AllCycleSimpleBody |
netcoreapp3.1 | 1.42μs | 7.86ns | 46.5ns | 0 | 0 | 0 | 1.2 KB |
| #7852 | AllCycleSimpleBody |
net472 | 998ns | 0.426ns | 1.65ns | 0.193 | 0 | 0 | 1.23 KB |
| #7852 | AllCycleMoreComplexBody |
net6.0 | 6.98μs | 37.4ns | 194ns | 0 | 0 | 0 | 4.72 KB |
| #7852 | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.98μs | 42.6ns | 181ns | 0 | 0 | 0 | 4.62 KB |
| #7852 | AllCycleMoreComplexBody |
net472 | 7.7μs | 7.62ns | 29.5ns | 0.73 | 0 | 0 | 4.74 KB |
| #7852 | ObjectExtractorSimpleBody |
net6.0 | 320ns | 0.359ns | 1.29ns | 0 | 0 | 0 | 280 B |
| #7852 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 392ns | 2.16ns | 12.4ns | 0 | 0 | 0 | 272 B |
| #7852 | ObjectExtractorSimpleBody |
net472 | 298ns | 0.0219ns | 0.0849ns | 0.0436 | 0 | 0 | 281 B |
| #7852 | ObjectExtractorMoreComplexBody |
net6.0 | 6.32μs | 28.6ns | 111ns | 0 | 0 | 0 | 3.78 KB |
| #7852 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.79μs | 38.1ns | 166ns | 0 | 0 | 0 | 3.69 KB |
| #7852 | ObjectExtractorMoreComplexBody |
net472 | 6.71μs | 2.06ns | 7.72ns | 0.603 | 0 | 0 | 3.8 KB |
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EncodeArgs |
net6.0 | 75.4μs | 343ns | 1.33μs | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 96.9μs | 220ns | 823ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 109μs | 11.6ns | 43.5ns | 4.88 | 0 | 0 | 32.51 KB |
| master | EncodeLegacyArgs |
net6.0 | 146μs | 218ns | 844ns | 0 | 0 | 0 | 2.15 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 170ns | 659ns | 0 | 0 | 0 | 2.15 KB |
| master | EncodeLegacyArgs |
net472 | 263μs | 23.8ns | 92.2ns | 0 | 0 | 0 | 2.17 KB |
| #7852 | EncodeArgs |
net6.0 | 76.8μs | 243ns | 907ns | 0 | 0 | 0 | 32.4 KB |
| #7852 | EncodeArgs |
netcoreapp3.1 | 101μs | 319ns | 1.1μs | 0 | 0 | 0 | 32.4 KB |
| #7852 | EncodeArgs |
net472 | 109μs | 15.4ns | 59.8ns | 4.9 | 0 | 0 | 32.51 KB |
| #7852 | EncodeLegacyArgs |
net6.0 | 145μs | 134ns | 517ns | 0 | 0 | 0 | 2.15 KB |
| #7852 | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 263ns | 1.02μs | 0 | 0 | 0 | 2.15 KB |
| #7852 | EncodeLegacyArgs |
net472 | 262μs | 44ns | 152ns | 0 | 0 | 0 | 2.16 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Faster :tada: Same allocations :heavy_check_mark:
Faster :tada: in #7852
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑netcoreapp3.1
2.387
704,899.48
295,321.04
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 393μs | 118ns | 427ns | 0 | 0 | 0 | 4.56 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 409μs | 112ns | 404ns | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 428μs | 56.9ns | 220ns | 0 | 0 | 0 | 4.68 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 285μs | 48.4ns | 187ns | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 678μs | 11.1μs | 111μs | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 310μs | 35.7ns | 138ns | 0 | 0 | 0 | 2.29 KB |
| #7852 | RunWafRealisticBenchmark |
net6.0 | 392μs | 69.6ns | 241ns | 0 | 0 | 0 | 4.55 KB |
| #7852 | RunWafRealisticBenchmark |
netcoreapp3.1 | 416μs | 640ns | 2.31μs | 0 | 0 | 0 | 4.48 KB |
| #7852 | RunWafRealisticBenchmark |
net472 | 427μs | 48ns | 186ns | 0 | 0 | 0 | 4.66 KB |
| #7852 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 286μs | 66.1ns | 247ns | 0 | 0 | 0 | 2.24 KB |
| #7852 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 296μs | 231ns | 897ns | 0 | 0 | 0 | 2.22 KB |
| #7852 | RunWafRealisticBenchmarkWithAttack |
net472 | 309μs | 46.9ns | 182ns | 0 | 0 | 0 | 2.29 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net6.0 | 61.3μs | 127ns | 491ns | 0 | 0 | 0 | 14.52 KB |
| master | SendRequest |
netcoreapp3.1 | 71.5μs | 317ns | 1.55μs | 0 | 0 | 0 | 17.42 KB |
| master | SendRequest |
net472 | 0.00768ns | 0.00289ns | 0.0112ns | 0 | 0 | 0 | 0 b |
| #7852 | SendRequest |
net6.0 | 59.2μs | 26.6ns | 95.9ns | 0 | 0 | 0 | 14.47 KB |
| #7852 | SendRequest |
netcoreapp3.1 | 71.3μs | 212ns | 1.06μs | 0 | 0 | 0 | 17.36 KB |
| #7852 | SendRequest |
net472 | 0.000993ns | 0.000698ns | 0.0027ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Same speed :heavy_check_mark: More allocations :warning:
More allocations :warning: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
3 B
5 B
2 B
66.67%
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
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
48 B
0 b
-48 B
-100.00%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.91ms | 5.91μs | 22.1μs | 0 | 0 | 0 | 640.01 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 2.05ms | 8.75μs | 32.7μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
net472 | 2.66ms | 629ns | 2.27μs | 100 | 0 | 0 | 641.95 KB |
| master | OptimizedCharSlice |
net6.0 | 1.41ms | 221ns | 854ns | 0 | 0 | 0 | 7 B |
| master | OptimizedCharSlice |
netcoreapp3.1 | 1.73ms | 245ns | 850ns | 0 | 0 | 0 | 1 B |
| master | OptimizedCharSlice |
net472 | 1.98ms | 422ns | 1.58μs | 0 | 0 | 0 | 73 B |
| master | OptimizedCharSliceWithPool |
net6.0 | 822μs | 67.2ns | 260ns | 0 | 0 | 0 | 3 B |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 827μs | 63.5ns | 229ns | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.14ms | 130ns | 488ns | 0 | 0 | 0 | 48 B |
| #7852 | OriginalCharSlice |
net6.0 | 1.91ms | 2.44μs | 9.11μs | 0 | 0 | 0 | 640 KB |
| #7852 | OriginalCharSlice |
netcoreapp3.1 | 2.11ms | 6.81μs | 24.6μs | 0 | 0 | 0 | 640 KB |
| #7852 | OriginalCharSlice |
net472 | 2.61ms | 1.36μs | 5.28μs | 100 | 0 | 0 | 641.95 KB |
| #7852 | OptimizedCharSlice |
net6.0 | 1.35ms | 203ns | 784ns | 0 | 0 | 0 | 4 B |
| #7852 | OptimizedCharSlice |
netcoreapp3.1 | 1.74ms | 360ns | 1.39μs | 0 | 0 | 0 | 1 B |
| #7852 | OptimizedCharSlice |
net472 | 1.96ms | 274ns | 1.06μs | 0 | 0 | 0 | 0 b |
| #7852 | OptimizedCharSliceWithPool |
net6.0 | 910μs | 41.7ns | 162ns | 0 | 0 | 0 | 5 B |
| #7852 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 797μs | 145ns | 562ns | 0 | 0 | 0 | 0 b |
| #7852 | OptimizedCharSliceWithPool |
net472 | 1.14ms | 102ns | 397ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed :heavy_check_mark: More allocations :warning:
More allocations :warning: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
41.77 KB
42.38 KB
613 B
1.47%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
41.89 KB
42.12 KB
233 B
0.56%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 719μs | 4.05μs | 28.9μs | 0 | 0 | 0 | 41.77 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 692μs | 3.85μs | 24.4μs | 0 | 0 | 0 | 41.89 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 895μs | 2.42μs | 9.05μs | 8.33 | 0 | 0 | 56.32 KB |
| #7852 | WriteAndFlushEnrichedTraces |
net6.0 | 777μs | 4.87μs | 48.7μs | 0 | 0 | 0 | 42.38 KB |
| #7852 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 631μs | 2.66μs | 24.3μs | 0 | 0 | 0 | 42.12 KB |
| #7852 | WriteAndFlushEnrichedTraces |
net472 | 894μs | 3.51μs | 13.6μs | 8.33 | 0 | 0 | 56.39 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery‑net6.0
1.02 KB
968 B
-56 B
-5.47%
Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery‑netcoreapp3.1
1.02 KB
960 B
-56 B
-5.51%
Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery‑net472
987 B
931 B
-56 B
-5.67%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteNonQuery |
net6.0 | 1.87μs | 9.43ns | 43.2ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.62μs | 8.37ns | 32.4ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.74μs | 3.82ns | 14.8ns | 0.15 | 0.0137 | 0 | 987 B |
| #7852 | ExecuteNonQuery |
net6.0 | 1.91μs | 0.957ns | 3.71ns | 0 | 0 | 0 | 968 B |
| #7852 | ExecuteNonQuery |
netcoreapp3.1 | 2.56μs | 10.8ns | 42ns | 0 | 0 | 0 | 960 B |
| #7852 | ExecuteNonQuery |
net472 | 2.79μs | 1.88ns | 7.3ns | 0.139 | 0.0139 | 0 | 931 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net472
1.1 KB
1.04 KB
-56 B
-5.10%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑netcoreapp3.1
1.08 KB
1.02 KB
-56 B
-5.19%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net472
1.04 KB
987 B
-56 B
-5.37%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑net6.0
1.03 KB
976 B
-56 B
-5.43%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch‑netcoreapp3.1
1.03 KB
976 B
-56 B
-5.43%
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0
1.01 KB
952 B
-56 B
-5.56%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | CallElasticsearch |
net6.0 | 1.74μs | 7.62ns | 29.5ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.23μs | 10.9ns | 47.5ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 3.68μs | 4.13ns | 16ns | 0.165 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.75μs | 8.79ns | 39.3ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.47μs | 8.41ns | 32.6ns | 0 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 3.85μs | 3.8ns | 14.7ns | 0.172 | 0 | 0 | 1.1 KB |
| #7852 | CallElasticsearch |
net6.0 | 1.75μs | 6.21ns | 24.1ns | 0 | 0 | 0 | 976 B |
| #7852 | CallElasticsearch |
netcoreapp3.1 | 2.27μs | 10.2ns | 39.6ns | 0 | 0 | 0 | 976 B |
| #7852 | CallElasticsearch |
net472 | 3.56μs | 2.42ns | 9.37ns | 0.142 | 0 | 0 | 987 B |
| #7852 | CallElasticsearchAsync |
net6.0 | 1.77μs | 8.78ns | 39.3ns | 0 | 0 | 0 | 952 B |
| #7852 | CallElasticsearchAsync |
netcoreapp3.1 | 2.33μs | 11.5ns | 50.2ns | 0 | 0 | 0 | 1.02 KB |
| #7852 | CallElasticsearchAsync |
net472 | 3.66μs | 3.72ns | 14.4ns | 0.164 | 0 | 0 | 1.04 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net6.0
952 B
896 B
-56 B
-5.88%
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑netcoreapp3.1
952 B
896 B
-56 B
-5.88%
Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync‑net472
915 B
859 B
-56 B
-6.12%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net6.0 | 1.93μs | 6.13ns | 23.7ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.49μs | 9ns | 34.9ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.65μs | 1.75ns | 6.78ns | 0.133 | 0 | 0 | 915 B |
| #7852 | ExecuteAsync |
net6.0 | 1.86μs | 5.38ns | 19.4ns | 0 | 0 | 0 | 896 B |
| #7852 | ExecuteAsync |
netcoreapp3.1 | 2.51μs | 11.7ns | 45.3ns | 0 | 0 | 0 | 896 B |
| #7852 | ExecuteAsync |
net472 | 2.61μs | 1.2ns | 4.63ns | 0.13 | 0 | 0 | 859 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.HttpClientBenchmark.SendAsync‑net472
3.18 KB
3.12 KB
-56 B
-1.76%
Benchmarks.Trace.HttpClientBenchmark.SendAsync‑netcoreapp3.1
2.9 KB
2.84 KB
-56 B
-1.93%
Benchmarks.Trace.HttpClientBenchmark.SendAsync‑net6.0
2.36 KB
2.3 KB
-56 B
-2.37%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendAsync |
net6.0 | 6.91μs | 20.1ns | 75.3ns | 0 | 0 | 0 | 2.36 KB |
| master | SendAsync |
netcoreapp3.1 | 8.64μs | 26ns | 101ns | 0 | 0 | 0 | 2.9 KB |
| master | SendAsync |
net472 | 12.1μs | 8.02ns | 31.1ns | 0.483 | 0 | 0 | 3.18 KB |
| #7852 | SendAsync |
net6.0 | 7.01μs | 16.1ns | 62.2ns | 0 | 0 | 0 | 2.3 KB |
| #7852 | SendAsync |
netcoreapp3.1 | 8.9μs | 24.4ns | 94.3ns | 0 | 0 | 0 | 2.84 KB |
| #7852 | SendAsync |
net472 | 12.4μs | 13.2ns | 51.1ns | 0.434 | 0 | 0 | 3.12 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Slower :warning: More allocations :warning:
Slower :warning: in #7852
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
1.122
489,550.00
549,100.00
More allocations :warning: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
255.46 KB
275.03 KB
19.58 KB
7.66%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
278.53 KB
289.7 KB
11.17 KB
4.01%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
42.7 KB
44.04 KB
1.34 KB
3.15%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
278.04 KB
280.68 KB
2.64 KB
0.95%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 46.1μs | 270ns | 2.22μs | 0 | 0 | 0 | 43.64 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 50.1μs | 291ns | 2.29μs | 0 | 0 | 0 | 42.7 KB |
| master | StringConcatBenchmark |
net472 | 56.7μs | 297ns | 1.39μs | 0 | 0 | 0 | 57.34 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 490μs | 2.3μs | 9.22μs | 0 | 0 | 0 | 278.04 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 506μs | 2.28μs | 8.54μs | 0 | 0 | 0 | 255.46 KB |
| master | StringConcatAspectBenchmark |
net472 | 410μs | 2.31μs | 15μs | 0 | 0 | 0 | 278.53 KB |
| #7852 | StringConcatBenchmark |
net6.0 | 45.6μs | 259ns | 1.77μs | 0 | 0 | 0 | 43.82 KB |
| #7852 | StringConcatBenchmark |
netcoreapp3.1 | 49.6μs | 223ns | 805ns | 0 | 0 | 0 | 44.04 KB |
| #7852 | StringConcatBenchmark |
net472 | 57.7μs | 105ns | 392ns | 0 | 0 | 0 | 57.34 KB |
| #7852 | StringConcatAspectBenchmark |
net6.0 | 550μs | 2.2μs | 7.64μs | 0 | 0 | 0 | 280.68 KB |
| #7852 | StringConcatAspectBenchmark |
netcoreapp3.1 | 513μs | 2.03μs | 8.11μs | 0 | 0 | 0 | 275.03 KB |
| #7852 | StringConcatAspectBenchmark |
net472 | 408μs | 2.07μs | 9.95μs | 0 | 0 | 0 | 289.7 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 2.59μs | 14.1ns | 68.9ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.65μs | 14.7ns | 56.9ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 4.19μs | 3.84ns | 14.9ns | 0.248 | 0 | 0 | 1.64 KB |
| #7852 | EnrichedLog |
net6.0 | 2.64μs | 12.5ns | 50ns | 0 | 0 | 0 | 1.7 KB |
| #7852 | EnrichedLog |
netcoreapp3.1 | 3.54μs | 16.7ns | 66.7ns | 0 | 0 | 0 | 1.7 KB |
| #7852 | EnrichedLog |
net472 | 3.87μs | 5.06ns | 19.6ns | 0.251 | 0 | 0 | 1.64 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 124μs | 55.1ns | 199ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 129μs | 208ns | 807ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 169μs | 296ns | 1.14μs | 0 | 0 | 0 | 4.52 KB |
| #7852 | EnrichedLog |
net6.0 | 123μs | 145ns | 503ns | 0 | 0 | 0 | 4.31 KB |
| #7852 | EnrichedLog |
netcoreapp3.1 | 129μs | 215ns | 832ns | 0 | 0 | 0 | 4.31 KB |
| #7852 | EnrichedLog |
net472 | 168μs | 107ns | 385ns | 0 | 0 | 0 | 4.52 KB |
Benchmarks.Trace.NLogBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 5.16μs | 21.6ns | 80.7ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.77μs | 15.2ns | 58.7ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.55μs | 7.72ns | 29.9ns | 0.301 | 0 | 0 | 2.08 KB |
| #7852 | EnrichedLog |
net6.0 | 4.89μs | 2.04ns | 7.34ns | 0 | 0 | 0 | 2.26 KB |
| #7852 | EnrichedLog |
netcoreapp3.1 | 6.74μs | 11.9ns | 46.1ns | 0 | 0 | 0 | 2.26 KB |
| #7852 | EnrichedLog |
net472 | 7.52μs | 7.36ns | 27.5ns | 0.3 | 0 | 0 | 2.08 KB |
Benchmarks.Trace.RedisBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.RedisBenchmark.SendReceive‑net6.0
1.2 KB
1.14 KB
-56 B
-4.67%
Benchmarks.Trace.RedisBenchmark.SendReceive‑netcoreapp3.1
1.2 KB
1.14 KB
-56 B
-4.67%
Benchmarks.Trace.RedisBenchmark.SendReceive‑net472
1.2 KB
1.15 KB
-57 B
-4.73%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net6.0 | 1.93μs | 9.28ns | 35.9ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 2.61μs | 4.31ns | 16.7ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 3.11μs | 1.28ns | 4.62ns | 0.185 | 0 | 0 | 1.2 KB |
| #7852 | SendReceive |
net6.0 | 1.93μs | 8.63ns | 33.4ns | 0 | 0 | 0 | 1.14 KB |
| #7852 | SendReceive |
netcoreapp3.1 | 2.5μs | 6.68ns | 25.9ns | 0 | 0 | 0 | 1.14 KB |
| #7852 | SendReceive |
net472 | 3.05μs | 5.4ns | 20.2ns | 0.182 | 0 | 0 | 1.15 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed :heavy_check_mark: Same allocations :heavy_check_mark:
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 4.33μs | 10.9ns | 42.3ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.75μs | 8.04ns | 30.1ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.96μs | 6.28ns | 24.3ns | 0.313 | 0 | 0 | 2.03 KB |
| #7852 | EnrichedLog |
net6.0 | 4.21μs | 9.32ns | 36.1ns | 0 | 0 | 0 | 1.58 KB |
| #7852 | EnrichedLog |
netcoreapp3.1 | 5.62μs | 16.3ns | 63.1ns | 0 | 0 | 0 | 1.63 KB |
| #7852 | EnrichedLog |
net472 | 6.49μs | 13.3ns | 51.6ns | 0.294 | 0 | 0 | 2.03 KB |
Benchmarks.Trace.SpanBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
696 B
640 B
-56 B
-8.05%
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1
697 B
640 B
-57 B
-8.18%
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472
658 B
602 B
-56 B
-8.51%
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472
578 B
522 B
-56 B
-9.69%
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0
576 B
520 B
-56 B
-9.72%
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1
576 B
520 B
-56 B
-9.72%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 786ns | 3.71ns | 14.4ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 1.01μs | 4.75ns | 18.4ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 943ns | 0.246ns | 0.92ns | 0.09 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 906ns | 4.96ns | 30.6ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.19μs | 6.13ns | 31.8ns | 0 | 0 | 0 | 697 B |
| master | StartFinishScope |
net472 | 1.16μs | 0.86ns | 3.33ns | 0.104 | 0 | 0 | 658 B |
| #7852 | StartFinishSpan |
net6.0 | 754ns | 3.64ns | 14.1ns | 0 | 0 | 0 | 520 B |
| #7852 | StartFinishSpan |
netcoreapp3.1 | 957ns | 4.52ns | 17.5ns | 0 | 0 | 0 | 520 B |
| #7852 | StartFinishSpan |
net472 | 957ns | 0.269ns | 1.01ns | 0.0816 | 0 | 0 | 522 B |
| #7852 | StartFinishScope |
net6.0 | 902ns | 3.78ns | 14.6ns | 0 | 0 | 0 | 640 B |
| #7852 | StartFinishScope |
netcoreapp3.1 | 1.17μs | 5.15ns | 20ns | 0 | 0 | 0 | 640 B |
| #7852 | StartFinishScope |
net472 | 1.14μs | 0.562ns | 2.18ns | 0.091 | 0 | 0 | 602 B |
| #7852 | StartFinishTwoScopes |
net6.0 | 1.74μs | 8.23ns | 33.9ns | 0 | 0 | 0 | 1.19 KB |
| #7852 | StartFinishTwoScopes |
netcoreapp3.1 | 2.23μs | 10.8ns | 43.1ns | 0 | 0 | 0 | 1.19 KB |
| #7852 | StartFinishTwoScopes |
net472 | 2.17μs | 1.7ns | 6.37ns | 0.162 | 0 | 0 | 1.08 KB |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed :heavy_check_mark: Fewer allocations :tada:
Fewer allocations :tada: in #7852
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
696 B
640 B
-56 B
-8.05%
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑netcoreapp3.1
696 B
640 B
-56 B
-8.05%
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net472
658 B
602 B
-56 B
-8.51%
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 1.06μs | 5.65ns | 28.2ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.47μs | 6.59ns | 23.8ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.46μs | 0.443ns | 1.6ns | 0.102 | 0 | 0 | 658 B |
| #7852 | RunOnMethodBegin |
net6.0 | 1.05μs | 5.08ns | 20.3ns | 0 | 0 | 0 | 640 B |
| #7852 | RunOnMethodBegin |
netcoreapp3.1 | 1.42μs | 6.1ns | 23.6ns | 0 | 0 | 0 | 640 B |
| #7852 | RunOnMethodBegin |
net472 | 1.44μs | 0.797ns | 2.76ns | 0.0926 | 0 | 0 | 602 B |
Execution-Time Benchmarks Report :stopwatch:
Execution-time results for samples comparing This PR (7852) 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 | ||||
| duration | 75.40 ± (75.19 - 75.94) ms | 74.97 ± (74.96 - 75.60) ms | -0.6% | ✅ |
| .NET Framework 4.8 - Bailout | ||||
| duration | 79.99 ± (79.97 - 80.76) ms | 79.48 ± (79.69 - 80.57) ms | -0.6% | ✅ |
| .NET Framework 4.8 - CallTarget+Inlining+NGEN | ||||
| duration | 1053.02 ± (1055.21 - 1070.90) ms | 1075.41 ± (1075.45 - 1088.41) ms | +2.1% | ✅⬆️ |
| .NET Core 3.1 - Baseline | ||||
| process.internal_duration_ms | 23.01 ± (22.92 - 23.09) ms | 22.86 ± (22.79 - 22.92) ms | -0.6% | ✅ |
| process.time_to_main_ms | 88.34 ± (87.85 - 88.82) ms | 88.13 ± (87.74 - 88.52) ms | -0.2% | ✅ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 10.90 ± (10.90 - 10.91) MB | 10.92 ± (10.92 - 10.93) MB | +0.2% | ✅⬆️ |
| runtime.dotnet.threads.count | 12 ± (12 - 12) | 12 ± (12 - 12) | +0.0% | ✅ |
| .NET Core 3.1 - Bailout | ||||
| process.internal_duration_ms | 22.77 ± (22.72 - 22.83) ms | 22.85 ± (22.79 - 22.91) ms | +0.3% | ✅⬆️ |
| process.time_to_main_ms | 88.65 ± (88.25 - 89.05) ms | 88.88 ± (88.47 - 89.29) ms | +0.3% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 10.94 ± (10.94 - 10.95) MB | 10.96 ± (10.96 - 10.97) MB | +0.2% | ✅⬆️ |
| runtime.dotnet.threads.count | 13 ± (13 - 13) | 13 ± (13 - 13) | +0.0% | ✅ |
| .NET Core 3.1 - CallTarget+Inlining+NGEN | ||||
| process.internal_duration_ms | 223.35 ± (221.89 - 224.81) ms | 221.96 ± (220.51 - 223.42) ms | -0.6% | ✅ |
| process.time_to_main_ms | 505.03 ± (503.39 - 506.67) ms | 504.11 ± (502.91 - 505.32) ms | -0.2% | ✅ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 47.69 ± (47.67 - 47.71) MB | 47.80 ± (47.78 - 47.82) MB | +0.2% | ✅⬆️ |
| runtime.dotnet.threads.count | 28 ± (28 - 28) | 28 ± (28 - 28) | +0.1% | ✅⬆️ |
| .NET 6 - Baseline | ||||
| process.internal_duration_ms | 21.89 ± (21.81 - 21.96) ms | 21.83 ± (21.74 - 21.92) ms | -0.3% | ✅ |
| process.time_to_main_ms | 77.52 ± (77.12 - 77.92) ms | 76.52 ± (76.13 - 76.92) ms | -1.3% | ✅ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 10.60 ± (10.60 - 10.60) MB | 10.62 ± (10.61 - 10.62) MB | +0.2% | ✅⬆️ |
| runtime.dotnet.threads.count | 10 ± (10 - 10) | 10 ± (10 - 10) | +0.0% | ✅ |
| .NET 6 - Bailout | ||||
| process.internal_duration_ms | 21.53 ± (21.47 - 21.59) ms | 22.23 ± (22.15 - 22.32) ms | +3.3% | ✅⬆️ |
| process.time_to_main_ms | 76.44 ± (76.09 - 76.78) ms | 80.82 ± (80.33 - 81.30) ms | +5.7% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 10.68 ± (10.67 - 10.68) MB | 10.66 ± (10.65 - 10.66) MB | -0.2% | ✅ |
| runtime.dotnet.threads.count | 11 ± (11 - 11) | 11 ± (11 - 11) | +0.0% | ✅ |
| .NET 6 - CallTarget+Inlining+NGEN | ||||
| process.internal_duration_ms | 213.53 ± (212.15 - 214.91) ms | 211.81 ± (210.31 - 213.30) ms | -0.8% | ✅ |
| process.time_to_main_ms | 471.67 ± (470.36 - 472.98) ms | 469.67 ± (468.43 - 470.92) ms | -0.4% | ✅ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 48.06 ± (48.03 - 48.08) MB | 48.04 ± (48.02 - 48.07) MB | -0.0% | ✅ |
| runtime.dotnet.threads.count | 28 ± (28 - 28) | 28 ± (28 - 28) | -0.1% | ✅ |
| .NET 8 - Baseline | ||||
| process.internal_duration_ms | 20.05 ± (19.97 - 20.13) ms | 20.15 ± (20.06 - 20.23) ms | +0.5% | ✅⬆️ |
| process.time_to_main_ms | 75.78 ± (75.36 - 76.19) ms | 77.31 ± (76.85 - 77.78) ms | +2.0% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 7.65 ± (7.65 - 7.66) MB | 7.63 ± (7.63 - 7.64) MB | -0.3% | ✅ |
| runtime.dotnet.threads.count | 10 ± (10 - 10) | 10 ± (10 - 10) | +0.0% | ✅ |
| .NET 8 - Bailout | ||||
| process.internal_duration_ms | 19.87 ± (19.79 - 19.95) ms | 20.05 ± (19.98 - 20.11) ms | +0.9% | ✅⬆️ |
| process.time_to_main_ms | 76.14 ± (75.76 - 76.53) ms | 77.16 ± (76.79 - 77.54) ms | +1.3% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 7.71 ± (7.70 - 7.71) MB | 7.71 ± (7.70 - 7.72) MB | +0.1% | ✅⬆️ |
| runtime.dotnet.threads.count | 11 ± (11 - 11) | 11 ± (11 - 11) | +0.0% | ✅ |
| .NET 8 - CallTarget+Inlining+NGEN | ||||
| process.internal_duration_ms | 194.72 ± (193.74 - 195.71) ms | 194.14 ± (193.13 - 195.16) ms | -0.3% | ✅ |
| process.time_to_main_ms | 460.45 ± (459.19 - 461.72) ms | 460.31 ± (459.18 - 461.45) ms | -0.0% | ✅ |
| runtime.dotnet.exceptions.count | 0 ± (0 - 0) | 0 ± (0 - 0) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 36.51 ± (36.47 - 36.55) MB | 36.49 ± (36.45 - 36.53) MB | -0.0% | ✅ |
| runtime.dotnet.threads.count | 27 ± (27 - 27) | 27 ± (27 - 27) | -0.5% | ✅ |
HttpMessageHandler
| Metric | Master (Mean ± 95% CI) | Current (Mean ± 95% CI) | Change | Status |
|---|---|---|---|---|
| .NET Framework 4.8 - Baseline | ||||
| duration | 192.49 ± (192.48 - 193.15) ms | 193.18 ± (193.06 - 193.83) ms | +0.4% | ✅⬆️ |
| .NET Framework 4.8 - Bailout | ||||
| duration | 196.45 ± (196.32 - 196.89) ms | 195.94 ± (195.80 - 196.25) ms | -0.3% | ✅ |
| .NET Framework 4.8 - CallTarget+Inlining+NGEN | ||||
| duration | 1105.62 ± (1110.55 - 1119.78) ms | 1113.60 ± (1119.35 - 1130.23) ms | +0.7% | ✅⬆️ |
| .NET Core 3.1 - Baseline | ||||
| process.internal_duration_ms | 187.95 ± (187.61 - 188.28) ms | 188.73 ± (188.32 - 189.15) ms | +0.4% | ✅⬆️ |
| process.time_to_main_ms | 80.53 ± (80.31 - 80.75) ms | 80.80 ± (80.60 - 80.99) ms | +0.3% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 3 ± (3 - 3) | 3 ± (3 - 3) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 16.11 ± (16.08 - 16.14) MB | 16.11 ± (16.08 - 16.13) MB | -0.0% | ✅ |
| runtime.dotnet.threads.count | 20 ± (20 - 20) | 20 ± (20 - 20) | -0.2% | ✅ |
| .NET Core 3.1 - Bailout | ||||
| process.internal_duration_ms | 188.12 ± (187.79 - 188.46) ms | 187.44 ± (187.14 - 187.74) ms | -0.4% | ✅ |
| process.time_to_main_ms | 82.03 ± (81.91 - 82.15) ms | 81.73 ± (81.60 - 81.86) ms | -0.4% | ✅ |
| runtime.dotnet.exceptions.count | 3 ± (3 - 3) | 3 ± (3 - 3) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 16.09 ± (16.06 - 16.12) MB | 16.16 ± (16.13 - 16.19) MB | +0.4% | ✅⬆️ |
| runtime.dotnet.threads.count | 21 ± (21 - 21) | 21 ± (20 - 21) | -0.6% | ✅ |
| .NET Core 3.1 - CallTarget+Inlining+NGEN | ||||
| process.internal_duration_ms | 400.21 ± (397.59 - 402.82) ms | 401.49 ± (398.58 - 404.40) ms | +0.3% | ✅⬆️ |
| process.time_to_main_ms | 472.85 ± (472.21 - 473.50) ms | 474.37 ± (473.62 - 475.13) ms | +0.3% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 3 ± (3 - 3) | 3 ± (3 - 3) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 58.64 ± (58.51 - 58.77) MB | 58.41 ± (58.28 - 58.54) MB | -0.4% | ✅ |
| runtime.dotnet.threads.count | 30 ± (29 - 30) | 29 ± (29 - 30) | -0.1% | ✅ |
| .NET 6 - Baseline | ||||
| process.internal_duration_ms | 192.34 ± (191.99 - 192.69) ms | 192.45 ± (191.95 - 192.94) ms | +0.1% | ✅⬆️ |
| process.time_to_main_ms | 69.84 ± (69.66 - 70.02) ms | 70.10 ± (69.90 - 70.29) ms | +0.4% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 4 ± (4 - 4) | 4 ± (4 - 4) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 15.90 ± (15.75 - 16.06) MB | 16.32 ± (16.24 - 16.40) MB | +2.6% | ✅⬆️ |
| runtime.dotnet.threads.count | 18 ± (18 - 18) | 19 ± (18 - 19) | +2.2% | ✅⬆️ |
| .NET 6 - Bailout | ||||
| process.internal_duration_ms | 192.64 ± (192.24 - 193.05) ms | 190.95 ± (190.70 - 191.19) ms | -0.9% | ✅ |
| process.time_to_main_ms | 71.07 ± (70.93 - 71.21) ms | 70.74 ± (70.64 - 70.84) ms | -0.5% | ✅ |
| runtime.dotnet.exceptions.count | 4 ± (4 - 4) | 4 ± (4 - 4) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 16.33 ± (16.24 - 16.43) MB | 16.02 ± (15.86 - 16.18) MB | -1.9% | ✅ |
| runtime.dotnet.threads.count | 20 ± (20 - 20) | 19 ± (19 - 19) | -3.5% | ✅ |
| .NET 6 - CallTarget+Inlining+NGEN | ||||
| process.internal_duration_ms | 410.31 ± (407.81 - 412.80) ms | 412.26 ± (409.56 - 414.96) ms | +0.5% | ✅⬆️ |
| process.time_to_main_ms | 441.61 ± (440.91 - 442.32) ms | 442.05 ± (441.45 - 442.65) ms | +0.1% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 4 ± (4 - 4) | 4 ± (4 - 4) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 58.57 ± (58.42 - 58.72) MB | 58.71 ± (58.56 - 58.85) MB | +0.2% | ✅⬆️ |
| runtime.dotnet.threads.count | 30 ± (29 - 30) | 30 ± (30 - 30) | +0.3% | ✅⬆️ |
| .NET 8 - Baseline | ||||
| process.internal_duration_ms | 190.41 ± (190.11 - 190.72) ms | 190.08 ± (189.74 - 190.43) ms | -0.2% | ✅ |
| process.time_to_main_ms | 69.35 ± (69.18 - 69.51) ms | 69.21 ± (69.04 - 69.37) ms | -0.2% | ✅ |
| runtime.dotnet.exceptions.count | 4 ± (4 - 4) | 4 ± (4 - 4) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 11.74 ± (11.71 - 11.77) MB | 11.77 ± (11.74 - 11.81) MB | +0.3% | ✅⬆️ |
| runtime.dotnet.threads.count | 18 ± (18 - 18) | 18 ± (18 - 18) | +0.5% | ✅⬆️ |
| .NET 8 - Bailout | ||||
| process.internal_duration_ms | 189.89 ± (189.58 - 190.19) ms | 189.75 ± (189.40 - 190.09) ms | -0.1% | ✅ |
| process.time_to_main_ms | 70.52 ± (70.42 - 70.62) ms | 70.34 ± (70.23 - 70.46) ms | -0.3% | ✅ |
| runtime.dotnet.exceptions.count | 4 ± (4 - 4) | 4 ± (4 - 4) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 11.81 ± (11.78 - 11.84) MB | 11.85 ± (11.81 - 11.89) MB | +0.3% | ✅⬆️ |
| runtime.dotnet.threads.count | 19 ± (19 - 19) | 19 ± (19 - 19) | -0.2% | ✅ |
| .NET 8 - CallTarget+Inlining+NGEN | ||||
| process.internal_duration_ms | 368.20 ± (366.67 - 369.74) ms | 366.18 ± (364.80 - 367.56) ms | -0.6% | ✅ |
| process.time_to_main_ms | 429.74 ± (429.13 - 430.35) ms | 430.65 ± (430.16 - 431.13) ms | +0.2% | ✅⬆️ |
| runtime.dotnet.exceptions.count | 4 ± (4 - 4) | 4 ± (4 - 4) | +0.0% | ✅ |
| runtime.dotnet.mem.committed | 47.73 ± (47.69 - 47.76) MB | 47.81 ± (47.78 - 47.85) MB | +0.2% | ✅⬆️ |
| runtime.dotnet.threads.count | 29 ± (29 - 29) | 29 ± (29 - 29) | +0.0% | ✅⬆️ |
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 (7852) - mean (75ms) : 71, 80
master - mean (76ms) : 70, 81
section Bailout
This PR (7852) - mean (80ms) : 73, 87
master - mean (80ms) : 74, 86
section CallTarget+Inlining+NGEN
This PR (7852) - mean (1,082ms) : 987, 1177
master - mean (1,063ms) : 977, 1149
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 (7852) - mean (119ms) : 112, 125
master - mean (119ms) : 108, 129
section Bailout
This PR (7852) - mean (119ms) : 110, 128
master - mean (119ms) : 110, 128
section CallTarget+Inlining+NGEN
This PR (7852) - mean (762ms) : 718, 807
master - mean (767ms) : 705, 828
FakeDbCommand (.NET 6)
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7852) - mean (106ms) : 98, 113
master - mean (106ms) : 98, 115
section Bailout
This PR (7852) - mean (110ms) : 101, 119
master - mean (105ms) : 98, 112
section CallTarget+Inlining+NGEN
This PR (7852) - mean (716ms) : 670, 762
master - mean (718ms) : 676, 760
FakeDbCommand (.NET 8)
gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7852) - mean (106ms) : 99, 114
master - mean (104ms) : 96, 113
section Bailout
This PR (7852) - mean (106ms) : 99, 112
master - mean (105ms) : 96, 113
section CallTarget+Inlining+NGEN
This PR (7852) - mean (686ms) : 659, 714
master - mean (687ms) : 655, 718
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 (7852) - mean (193ms) : 189, 198
master - mean (193ms) : 189, 196
section Bailout
This PR (7852) - mean (196ms) : 194, 198
master - mean (197ms) : 194, 199
section CallTarget+Inlining+NGEN
This PR (7852) - mean (1,125ms) : 1040, 1209
master - mean (1,115ms) : 1045, 1185
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 (7852) - mean (278ms) : 272, 283
master - mean (277ms) : 271, 283
section Bailout
This PR (7852) - mean (277ms) : 273, 281
master - mean (278ms) : 273, 283
section CallTarget+Inlining+NGEN
This PR (7852) - mean (914ms) : 866, 962
master - mean (905ms) : 854, 956
HttpMessageHandler (.NET 6)
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7852) - mean (271ms) : 264, 277
master - mean (270ms) : 266, 274
section Bailout
This PR (7852) - mean (270ms) : 267, 273
master - mean (272ms) : 265, 279
section CallTarget+Inlining+NGEN
This PR (7852) - mean (889ms) : 836, 942
master - mean (884ms) : 844, 924
HttpMessageHandler (.NET 8)
gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7852) - mean (269ms) : 264, 274
master - mean (269ms) : 265, 273
section Bailout
This PR (7852) - mean (270ms) : 265, 275
master - mean (270ms) : 265, 275
section CallTarget+Inlining+NGEN
This PR (7852) - mean (826ms) : 804, 848
master - mean (829ms) : 812, 847