-
Notifications
You must be signed in to change notification settings - Fork 149
[Test Package Versions Bump] Updating package versions #7942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7942 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 ✔️ More allocations
|
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑net472 | 5.94 KB | 5.99 KB | 53 B | 0.89% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 10.5μs | 56.2ns | 287ns | 0 | 0 | 0 | 5.51 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 13.6μs | 68.6ns | 307ns | 0 | 0 | 0 | 5.71 KB |
| master | StartStopWithChild |
net472 | 21.8μs | 109ns | 463ns | 0.968 | 0.323 | 0.108 | 5.94 KB |
| #7942 | StartStopWithChild |
net6.0 | 10.7μs | 60.4ns | 423ns | 0 | 0 | 0 | 5.5 KB |
| #7942 | StartStopWithChild |
netcoreapp3.1 | 13.6μs | 70.1ns | 329ns | 0 | 0 | 0 | 5.71 KB |
| #7942 | StartStopWithChild |
net472 | 22.2μs | 110ns | 572ns | 0.999 | 0.333 | 0.111 | 5.99 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 | 1.26ms | 2.67μs | 9.61μs | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.37ms | 106ns | 383ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.69ms | 173ns | 646ns | 0 | 0 | 0 | 3.26 KB |
| #7942 | WriteAndFlushEnrichedTraces |
net6.0 | 1.26ms | 136ns | 491ns | 0 | 0 | 0 | 2.7 KB |
| #7942 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.37ms | 140ns | 541ns | 0 | 0 | 0 | 2.7 KB |
| #7942 | WriteAndFlushEnrichedTraces |
net472 | 1.69ms | 215ns | 744ns | 0 | 0 | 0 | 3.26 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.13μs | 6.27ns | 28.7ns | 0 | 0 | 0 | 1.22 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 1.39μs | 7.93ns | 62.9ns | 0 | 0 | 0 | 1.2 KB |
| master | AllCycleSimpleBody |
net472 | 1.01μs | 1.04ns | 4.04ns | 0.191 | 0 | 0 | 1.23 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 7.24μs | 38.4ns | 192ns | 0 | 0 | 0 | 4.72 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.88μs | 45.8ns | 210ns | 0 | 0 | 0 | 4.62 KB |
| master | AllCycleMoreComplexBody |
net472 | 7.64μs | 4.37ns | 16.9ns | 0.725 | 0 | 0 | 4.74 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 343ns | 1.67ns | 6.88ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 391ns | 2.09ns | 11.7ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 304ns | 0.0126ns | 0.0454ns | 0.0444 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.42μs | 34.5ns | 179ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.83μs | 35.5ns | 142ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.71μs | 3.03ns | 11.8ns | 0.571 | 0 | 0 | 3.8 KB |
| #7942 | AllCycleSimpleBody |
net6.0 | 1.11μs | 5.95ns | 33.1ns | 0 | 0 | 0 | 1.22 KB |
| #7942 | AllCycleSimpleBody |
netcoreapp3.1 | 1.42μs | 7.52ns | 41.2ns | 0 | 0 | 0 | 1.2 KB |
| #7942 | AllCycleSimpleBody |
net472 | 1.02μs | 0.615ns | 2.22ns | 0.194 | 0 | 0 | 1.23 KB |
| #7942 | AllCycleMoreComplexBody |
net6.0 | 7.38μs | 36.2ns | 162ns | 0 | 0 | 0 | 4.72 KB |
| #7942 | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.87μs | 48.4ns | 269ns | 0 | 0 | 0 | 4.62 KB |
| #7942 | AllCycleMoreComplexBody |
net472 | 7.63μs | 6.6ns | 25.6ns | 0.723 | 0 | 0 | 4.74 KB |
| #7942 | ObjectExtractorSimpleBody |
net6.0 | 345ns | 0.0869ns | 0.313ns | 0 | 0 | 0 | 280 B |
| #7942 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 396ns | 2.05ns | 9.4ns | 0 | 0 | 0 | 272 B |
| #7942 | ObjectExtractorSimpleBody |
net472 | 311ns | 0.0118ns | 0.0443ns | 0.0438 | 0 | 0 | 281 B |
| #7942 | ObjectExtractorMoreComplexBody |
net6.0 | 6.54μs | 31.7ns | 127ns | 0 | 0 | 0 | 3.78 KB |
| #7942 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.72μs | 38.9ns | 170ns | 0 | 0 | 0 | 3.69 KB |
| #7942 | ObjectExtractorMoreComplexBody |
net472 | 6.75μs | 2.94ns | 11.4ns | 0.573 | 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.1μs | 171ns | 663ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 99μs | 217ns | 840ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 108μs | 27.1ns | 105ns | 4.87 | 0 | 0 | 32.5 KB |
| master | EncodeLegacyArgs |
net6.0 | 152μs | 10.4ns | 39ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 201μs | 184ns | 713ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 265μs | 27.1ns | 105ns | 0 | 0 | 0 | 2.15 KB |
| #7942 | EncodeArgs |
net6.0 | 77.6μs | 18.8ns | 72.9ns | 0 | 0 | 0 | 32.4 KB |
| #7942 | EncodeArgs |
netcoreapp3.1 | 97.2μs | 295ns | 1.1μs | 0 | 0 | 0 | 32.4 KB |
| #7942 | EncodeArgs |
net472 | 109μs | 21.5ns | 80.4ns | 4.9 | 0 | 0 | 32.5 KB |
| #7942 | EncodeLegacyArgs |
net6.0 | 145μs | 15.3ns | 55ns | 0 | 0 | 0 | 2.14 KB |
| #7942 | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 158ns | 570ns | 0 | 0 | 0 | 2.14 KB |
| #7942 | EncodeLegacyArgs |
net472 | 262μs | 29.4ns | 114ns | 0 | 0 | 0 | 2.14 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 420μs | 1.99μs | 7.97μs | 0 | 0 | 0 | 4.55 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 438μs | 1.72μs | 6.2μs | 0 | 0 | 0 | 4.48 KB |
| master | RunWafRealisticBenchmark |
net472 | 488μs | 589ns | 2.2μs | 0 | 0 | 0 | 0 b |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 299μs | 503ns | 1.81μs | 0 | 0 | 0 | 2.24 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 364μs | 4.39μs | 42.8μs | 0 | 0 | 0 | 2.22 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 363μs | 440ns | 1.65μs | 0 | 0 | 0 | 0 b |
| #7942 | RunWafRealisticBenchmark |
net6.0 | 433μs | 1.04μs | 3.74μs | 0 | 0 | 0 | 4.55 KB |
| #7942 | RunWafRealisticBenchmark |
netcoreapp3.1 | 439μs | 1.26μs | 4.35μs | 0 | 0 | 0 | 4.48 KB |
| #7942 | RunWafRealisticBenchmark |
net472 | 495μs | 395ns | 1.48μs | 0 | 0 | 0 | 0 b |
| #7942 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 322μs | 886ns | 3.07μs | 0 | 0 | 0 | 2.24 KB |
| #7942 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 362μs | 7.42μs | 67.2μs | 0 | 0 | 0 | 2.22 KB |
| #7942 | RunWafRealisticBenchmarkWithAttack |
net472 | 364μs | 432ns | 1.62μs | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.AspNetCoreBenchmark - Unknown 🤷 Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net6.0 | 84μs | 201ns | 752ns | 0 | 0 | 0 | 18.97 KB |
| master | SendRequest |
netcoreapp3.1 | 97μs | 355ns | 2.19μs | 0 | 0 | 0 | 21.18 KB |
| master | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
| #7942 | SendRequest |
net6.0 | 86.1μs | 405ns | 1.57μs | 0 | 0 | 0 | 18.97 KB |
| #7942 | SendRequest |
netcoreapp3.1 | 97.8μs | 322ns | 2.06μs | 0 | 0 | 0 | 21.18 KB |
| #7942 | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 2ms | 2.02μs | 7.56μs | 0 | 0 | 0 | 640 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 3.94ms | 1.22μs | 4.58μs | 0 | 0 | 0 | 640.05 KB |
| master | OriginalCharSlice |
net472 | 2.69ms | 510ns | 1.84μs | 0 | 0 | 0 | 638.98 KB |
| master | OptimizedCharSlice |
net6.0 | 1.38ms | 653ns | 2.53μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSlice |
netcoreapp3.1 | 2.8ms | 2.43μs | 9.39μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSlice |
net472 | 1.92ms | 876ns | 3.39μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net6.0 | 1.09ms | 734ns | 2.75μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.9ms | 1.35μs | 5.22μs | 0 | 0 | 0 | 0 b |
| master | OptimizedCharSliceWithPool |
net472 | 1.17ms | 318ns | 1.23μs | 0 | 0 | 0 | 0 b |
| #7942 | OriginalCharSlice |
net6.0 | 1.92ms | 827ns | 2.98μs | 0 | 0 | 0 | 640 KB |
| #7942 | OriginalCharSlice |
netcoreapp3.1 | 3.87ms | 1.63μs | 6.11μs | 0 | 0 | 0 | 640.05 KB |
| #7942 | OriginalCharSlice |
net472 | 2.67ms | 734ns | 2.75μs | 0 | 0 | 0 | 638.98 KB |
| #7942 | OptimizedCharSlice |
net6.0 | 1.5ms | 593ns | 2.22μs | 0 | 0 | 0 | 0 b |
| #7942 | OptimizedCharSlice |
netcoreapp3.1 | 2.73ms | 1μs | 3.88μs | 0 | 0 | 0 | 0 b |
| #7942 | OptimizedCharSlice |
net472 | 1.96ms | 912ns | 3.53μs | 0 | 0 | 0 | 0 b |
| #7942 | OptimizedCharSliceWithPool |
net6.0 | 1.02ms | 807ns | 3.12μs | 0 | 0 | 0 | 0 b |
| #7942 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.86ms | 1.85μs | 7.16μs | 0 | 0 | 0 | 0 b |
| #7942 | OptimizedCharSliceWithPool |
net472 | 1.15ms | 709ns | 2.75μs | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Faster 🎉 More allocations ⚠️
Faster 🎉 in #7942
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
1.154
971,710.27
842,154.58
More allocations ⚠️ in #7942
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
41.82 KB
42.48 KB
662 B
1.58%
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
56.01 KB
56.39 KB
379 B
0.68%
Fewer allocations 🎉 in #7942
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
41.9 KB
41.66 KB
-237 B
-0.57%
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 1.154 | 971,710.27 | 842,154.58 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 41.82 KB | 42.48 KB | 662 B | 1.58% |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 56.01 KB | 56.39 KB | 379 B | 0.68% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.9 KB | 41.66 KB | -237 B | -0.57% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 644μs | 1.05μs | 3.8μs | 0 | 0 | 0 | 41.9 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 696μs | 3.25μs | 12.6μs | 0 | 0 | 0 | 41.82 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 973μs | 4.76μs | 19.1μs | 4.46 | 0 | 0 | 56.01 KB |
| #7942 | WriteAndFlushEnrichedTraces |
net6.0 | 686μs | 3.55μs | 17μs | 0 | 0 | 0 | 41.66 KB |
| #7942 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 672μs | 3.76μs | 24.6μs | 0 | 0 | 0 | 42.48 KB |
| #7942 | WriteAndFlushEnrichedTraces |
net472 | 842μs | 1.78μs | 6.68μs | 8.33 | 4.17 | 0 | 56.39 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 | 7.67ns | 29.7ns | 0 | 0 | 0 | 968 B |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.59μs | 5.89ns | 22.8ns | 0 | 0 | 0 | 960 B |
| master | ExecuteNonQuery |
net472 | 2.66μs | 1.76ns | 6.58ns | 0.135 | 0 | 0 | 931 B |
| #7942 | ExecuteNonQuery |
net6.0 | 1.95μs | 2.05ns | 7.95ns | 0 | 0 | 0 | 968 B |
| #7942 | ExecuteNonQuery |
netcoreapp3.1 | 2.63μs | 10.3ns | 39.8ns | 0 | 0 | 0 | 960 B |
| #7942 | ExecuteNonQuery |
net472 | 2.71μs | 1.43ns | 5.53ns | 0.135 | 0 | 0 | 931 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.71μs | 0.665ns | 2.49ns | 0 | 0 | 0 | 952 B |
| master | CallElasticsearch |
netcoreapp3.1 | 2.17μs | 8.39ns | 32.5ns | 0 | 0 | 0 | 968 B |
| master | CallElasticsearch |
net472 | 3.5μs | 4.77ns | 18.5ns | 0.141 | 0 | 0 | 955 B |
| master | CallElasticsearchAsync |
net6.0 | 1.74μs | 6.14ns | 23.8ns | 0 | 0 | 0 | 928 B |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.39μs | 8.49ns | 32.9ns | 0 | 0 | 0 | 1.02 KB |
| master | CallElasticsearchAsync |
net472 | 3.4μs | 2.07ns | 7.75ns | 0.154 | 0 | 0 | 1.01 KB |
| #7942 | CallElasticsearch |
net6.0 | 1.64μs | 4.31ns | 16.1ns | 0 | 0 | 0 | 952 B |
| #7942 | CallElasticsearch |
netcoreapp3.1 | 2.1μs | 10.3ns | 47.4ns | 0 | 0 | 0 | 968 B |
| #7942 | CallElasticsearch |
net472 | 3.49μs | 3.98ns | 15.4ns | 0.141 | 0 | 0 | 955 B |
| #7942 | CallElasticsearchAsync |
net6.0 | 1.73μs | 3.54ns | 13.7ns | 0 | 0 | 0 | 928 B |
| #7942 | CallElasticsearchAsync |
netcoreapp3.1 | 2.35μs | 10.7ns | 42.6ns | 0 | 0 | 0 | 1.02 KB |
| #7942 | CallElasticsearchAsync |
net472 | 3.38μs | 4.1ns | 15.9ns | 0.152 | 0 | 0 | 1.01 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.82μs | 6.76ns | 26.2ns | 0 | 0 | 0 | 896 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.38μs | 10.4ns | 40.3ns | 0 | 0 | 0 | 896 B |
| master | ExecuteAsync |
net472 | 2.64μs | 6.24ns | 24.2ns | 0.131 | 0 | 0 | 859 B |
| #7942 | ExecuteAsync |
net6.0 | 1.77μs | 6.89ns | 26.7ns | 0 | 0 | 0 | 896 B |
| #7942 | ExecuteAsync |
netcoreapp3.1 | 2.43μs | 8.76ns | 33.9ns | 0 | 0 | 0 | 896 B |
| #7942 | ExecuteAsync |
net472 | 2.53μs | 0.729ns | 2.63ns | 0.127 | 0 | 0 | 859 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.75μs | 14.6ns | 56.7ns | 0 | 0 | 0 | 2.29 KB |
| master | SendAsync |
netcoreapp3.1 | 8.67μs | 25.1ns | 93.9ns | 0 | 0 | 0 | 2.83 KB |
| master | SendAsync |
net472 | 12μs | 9.11ns | 35.3ns | 0.477 | 0 | 0 | 3.08 KB |
| #7942 | SendAsync |
net6.0 | 6.56μs | 12.2ns | 42.4ns | 0 | 0 | 0 | 2.29 KB |
| #7942 | SendAsync |
netcoreapp3.1 | 8.41μs | 23.5ns | 91ns | 0 | 0 | 0 | 2.83 KB |
| #7942 | SendAsync |
net472 | 12.1μs | 7.33ns | 28.4ns | 0.482 | 0 | 0 | 3.08 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7942
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
257.24 KB
272.82 KB
15.58 KB
6.06%
Fewer allocations 🎉 in #7942
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
278.53 KB
270.34 KB
-8.19 KB
-2.94%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
272.02 KB
259.31 KB
-12.7 KB
-4.67%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 257.24 KB | 272.82 KB | 15.58 KB | 6.06% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 278.53 KB | 270.34 KB | -8.19 KB | -2.94% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 272.02 KB | 259.31 KB | -12.7 KB | -4.67% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 41.5μs | 219ns | 1.05μs | 0 | 0 | 0 | 42.51 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 49.1μs | 219ns | 820ns | 0 | 0 | 0 | 42.54 KB |
| master | StringConcatBenchmark |
net472 | 57.2μs | 146ns | 506ns | 0 | 0 | 0 | 49.15 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 469μs | 2.14μs | 8.57μs | 0 | 0 | 0 | 272.02 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 491μs | 7.68μs | 76μs | 0 | 0 | 0 | 257.24 KB |
| master | StringConcatAspectBenchmark |
net472 | 402μs | 2.12μs | 10.6μs | 0 | 0 | 0 | 278.53 KB |
| #7942 | StringConcatBenchmark |
net6.0 | 49.6μs | 727ns | 7.19μs | 0 | 0 | 0 | 42.51 KB |
| #7942 | StringConcatBenchmark |
netcoreapp3.1 | 50.2μs | 272ns | 2.37μs | 0 | 0 | 0 | 42.54 KB |
| #7942 | StringConcatBenchmark |
net472 | 57.4μs | 283ns | 1.23μs | 0 | 0 | 0 | 49.15 KB |
| #7942 | StringConcatAspectBenchmark |
net6.0 | 457μs | 2.25μs | 9.27μs | 0 | 0 | 0 | 259.31 KB |
| #7942 | StringConcatAspectBenchmark |
netcoreapp3.1 | 533μs | 2.41μs | 9.01μs | 0 | 0 | 0 | 272.82 KB |
| #7942 | StringConcatAspectBenchmark |
net472 | 407μs | 2.21μs | 11.9μs | 0 | 0 | 0 | 270.34 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.68μs | 13.8ns | 61.7ns | 0 | 0 | 0 | 1.69 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.59μs | 16.6ns | 64.4ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 3.84μs | 2.56ns | 9.93ns | 0.249 | 0 | 0 | 1.6 KB |
| #7942 | EnrichedLog |
net6.0 | 2.71μs | 14.7ns | 77.8ns | 0 | 0 | 0 | 1.69 KB |
| #7942 | EnrichedLog |
netcoreapp3.1 | 3.52μs | 16.7ns | 66.6ns | 0 | 0 | 0 | 1.7 KB |
| #7942 | EnrichedLog |
net472 | 4.01μs | 3.53ns | 13.7ns | 0.241 | 0 | 0 | 1.6 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 | 121μs | 89.6ns | 310ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 127μs | 32.7ns | 122ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 165μs | 40.7ns | 158ns | 0 | 0 | 0 | 4.51 KB |
| #7942 | EnrichedLog |
net6.0 | 122μs | 21.1ns | 73.1ns | 0 | 0 | 0 | 4.31 KB |
| #7942 | EnrichedLog |
netcoreapp3.1 | 129μs | 218ns | 816ns | 0 | 0 | 0 | 4.31 KB |
| #7942 | EnrichedLog |
net472 | 167μs | 42.6ns | 154ns | 0 | 0 | 0 | 4.51 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.09μs | 22.4ns | 86.7ns | 0 | 0 | 0 | 2.24 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.66μs | 29.8ns | 115ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.48μs | 8.76ns | 32.8ns | 0.3 | 0 | 0 | 2.05 KB |
| #7942 | EnrichedLog |
net6.0 | 5.06μs | 16.2ns | 62.6ns | 0 | 0 | 0 | 2.24 KB |
| #7942 | EnrichedLog |
netcoreapp3.1 | 6.86μs | 15.9ns | 61.8ns | 0 | 0 | 0 | 2.26 KB |
| #7942 | EnrichedLog |
net472 | 7.63μs | 8.52ns | 33ns | 0.303 | 0 | 0 | 2.05 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.95μs | 7.25ns | 28.1ns | 0 | 0 | 0 | 1.12 KB |
| master | SendReceive |
netcoreapp3.1 | 2.53μs | 10.9ns | 42.3ns | 0 | 0 | 0 | 1.14 KB |
| master | SendReceive |
net472 | 2.96μs | 1.95ns | 7.55ns | 0.164 | 0 | 0 | 1.12 KB |
| #7942 | SendReceive |
net6.0 | 1.91μs | 9.08ns | 36.3ns | 0 | 0 | 0 | 1.12 KB |
| #7942 | SendReceive |
netcoreapp3.1 | 2.54μs | 12.7ns | 59.6ns | 0 | 0 | 0 | 1.14 KB |
| #7942 | SendReceive |
net472 | 2.99μs | 1.68ns | 6.5ns | 0.164 | 0 | 0 | 1.12 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.53μs | 4.12ns | 15.4ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.92μs | 19.7ns | 76.3ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.62μs | 5.21ns | 20.2ns | 0.297 | 0 | 0 | 2.03 KB |
| #7942 | EnrichedLog |
net6.0 | 4.5μs | 5.33ns | 20ns | 0 | 0 | 0 | 1.58 KB |
| #7942 | EnrichedLog |
netcoreapp3.1 | 5.55μs | 16ns | 62ns | 0 | 0 | 0 | 1.63 KB |
| #7942 | EnrichedLog |
net472 | 7.22μs | 7.21ns | 27.9ns | 0.29 | 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 | 772ns | 4.24ns | 23.6ns | 0 | 0 | 0 | 520 B |
| master | StartFinishSpan |
netcoreapp3.1 | 952ns | 4.41ns | 17.1ns | 0 | 0 | 0 | 520 B |
| master | StartFinishSpan |
net472 | 889ns | 0.0884ns | 0.306ns | 0.0803 | 0 | 0 | 522 B |
| master | StartFinishScope |
net6.0 | 929ns | 4.44ns | 18.3ns | 0 | 0 | 0 | 640 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.11μs | 4.98ns | 19.3ns | 0 | 0 | 0 | 640 B |
| master | StartFinishScope |
net472 | 1.09μs | 1.83ns | 7.09ns | 0.0917 | 0 | 0 | 602 B |
| master | StartFinishTwoScopes |
net6.0 | 1.75μs | 8.11ns | 32.4ns | 0 | 0 | 0 | 1.19 KB |
| master | StartFinishTwoScopes |
netcoreapp3.1 | 2.21μs | 10.3ns | 38.5ns | 0 | 0 | 0 | 1.19 KB |
| master | StartFinishTwoScopes |
net472 | 2.12μs | 0.529ns | 2.05ns | 0.17 | 0 | 0 | 1.08 KB |
| #7942 | StartFinishSpan |
net6.0 | 760ns | 0.368ns | 1.43ns | 0 | 0 | 0 | 520 B |
| #7942 | StartFinishSpan |
netcoreapp3.1 | 943ns | 5.07ns | 25.9ns | 0 | 0 | 0 | 520 B |
| #7942 | StartFinishSpan |
net472 | 889ns | 0.102ns | 0.38ns | 0.0802 | 0 | 0 | 522 B |
| #7942 | StartFinishScope |
net6.0 | 900ns | 1.7ns | 6.34ns | 0 | 0 | 0 | 640 B |
| #7942 | StartFinishScope |
netcoreapp3.1 | 1.12μs | 6.25ns | 39.5ns | 0 | 0 | 0 | 640 B |
| #7942 | StartFinishScope |
net472 | 1.07μs | 0.0473ns | 0.164ns | 0.0912 | 0 | 0 | 602 B |
| #7942 | StartFinishTwoScopes |
net6.0 | 1.76μs | 9.33ns | 47.6ns | 0 | 0 | 0 | 1.19 KB |
| #7942 | StartFinishTwoScopes |
netcoreapp3.1 | 2.19μs | 0.324ns | 1.21ns | 0 | 0 | 0 | 1.19 KB |
| #7942 | StartFinishTwoScopes |
net472 | 2.12μs | 0.65ns | 2.52ns | 0.17 | 0 | 0 | 1.08 KB |
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 | 5.01ns | 20.1ns | 0 | 0 | 0 | 640 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.32μs | 6.66ns | 29.8ns | 0 | 0 | 0 | 640 B |
| master | RunOnMethodBegin |
net472 | 1.42μs | 0.824ns | 3.08ns | 0.0939 | 0 | 0 | 602 B |
| #7942 | RunOnMethodBegin |
net6.0 | 1.04μs | 5.24ns | 22.8ns | 0 | 0 | 0 | 640 B |
| #7942 | RunOnMethodBegin |
netcoreapp3.1 | 1.32μs | 4.61ns | 17.9ns | 0 | 0 | 0 | 640 B |
| #7942 | RunOnMethodBegin |
net472 | 1.46μs | 1.06ns | 4.12ns | 0.0952 | 0 | 0 | 602 B |
af73d0c to
530c137
Compare
|
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7942) 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 (7942) - mean (75ms) : 70, 81
master - mean (76ms) : 70, 82
section Bailout
This PR (7942) - mean (80ms) : 74, 85
master - mean (80ms) : 75, 86
section CallTarget+Inlining+NGEN
This PR (7942) - mean (1,079ms) : 1004, 1153
master - mean (1,077ms) : 1021, 1134
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 (7942) - mean (118ms) : 111, 124
master - mean (117ms) : 110, 124
section Bailout
This PR (7942) - mean (119ms) : 111, 127
master - mean (119ms) : 111, 126
section CallTarget+Inlining+NGEN
This PR (7942) - mean (767ms) : 733, 800
master - mean (771ms) : 725, 818
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7942) - mean (104ms) : 98, 111
master - mean (105ms) : 98, 112
section Bailout
This PR (7942) - mean (104ms) : 100, 109
master - mean (106ms) : 100, 112
section CallTarget+Inlining+NGEN
This PR (7942) - mean (703ms) : 671, 735
master - mean (716ms) : 678, 755
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7942) - mean (103ms) : 96, 109
master - mean (104ms) : 97, 110
section Bailout
This PR (7942) - mean (103ms) : 97, 108
master - mean (105ms) : 98, 112
section CallTarget+Inlining+NGEN
This PR (7942) - mean (669ms) : 643, 695
master - mean (683ms) : 652, 713
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 (7942) - mean (195ms) : 190, 199
master - mean (195ms) : 190, 199
section Bailout
This PR (7942) - mean (199ms) : 195, 202
master - mean (200ms) : 196, 203
section CallTarget+Inlining+NGEN
This PR (7942) - mean (1,125ms) : 1057, 1193
master - mean (1,128ms) : 1063, 1193
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 (7942) - mean (280ms) : 271, 288
master - mean (280ms) : 272, 288
section Bailout
This PR (7942) - mean (280ms) : 275, 285
master - mean (281ms) : 275, 288
section CallTarget+Inlining+NGEN
This PR (7942) - mean (916ms) : 864, 968
master - mean (917ms) : 872, 961
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7942) - mean (272ms) : 266, 277
master - mean (273ms) : 267, 280
section Bailout
This PR (7942) - mean (274ms) : 268, 280
master - mean (272ms) : 267, 277
section CallTarget+Inlining+NGEN
This PR (7942) - mean (893ms) : 853, 932
master - mean (896ms) : 857, 935
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7942) - mean (273ms) : 268, 279
master - mean (271ms) : 264, 279
section Bailout
This PR (7942) - mean (270ms) : 265, 275
master - mean (271ms) : 266, 277
section CallTarget+Inlining+NGEN
This PR (7942) - mean (831ms) : 803, 859
master - mean (831ms) : 806, 856
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
andrewlock
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All LGTM
Updates the package versions for integration tests.