Try to fix dependabot by andrewlock · Pull Request #7895 · DataDog/dd-trace-dotnet
Benchmarks
Benchmarks Report for benchmark platform 🐌
Benchmarks for #7895 compared to master:
- 2 benchmarks are faster, with geometric mean 1.708
- 1 benchmarks have fewer allocations
- 4 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 ✔️ More allocations ⚠️
More allocations ⚠️ in #7895
| Benchmark |
Base Allocated |
Diff Allocated |
Change |
Change % |
| Benchmarks.Trace.ActivityBenchmark.StartStopWithChild‑netcoreapp3.1 |
5.62 KB |
5.71 KB |
87 B |
1.55% |
Raw results
| Branch |
Method |
Toolchain |
Mean |
StdError |
StdDev |
Gen 0 |
Gen 1 |
Gen 2 |
Allocated |
| master |
StartStopWithChild |
net6.0 |
11.5μs |
62.2ns |
357ns |
0 |
0 |
0 |
5.5 KB |
| master |
StartStopWithChild |
netcoreapp3.1 |
14.3μs |
54ns |
209ns |
0 |
0 |
0 |
5.62 KB |
| master |
StartStopWithChild |
net472 |
21.8μs |
94.3ns |
353ns |
0.888 |
0.222 |
0 |
5.99 KB |
| #7895 |
StartStopWithChild |
net6.0 |
11.2μs |
60ns |
306ns |
0 |
0 |
0 |
5.5 KB |
| #7895 |
StartStopWithChild |
netcoreapp3.1 |
13.9μs |
73.4ns |
374ns |
0 |
0 |
0 |
5.71 KB |
| #7895 |
StartStopWithChild |
net472 |
21.5μs |
114ns |
558ns |
0.858 |
0.107 |
0 |
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.25ms |
103ns |
400ns |
0 |
0 |
0 |
2.7 KB |
| master |
WriteAndFlushEnrichedTraces |
netcoreapp3.1 |
1.38ms |
481ns |
1.8μs |
0 |
0 |
0 |
2.7 KB |
| master |
WriteAndFlushEnrichedTraces |
net472 |
1.75ms |
1.26μs |
4.71μs |
0 |
0 |
0 |
3.26 KB |
| #7895 |
WriteAndFlushEnrichedTraces |
net6.0 |
1.3ms |
721ns |
2.79μs |
0 |
0 |
0 |
2.7 KB |
| #7895 |
WriteAndFlushEnrichedTraces |
netcoreapp3.1 |
1.37ms |
114ns |
428ns |
0 |
0 |
0 |
2.7 KB |
| #7895 |
WriteAndFlushEnrichedTraces |
net472 |
1.72ms |
1.94μs |
7.51μs |
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.1μs |
6ns |
36.5ns |
0 |
0 |
0 |
1.22 KB |
| master |
AllCycleSimpleBody |
netcoreapp3.1 |
1.37μs |
7.69ns |
52.7ns |
0 |
0 |
0 |
1.2 KB |
| master |
AllCycleSimpleBody |
net472 |
1μs |
0.0683ns |
0.255ns |
0.191 |
0 |
0 |
1.23 KB |
| master |
AllCycleMoreComplexBody |
net6.0 |
7.31μs |
33.6ns |
134ns |
0 |
0 |
0 |
4.72 KB |
| master |
AllCycleMoreComplexBody |
netcoreapp3.1 |
8.93μs |
46ns |
221ns |
0 |
0 |
0 |
4.62 KB |
| master |
AllCycleMoreComplexBody |
net472 |
7.7μs |
2.54ns |
9.83ns |
0.733 |
0 |
0 |
4.74 KB |
| master |
ObjectExtractorSimpleBody |
net6.0 |
320ns |
1.8ns |
12.4ns |
0 |
0 |
0 |
280 B |
| master |
ObjectExtractorSimpleBody |
netcoreapp3.1 |
405ns |
1.95ns |
7.8ns |
0 |
0 |
0 |
272 B |
| master |
ObjectExtractorSimpleBody |
net472 |
302ns |
0.0715ns |
0.258ns |
0.0441 |
0 |
0 |
281 B |
| master |
ObjectExtractorMoreComplexBody |
net6.0 |
6.33μs |
25.9ns |
100ns |
0 |
0 |
0 |
3.78 KB |
| master |
ObjectExtractorMoreComplexBody |
netcoreapp3.1 |
7.79μs |
39.3ns |
180ns |
0 |
0 |
0 |
3.69 KB |
| master |
ObjectExtractorMoreComplexBody |
net472 |
6.68μs |
4.87ns |
18.2ns |
0.601 |
0 |
0 |
3.8 KB |
| #7895 |
AllCycleSimpleBody |
net6.0 |
1.14μs |
6.41ns |
40.5ns |
0 |
0 |
0 |
1.22 KB |
| #7895 |
AllCycleSimpleBody |
netcoreapp3.1 |
1.41μs |
7.45ns |
40.8ns |
0 |
0 |
0 |
1.2 KB |
| #7895 |
AllCycleSimpleBody |
net472 |
1μs |
0.0425ns |
0.153ns |
0.19 |
0 |
0 |
1.23 KB |
| #7895 |
AllCycleMoreComplexBody |
net6.0 |
7.47μs |
3.85ns |
13.9ns |
0 |
0 |
0 |
4.72 KB |
| #7895 |
AllCycleMoreComplexBody |
netcoreapp3.1 |
9.03μs |
45.9ns |
172ns |
0 |
0 |
0 |
4.62 KB |
| #7895 |
AllCycleMoreComplexBody |
net472 |
7.71μs |
4.86ns |
18.8ns |
0.736 |
0 |
0 |
4.74 KB |
| #7895 |
ObjectExtractorSimpleBody |
net6.0 |
325ns |
0.112ns |
0.402ns |
0 |
0 |
0 |
280 B |
| #7895 |
ObjectExtractorSimpleBody |
netcoreapp3.1 |
400ns |
2ns |
8.95ns |
0 |
0 |
0 |
272 B |
| #7895 |
ObjectExtractorSimpleBody |
net472 |
296ns |
0.0206ns |
0.0797ns |
0.0432 |
0 |
0 |
281 B |
| #7895 |
ObjectExtractorMoreComplexBody |
net6.0 |
6.36μs |
30.5ns |
114ns |
0 |
0 |
0 |
3.78 KB |
| #7895 |
ObjectExtractorMoreComplexBody |
netcoreapp3.1 |
7.8μs |
39ns |
166ns |
0 |
0 |
0 |
3.69 KB |
| #7895 |
ObjectExtractorMoreComplexBody |
net472 |
6.76μs |
3.66ns |
14.2ns |
0.579 |
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 |
185ns |
716ns |
0 |
0 |
0 |
32.4 KB |
| master |
EncodeArgs |
netcoreapp3.1 |
98.2μs |
268ns |
1.04μs |
0 |
0 |
0 |
32.4 KB |
| master |
EncodeArgs |
net472 |
110μs |
13.2ns |
49.5ns |
4.93 |
0 |
0 |
32.5 KB |
| master |
EncodeLegacyArgs |
net6.0 |
144μs |
264ns |
1.02μs |
0 |
0 |
0 |
2.14 KB |
| master |
EncodeLegacyArgs |
netcoreapp3.1 |
196μs |
43.9ns |
164ns |
0 |
0 |
0 |
2.14 KB |
| master |
EncodeLegacyArgs |
net472 |
261μs |
31.9ns |
124ns |
0 |
0 |
0 |
2.14 KB |
| #7895 |
EncodeArgs |
net6.0 |
78.4μs |
179ns |
692ns |
0 |
0 |
0 |
32.4 KB |
| #7895 |
EncodeArgs |
netcoreapp3.1 |
98.3μs |
27.2ns |
105ns |
0 |
0 |
0 |
32.4 KB |
| #7895 |
EncodeArgs |
net472 |
109μs |
14.1ns |
54.8ns |
4.92 |
0 |
0 |
32.5 KB |
| #7895 |
EncodeLegacyArgs |
net6.0 |
144μs |
31.7ns |
123ns |
0 |
0 |
0 |
2.14 KB |
| #7895 |
EncodeLegacyArgs |
netcoreapp3.1 |
200μs |
109ns |
423ns |
0 |
0 |
0 |
2.14 KB |
| #7895 |
EncodeLegacyArgs |
net472 |
265μs |
39.3ns |
152ns |
0 |
0 |
0 |
2.15 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 |
438μs |
797ns |
2.98μs |
0 |
0 |
0 |
4.55 KB |
| master |
RunWafRealisticBenchmark |
netcoreapp3.1 |
474μs |
4.68μs |
45.3μs |
0 |
0 |
0 |
4.48 KB |
| master |
RunWafRealisticBenchmark |
net472 |
500μs |
564ns |
2.03μs |
0 |
0 |
0 |
0 b |
| master |
RunWafRealisticBenchmarkWithAttack |
net6.0 |
329μs |
1.5μs |
5.82μs |
0 |
0 |
0 |
2.24 KB |
| master |
RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 |
350μs |
3.18μs |
30.5μs |
0 |
0 |
0 |
2.22 KB |
| master |
RunWafRealisticBenchmarkWithAttack |
net472 |
369μs |
507ns |
1.83μs |
0 |
0 |
0 |
0 b |
| #7895 |
RunWafRealisticBenchmark |
net6.0 |
437μs |
861ns |
3.22μs |
0 |
0 |
0 |
4.55 KB |
| #7895 |
RunWafRealisticBenchmark |
netcoreapp3.1 |
464μs |
2.71μs |
23.7μs |
0 |
0 |
0 |
4.48 KB |
| #7895 |
RunWafRealisticBenchmark |
net472 |
494μs |
698ns |
2.61μs |
0 |
0 |
0 |
0 b |
| #7895 |
RunWafRealisticBenchmarkWithAttack |
net6.0 |
309μs |
656ns |
2.27μs |
0 |
0 |
0 |
2.24 KB |
| #7895 |
RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 |
327μs |
1.38μs |
4.76μs |
0 |
0 |
0 |
2.22 KB |
| #7895 |
RunWafRealisticBenchmarkWithAttack |
net472 |
372μs |
393ns |
1.52μs |
0 |
0 |
0 |
0 b |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7895
| Benchmark |
Base Allocated |
Diff Allocated |
Change |
Change % |
| Benchmarks.Trace.AspNetCoreBenchmark.SendRequest‑netcoreapp3.1 |
21.25 KB |
21.42 KB |
168 B |
0.79% |
Raw results
| Branch |
Method |
Toolchain |
Mean |
StdError |
StdDev |
Gen 0 |
Gen 1 |
Gen 2 |
Allocated |
| master |
SendRequest |
net6.0 |
85.2μs |
48.8ns |
176ns |
0 |
0 |
0 |
19.03 KB |
| master |
SendRequest |
netcoreapp3.1 |
97.7μs |
362ns |
2.45μs |
0 |
0 |
0 |
21.25 KB |
| master |
SendRequest |
net472 |
0ns |
0ns |
0ns |
0 |
0 |
0 |
0 b |
| #7895 |
SendRequest |
net6.0 |
85.9μs |
120ns |
434ns |
0 |
0 |
0 |
19.03 KB |
| #7895 |
SendRequest |
netcoreapp3.1 |
96.4μs |
372ns |
2.17μs |
0 |
0 |
0 |
21.42 KB |
| #7895 |
SendRequest |
net472 |
0ns |
0ns |
0ns |
0 |
0 |
0 |
0 b |
Benchmarks.Trace.CharSliceBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #7895
| Benchmark |
base/diff |
Base Median (ns) |
Diff Median (ns) |
Modality |
| Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice‑netcoreapp3.1 |
1.842 |
3,876,000.00 |
2,104,600.00 |
|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1 |
1.585 |
2,754,200.00 |
1,737,750.00 |
|
Raw results
| Branch |
Method |
Toolchain |
Mean |
StdError |
StdDev |
Gen 0 |
Gen 1 |
Gen 2 |
Allocated |
| master |
OriginalCharSlice |
net6.0 |
1.93ms |
863ns |
3.34μs |
0 |
0 |
0 |
640 KB |
| master |
OriginalCharSlice |
netcoreapp3.1 |
3.88ms |
1.04μs |
3.76μs |
0 |
0 |
0 |
640 KB |
| master |
OriginalCharSlice |
net472 |
2.71ms |
768ns |
2.77μs |
0 |
0 |
0 |
638.98 KB |
| master |
OptimizedCharSlice |
net6.0 |
1.62ms |
1.06μs |
4.12μs |
0 |
0 |
0 |
0 b |
| master |
OptimizedCharSlice |
netcoreapp3.1 |
2.75ms |
1.44μs |
5.18μs |
0 |
0 |
0 |
0 b |
| master |
OptimizedCharSlice |
net472 |
2.06ms |
5.97μs |
23.1μs |
0 |
0 |
0 |
0 b |
| master |
OptimizedCharSliceWithPool |
net6.0 |
1.06ms |
920ns |
3.32μs |
0 |
0 |
0 |
0 b |
| master |
OptimizedCharSliceWithPool |
netcoreapp3.1 |
1.91ms |
1.1μs |
4.11μs |
0 |
0 |
0 |
0 b |
| master |
OptimizedCharSliceWithPool |
net472 |
1.13ms |
293ns |
1.1μs |
0 |
0 |
0 |
0 b |
| #7895 |
OriginalCharSlice |
net6.0 |
1.92ms |
1.16μs |
4.51μs |
0 |
0 |
0 |
640 KB |
| #7895 |
OriginalCharSlice |
netcoreapp3.1 |
2.12ms |
4.59μs |
27.9μs |
0 |
0 |
0 |
640 KB |
| #7895 |
OriginalCharSlice |
net472 |
2.6ms |
817ns |
3.06μs |
0 |
0 |
0 |
638.98 KB |
| #7895 |
OptimizedCharSlice |
net6.0 |
1.47ms |
354ns |
1.33μs |
0 |
0 |
0 |
0 b |
| #7895 |
OptimizedCharSlice |
netcoreapp3.1 |
1.74ms |
495ns |
3.13μs |
0 |
0 |
0 |
0 b |
| #7895 |
OptimizedCharSlice |
net472 |
1.97ms |
709ns |
2.65μs |
0 |
0 |
0 |
0 b |
| #7895 |
OptimizedCharSliceWithPool |
net6.0 |
1.02ms |
678ns |
2.54μs |
0 |
0 |
0 |
0 b |
| #7895 |
OptimizedCharSliceWithPool |
netcoreapp3.1 |
1.85ms |
1.18μs |
4.26μs |
0 |
0 |
0 |
0 b |
| #7895 |
OptimizedCharSliceWithPool |
net472 |
1.13ms |
305ns |
1.1μs |
0 |
0 |
0 |
0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7895
| Benchmark |
Base Allocated |
Diff Allocated |
Change |
Change % |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 |
55.58 KB |
55.91 KB |
329 B |
0.59% |
Raw results
| Branch |
Method |
Toolchain |
Mean |
StdError |
StdDev |
Gen 0 |
Gen 1 |
Gen 2 |
Allocated |
| master |
WriteAndFlushEnrichedTraces |
net6.0 |
698μs |
3.92μs |
24.8μs |
0 |
0 |
0 |
41.69 KB |
| master |
WriteAndFlushEnrichedTraces |
netcoreapp3.1 |
736μs |
4.18μs |
31.3μs |
0 |
0 |
0 |
41.95 KB |
| master |
WriteAndFlushEnrichedTraces |
net472 |
841μs |
3.98μs |
14.9μs |
4.46 |
0 |
0 |
55.58 KB |
| #7895 |
WriteAndFlushEnrichedTraces |
net6.0 |
655μs |
2.19μs |
8.5μs |
0 |
0 |
0 |
41.58 KB |
| #7895 |
WriteAndFlushEnrichedTraces |
netcoreapp3.1 |
730μs |
3.5μs |
14.4μs |
0 |
0 |
0 |
42 KB |
| #7895 |
WriteAndFlushEnrichedTraces |
net472 |
909μs |
4.33μs |
17.9μs |
8.33 |
4.17 |
0 |
55.91 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 |
5.62ns |
21.8ns |
0 |
0 |
0 |
1.02 KB |
| master |
ExecuteNonQuery |
netcoreapp3.1 |
2.61μs |
4.42ns |
17.1ns |
0 |
0 |
0 |
1.02 KB |
| master |
ExecuteNonQuery |
net472 |
2.75μs |
4.27ns |
16.6ns |
0.15 |
0 |
0 |
987 B |
| #7895 |
ExecuteNonQuery |
net6.0 |
1.94μs |
5.97ns |
23.1ns |
0 |
0 |
0 |
1.02 KB |
| #7895 |
ExecuteNonQuery |
netcoreapp3.1 |
2.65μs |
7.83ns |
30.3ns |
0 |
0 |
0 |
1.02 KB |
| #7895 |
ExecuteNonQuery |
net472 |
2.73μs |
0.939ns |
3.51ns |
0.15 |
0 |
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.75μs |
8.82ns |
41.4ns |
0 |
0 |
0 |
1.01 KB |
| master |
CallElasticsearch |
netcoreapp3.1 |
2.35μs |
8.45ns |
31.6ns |
0 |
0 |
0 |
1.02 KB |
| master |
CallElasticsearch |
net472 |
3.39μs |
3.52ns |
13.6ns |
0.151 |
0 |
0 |
1.01 KB |
| master |
CallElasticsearchAsync |
net6.0 |
1.72μs |
5.65ns |
21.1ns |
0 |
0 |
0 |
984 B |
| master |
CallElasticsearchAsync |
netcoreapp3.1 |
2.49μs |
6.14ns |
23.8ns |
0 |
0 |
0 |
1.07 KB |
| master |
CallElasticsearchAsync |
net472 |
3.54μs |
1.85ns |
7.18ns |
0.158 |
0 |
0 |
1.07 KB |
| #7895 |
CallElasticsearch |
net6.0 |
1.74μs |
1.18ns |
4.59ns |
0 |
0 |
0 |
1.01 KB |
| #7895 |
CallElasticsearch |
netcoreapp3.1 |
2.43μs |
9.05ns |
35ns |
0 |
0 |
0 |
1.02 KB |
| #7895 |
CallElasticsearch |
net472 |
3.43μs |
5.18ns |
20.1ns |
0.153 |
0 |
0 |
1.01 KB |
| #7895 |
CallElasticsearchAsync |
net6.0 |
1.71μs |
3.96ns |
15.3ns |
0 |
0 |
0 |
984 B |
| #7895 |
CallElasticsearchAsync |
netcoreapp3.1 |
2.61μs |
12.6ns |
51.9ns |
0 |
0 |
0 |
1.07 KB |
| #7895 |
CallElasticsearchAsync |
net472 |
3.66μs |
1.95ns |
7.55ns |
0.166 |
0 |
0 |
1.07 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.91μs |
8.24ns |
30.8ns |
0 |
0 |
0 |
952 B |
| master |
ExecuteAsync |
netcoreapp3.1 |
2.47μs |
6.65ns |
25.8ns |
0 |
0 |
0 |
952 B |
| master |
ExecuteAsync |
net472 |
2.68μs |
4.53ns |
17.6ns |
0.135 |
0 |
0 |
915 B |
| #7895 |
ExecuteAsync |
net6.0 |
1.97μs |
8.5ns |
32.9ns |
0 |
0 |
0 |
952 B |
| #7895 |
ExecuteAsync |
netcoreapp3.1 |
2.38μs |
11.2ns |
43.4ns |
0 |
0 |
0 |
952 B |
| #7895 |
ExecuteAsync |
net472 |
2.64μs |
0.865ns |
3.35ns |
0.134 |
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.95μs |
8.49ns |
32.9ns |
0 |
0 |
0 |
2.34 KB |
| master |
SendAsync |
netcoreapp3.1 |
8.41μs |
29.7ns |
115ns |
0 |
0 |
0 |
2.89 KB |
| master |
SendAsync |
net472 |
12.2μs |
11.2ns |
43.3ns |
0.49 |
0 |
0 |
3.14 KB |
| #7895 |
SendAsync |
net6.0 |
7.22μs |
8.13ns |
31.5ns |
0 |
0 |
0 |
2.34 KB |
| #7895 |
SendAsync |
netcoreapp3.1 |
8.47μs |
33.2ns |
128ns |
0 |
0 |
0 |
2.89 KB |
| #7895 |
SendAsync |
net472 |
12.3μs |
8.96ns |
34.7ns |
0.49 |
0 |
0 |
3.14 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7895
| Benchmark |
Base Allocated |
Diff Allocated |
Change |
Change % |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 |
257.69 KB |
259.77 KB |
2.08 KB |
0.81% |
Fewer allocations 🎉 in #7895
| Benchmark |
Base Allocated |
Diff Allocated |
Change |
Change % |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 |
276.66 KB |
259.82 KB |
-16.84 KB |
-6.09% |
Raw results
| Branch |
Method |
Toolchain |
Mean |
StdError |
StdDev |
Gen 0 |
Gen 1 |
Gen 2 |
Allocated |
| master |
StringConcatBenchmark |
net6.0 |
50.4μs |
628ns |
6.19μs |
0 |
0 |
0 |
42.51 KB |
| master |
StringConcatBenchmark |
netcoreapp3.1 |
51.1μs |
302ns |
2.85μs |
0 |
0 |
0 |
42.54 KB |
| master |
StringConcatBenchmark |
net472 |
56.7μs |
279ns |
1.15μs |
0 |
0 |
0 |
49.15 KB |
| master |
StringConcatAspectBenchmark |
net6.0 |
467μs |
1.75μs |
7.02μs |
0 |
0 |
0 |
257.69 KB |
| master |
StringConcatAspectBenchmark |
netcoreapp3.1 |
490μs |
7.39μs |
73.5μs |
0 |
0 |
0 |
276.66 KB |
| master |
StringConcatAspectBenchmark |
net472 |
419μs |
1.75μs |
6.53μs |
0 |
0 |
0 |
270.34 KB |
| #7895 |
StringConcatBenchmark |
net6.0 |
45μs |
262ns |
2.1μs |
0 |
0 |
0 |
42.51 KB |
| #7895 |
StringConcatBenchmark |
netcoreapp3.1 |
48.6μs |
263ns |
1.49μs |
0 |
0 |
0 |
42.54 KB |
| #7895 |
StringConcatBenchmark |
net472 |
56.2μs |
286ns |
1.31μs |
0 |
0 |
0 |
49.15 KB |
| #7895 |
StringConcatAspectBenchmark |
net6.0 |
497μs |
2.34μs |
12.2μs |
0 |
0 |
0 |
259.77 KB |
| #7895 |
StringConcatAspectBenchmark |
netcoreapp3.1 |
531μs |
2.44μs |
8.81μs |
0 |
0 |
0 |
259.82 KB |
| #7895 |
StringConcatAspectBenchmark |
net472 |
403μs |
2.08μs |
9.78μ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.7μs |
12.3ns |
49.3ns |
0 |
0 |
0 |
1.69 KB |
| master |
EnrichedLog |
netcoreapp3.1 |
3.51μs |
17.7ns |
81.2ns |
0 |
0 |
0 |
1.7 KB |
| master |
EnrichedLog |
net472 |
3.82μs |
4.76ns |
18.4ns |
0.248 |
0 |
0 |
1.6 KB |
| #7895 |
EnrichedLog |
net6.0 |
2.69μs |
13.8ns |
67.4ns |
0 |
0 |
0 |
1.69 KB |
| #7895 |
EnrichedLog |
netcoreapp3.1 |
3.51μs |
13.9ns |
53.9ns |
0 |
0 |
0 |
1.7 KB |
| #7895 |
EnrichedLog |
net472 |
3.87μs |
4.83ns |
18.7ns |
0.251 |
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 |
124μs |
199ns |
772ns |
0 |
0 |
0 |
4.31 KB |
| master |
EnrichedLog |
netcoreapp3.1 |
129μs |
220ns |
794ns |
0 |
0 |
0 |
4.31 KB |
| master |
EnrichedLog |
net472 |
171μs |
406ns |
1.57μs |
0 |
0 |
0 |
4.51 KB |
| #7895 |
EnrichedLog |
net6.0 |
123μs |
119ns |
430ns |
0 |
0 |
0 |
4.31 KB |
| #7895 |
EnrichedLog |
netcoreapp3.1 |
128μs |
187ns |
698ns |
0 |
0 |
0 |
4.31 KB |
| #7895 |
EnrichedLog |
net472 |
169μs |
356ns |
1.38μs |
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.02μs |
14.9ns |
57.8ns |
0 |
0 |
0 |
2.24 KB |
| master |
EnrichedLog |
netcoreapp3.1 |
6.78μs |
25.8ns |
96.4ns |
0 |
0 |
0 |
2.26 KB |
| master |
EnrichedLog |
net472 |
7.57μs |
3.81ns |
13.8ns |
0.303 |
0 |
0 |
2.05 KB |
| #7895 |
EnrichedLog |
net6.0 |
5.21μs |
18.7ns |
72.6ns |
0 |
0 |
0 |
2.24 KB |
| #7895 |
EnrichedLog |
netcoreapp3.1 |
6.83μs |
17.8ns |
64ns |
0 |
0 |
0 |
2.26 KB |
| #7895 |
EnrichedLog |
net472 |
7.65μs |
8.06ns |
31.2ns |
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.97μs |
5.91ns |
22.9ns |
0 |
0 |
0 |
1.18 KB |
| master |
SendReceive |
netcoreapp3.1 |
2.63μs |
13.4ns |
53.4ns |
0 |
0 |
0 |
1.19 KB |
| master |
SendReceive |
net472 |
3.02μs |
7.36ns |
28.5ns |
0.177 |
0 |
0 |
1.17 KB |
| #7895 |
SendReceive |
net6.0 |
1.96μs |
7.9ns |
30.6ns |
0 |
0 |
0 |
1.18 KB |
| #7895 |
SendReceive |
netcoreapp3.1 |
2.56μs |
12.7ns |
53.9ns |
0 |
0 |
0 |
1.19 KB |
| #7895 |
SendReceive |
net472 |
2.95μs |
3.62ns |
13.1ns |
0.176 |
0 |
0 |
1.17 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.48μs |
3.13ns |
12.1ns |
0 |
0 |
0 |
1.58 KB |
| master |
EnrichedLog |
netcoreapp3.1 |
5.64μs |
10ns |
38.8ns |
0 |
0 |
0 |
1.63 KB |
| master |
EnrichedLog |
net472 |
6.55μs |
5.93ns |
23ns |
0.292 |
0 |
0 |
2.03 KB |
| #7895 |
EnrichedLog |
net6.0 |
4.45μs |
17.1ns |
63.9ns |
0 |
0 |
0 |
1.58 KB |
| #7895 |
EnrichedLog |
netcoreapp3.1 |
5.9μs |
16.1ns |
62.5ns |
0 |
0 |
0 |
1.63 KB |
| #7895 |
EnrichedLog |
net472 |
6.64μs |
6.32ns |
24.5ns |
0.295 |
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 |
794ns |
4.03ns |
16.1ns |
0 |
0 |
0 |
576 B |
| master |
StartFinishSpan |
netcoreapp3.1 |
966ns |
5.2ns |
27ns |
0 |
0 |
0 |
576 B |
| master |
StartFinishSpan |
net472 |
905ns |
0.138ns |
0.518ns |
0.0907 |
0 |
0 |
578 B |
| master |
StartFinishScope |
net6.0 |
926ns |
4.69ns |
21.5ns |
0 |
0 |
0 |
696 B |
| master |
StartFinishScope |
netcoreapp3.1 |
1.19μs |
1.86ns |
7.2ns |
0 |
0 |
0 |
696 B |
| master |
StartFinishScope |
net472 |
1.1μs |
0.969ns |
3.75ns |
0.0992 |
0 |
0 |
658 B |
| master |
StartFinishTwoScopes |
net6.0 |
1.77μs |
0.61ns |
2.2ns |
0 |
0 |
0 |
1.19 KB |
| master |
StartFinishTwoScopes |
netcoreapp3.1 |
2.16μs |
10.1ns |
41.4ns |
0 |
0 |
0 |
1.19 KB |
| master |
StartFinishTwoScopes |
net472 |
2.17μs |
1.88ns |
7.03ns |
0.163 |
0 |
0 |
1.08 KB |
| #7895 |
StartFinishSpan |
net6.0 |
801ns |
4.33ns |
20.3ns |
0 |
0 |
0 |
576 B |
| #7895 |
StartFinishSpan |
netcoreapp3.1 |
978ns |
5.3ns |
29.5ns |
0 |
0 |
0 |
576 B |
| #7895 |
StartFinishSpan |
net472 |
908ns |
0.0638ns |
0.23ns |
0.0906 |
0 |
0 |
578 B |
| #7895 |
StartFinishScope |
net6.0 |
1.02μs |
0.471ns |
1.82ns |
0 |
0 |
0 |
696 B |
| #7895 |
StartFinishScope |
netcoreapp3.1 |
1.15μs |
5.97ns |
27.4ns |
0 |
0 |
0 |
696 B |
| #7895 |
StartFinishScope |
net472 |
1.12μs |
1.5ns |
5.8ns |
0.0998 |
0 |
0 |
658 B |
| #7895 |
StartFinishTwoScopes |
net6.0 |
1.78μs |
8.69ns |
34.8ns |
0 |
0 |
0 |
1.19 KB |
| #7895 |
StartFinishTwoScopes |
netcoreapp3.1 |
2.19μs |
11.3ns |
57.8ns |
0 |
0 |
0 |
1.19 KB |
| #7895 |
StartFinishTwoScopes |
net472 |
2.13μs |
3.96ns |
15.3ns |
0.161 |
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.09μs |
0.666ns |
2.58ns |
0 |
0 |
0 |
696 B |
| master |
RunOnMethodBegin |
netcoreapp3.1 |
1.42μs |
5.49ns |
20.6ns |
0 |
0 |
0 |
696 B |
| master |
RunOnMethodBegin |
net472 |
1.46μs |
0.237ns |
0.888ns |
0.103 |
0 |
0 |
658 B |
| #7895 |
RunOnMethodBegin |
net6.0 |
1.09μs |
0.594ns |
2.3ns |
0 |
0 |
0 |
696 B |
| #7895 |
RunOnMethodBegin |
netcoreapp3.1 |
1.41μs |
6.71ns |
28.5ns |
0 |
0 |
0 |
696 B |
| #7895 |
RunOnMethodBegin |
net472 |
1.46μs |
0.211ns |
0.819ns |
0.102 |
0 |
0 |
658 B |