-
Notifications
You must be signed in to change notification settings - Fork 149
Fix download artifacts link in logs. Improve logging. #7870
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
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (7870) 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 (7870) - mean (76ms) : 71, 81
master - mean (76ms) : 70, 83
section Bailout
This PR (7870) - mean (81ms) : 74, 88
master - mean (79ms) : 73, 85
section CallTarget+Inlining+NGEN
This PR (7870) - mean (1,078ms) : 988, 1168
master - mean (1,067ms) : 976, 1158
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 (7870) - mean (120ms) : 113, 127
master - mean (118ms) : 111, 125
section Bailout
This PR (7870) - mean (120ms) : 113, 127
master - mean (118ms) : 111, 125
section CallTarget+Inlining+NGEN
This PR (7870) - mean (769ms) : 735, 802
master - mean (758ms) : 720, 796
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7870) - mean (106ms) : 99, 113
master - mean (105ms) : 98, 111
section Bailout
This PR (7870) - mean (107ms) : 103, 111
master - mean (107ms) : 100, 114
section CallTarget+Inlining+NGEN
This PR (7870) - mean (716ms) : 676, 757
master - mean (719ms) : 677, 762
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7870) - mean (105ms) : 98, 111
master - mean (106ms) : 98, 114
section Bailout
This PR (7870) - mean (106ms) : 101, 112
master - mean (105ms) : 98, 112
section CallTarget+Inlining+NGEN
This PR (7870) - mean (697ms) : 665, 729
master - mean (690ms) : 661, 720
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 (7870) - mean (197ms) : 190, 204
master - mean (195ms) : 192, 198
section Bailout
This PR (7870) - mean (201ms) : 195, 207
master - mean (198ms) : 196, 201
section CallTarget+Inlining+NGEN
This PR (7870) - mean (1,168ms) : 1098, 1238
master - mean (1,129ms) : 1071, 1188
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 (7870) - mean (289ms) : 276, 302
master - mean (280ms) : 276, 285
section Bailout
This PR (7870) - mean (288ms) : 281, 296
master - mean (281ms) : 276, 287
section CallTarget+Inlining+NGEN
This PR (7870) - mean (950ms) : 902, 998
master - mean (924ms) : 880, 969
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7870) - mean (281ms) : 272, 291
master - mean (274ms) : 267, 280
section Bailout
This PR (7870) - mean (280ms) : 269, 291
master - mean (275ms) : 270, 279
section CallTarget+Inlining+NGEN
This PR (7870) - mean (932ms) : 887, 976
master - mean (902ms) : 860, 944
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (7870) - mean (278ms) : 268, 288
master - mean (273ms) : 267, 278
section Bailout
This PR (7870) - mean (280ms) : 271, 288
master - mean (273ms) : 269, 276
section CallTarget+Inlining+NGEN
This PR (7870) - mean (864ms) : 828, 900
master - mean (839ms) : 813, 865
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmarks Report for benchmark platform 🐌Benchmarks for #7870 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‑netcoreapp3.1 | 5.71 KB | 5.74 KB | 30 B | 0.53% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartStopWithChild |
net6.0 | 9.99μs | 54.5ns | 332ns | 0 | 0 | 0 | 5.5 KB |
| master | StartStopWithChild |
netcoreapp3.1 | 13.6μs | 70.4ns | 330ns | 0 | 0 | 0 | 5.71 KB |
| master | StartStopWithChild |
net472 | 21.8μs | 120ns | 741ns | 0.978 | 0.435 | 0.109 | 6.01 KB |
| #7870 | StartStopWithChild |
net6.0 | 10.8μs | 58.6ns | 352ns | 0 | 0 | 0 | 5.51 KB |
| #7870 | StartStopWithChild |
netcoreapp3.1 | 14.1μs | 69.4ns | 302ns | 0 | 0 | 0 | 5.74 KB |
| #7870 | StartStopWithChild |
net472 | 22.3μs | 118ns | 588ns | 0.985 | 0.328 | 0.109 | 6.02 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 | 939μs | 45.8ns | 177ns | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.02ms | 623ns | 2.41μs | 0 | 0 | 0 | 2.7 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 1.22ms | 61.8ns | 231ns | 0 | 0 | 0 | 3.31 KB |
| #7870 | WriteAndFlushEnrichedTraces |
net6.0 | 961μs | 3.35μs | 13μs | 0 | 0 | 0 | 2.71 KB |
| #7870 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 1.02ms | 46.7ns | 175ns | 0 | 0 | 0 | 2.7 KB |
| #7870 | WriteAndFlushEnrichedTraces |
net472 | 1.21ms | 49.7ns | 186ns | 0 | 0 | 0 | 3.31 KB |
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | AllCycleSimpleBody |
net6.0 | 1.09μs | 1.29ns | 5.01ns | 0 | 0 | 0 | 1.22 KB |
| master | AllCycleSimpleBody |
netcoreapp3.1 | 1.39μs | 7.67ns | 46.6ns | 0 | 0 | 0 | 1.2 KB |
| master | AllCycleSimpleBody |
net472 | 1.03μs | 0.897ns | 3.47ns | 0.194 | 0 | 0 | 1.23 KB |
| master | AllCycleMoreComplexBody |
net6.0 | 7.28μs | 33.8ns | 131ns | 0 | 0 | 0 | 4.72 KB |
| master | AllCycleMoreComplexBody |
netcoreapp3.1 | 8.98μs | 32ns | 124ns | 0 | 0 | 0 | 4.62 KB |
| master | AllCycleMoreComplexBody |
net472 | 7.7μs | 4.79ns | 18.6ns | 0.729 | 0 | 0 | 4.74 KB |
| master | ObjectExtractorSimpleBody |
net6.0 | 331ns | 1.68ns | 7.52ns | 0 | 0 | 0 | 280 B |
| master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 401ns | 2.2ns | 12.2ns | 0 | 0 | 0 | 272 B |
| master | ObjectExtractorSimpleBody |
net472 | 298ns | 0.167ns | 0.648ns | 0.0436 | 0 | 0 | 281 B |
| master | ObjectExtractorMoreComplexBody |
net6.0 | 6.4μs | 30.1ns | 141ns | 0 | 0 | 0 | 3.78 KB |
| master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.86μs | 29.1ns | 113ns | 0 | 0 | 0 | 3.69 KB |
| master | ObjectExtractorMoreComplexBody |
net472 | 6.67μs | 5.3ns | 19.8ns | 0.602 | 0 | 0 | 3.8 KB |
| #7870 | AllCycleSimpleBody |
net6.0 | 1.09μs | 1.02ns | 3.94ns | 0 | 0 | 0 | 1.22 KB |
| #7870 | AllCycleSimpleBody |
netcoreapp3.1 | 1.39μs | 7.93ns | 61.4ns | 0 | 0 | 0 | 1.2 KB |
| #7870 | AllCycleSimpleBody |
net472 | 1.02μs | 0.314ns | 1.17ns | 0.194 | 0 | 0 | 1.23 KB |
| #7870 | AllCycleMoreComplexBody |
net6.0 | 7.32μs | 34.4ns | 133ns | 0 | 0 | 0 | 4.72 KB |
| #7870 | AllCycleMoreComplexBody |
netcoreapp3.1 | 9.06μs | 46.5ns | 213ns | 0 | 0 | 0 | 4.62 KB |
| #7870 | AllCycleMoreComplexBody |
net472 | 7.7μs | 10.1ns | 39.2ns | 0.728 | 0 | 0 | 4.74 KB |
| #7870 | ObjectExtractorSimpleBody |
net6.0 | 338ns | 1.86ns | 11.3ns | 0 | 0 | 0 | 280 B |
| #7870 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 405ns | 2.07ns | 9.02ns | 0 | 0 | 0 | 272 B |
| #7870 | ObjectExtractorSimpleBody |
net472 | 301ns | 0.0384ns | 0.149ns | 0.0439 | 0 | 0 | 281 B |
| #7870 | ObjectExtractorMoreComplexBody |
net6.0 | 6.39μs | 34.1ns | 177ns | 0 | 0 | 0 | 3.78 KB |
| #7870 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 7.82μs | 34.4ns | 129ns | 0 | 0 | 0 | 3.69 KB |
| #7870 | ObjectExtractorMoreComplexBody |
net472 | 6.67μs | 2.68ns | 10.4ns | 0.6 | 0 | 0 | 3.8 KB |
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7870
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs‑net472
2.16 KB
2.17 KB
13 B
0.60%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs‑net472 | 2.16 KB | 2.17 KB | 13 B | 0.60% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EncodeArgs |
net6.0 | 76.6μs | 213ns | 796ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
netcoreapp3.1 | 96.3μs | 207ns | 774ns | 0 | 0 | 0 | 32.4 KB |
| master | EncodeArgs |
net472 | 112μs | 7.66ns | 26.5ns | 5.03 | 0 | 0 | 32.51 KB |
| master | EncodeLegacyArgs |
net6.0 | 145μs | 25.7ns | 99.6ns | 0 | 0 | 0 | 2.15 KB |
| master | EncodeLegacyArgs |
netcoreapp3.1 | 197μs | 83.5ns | 289ns | 0 | 0 | 0 | 2.14 KB |
| master | EncodeLegacyArgs |
net472 | 264μs | 96ns | 372ns | 0 | 0 | 0 | 2.16 KB |
| #7870 | EncodeArgs |
net6.0 | 76.6μs | 249ns | 931ns | 0 | 0 | 0 | 32.4 KB |
| #7870 | EncodeArgs |
netcoreapp3.1 | 95.5μs | 343ns | 1.33μs | 0 | 0 | 0 | 32.4 KB |
| #7870 | EncodeArgs |
net472 | 110μs | 14ns | 54.2ns | 4.96 | 0 | 0 | 32.51 KB |
| #7870 | EncodeLegacyArgs |
net6.0 | 147μs | 58.1ns | 225ns | 0 | 0 | 0 | 2.15 KB |
| #7870 | EncodeLegacyArgs |
netcoreapp3.1 | 199μs | 212ns | 821ns | 0 | 0 | 0 | 2.14 KB |
| #7870 | EncodeLegacyArgs |
net472 | 271μs | 32.4ns | 125ns | 0 | 0 | 0 | 2.17 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Fewer allocations 🎉
Fewer allocations 🎉 in #7870
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑net6.0
3.5 KB
3.17 KB
-336 B
-9.59%
Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑net6.0
5.48 KB
4.86 KB
-624 B
-11.39%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack‑net6.0 | 3.5 KB | 3.17 KB | -336 B | -9.59% |
| Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark‑net6.0 | 5.48 KB | 4.86 KB | -624 B | -11.39% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunWafRealisticBenchmark |
net6.0 | 457μs | 3.08μs | 30.6μs | 0 | 0 | 0 | 5.48 KB |
| master | RunWafRealisticBenchmark |
netcoreapp3.1 | 496μs | 4.32μs | 42.1μs | 0 | 0 | 0 | 4.58 KB |
| master | RunWafRealisticBenchmark |
net472 | 503μs | 607ns | 2.27μs | 0 | 0 | 0 | 8.19 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 311μs | 778ns | 2.81μs | 0 | 0 | 0 | 3.5 KB |
| master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 352μs | 3.19μs | 31μs | 0 | 0 | 0 | 2.32 KB |
| master | RunWafRealisticBenchmarkWithAttack |
net472 | 371μs | 373ns | 1.29μs | 0 | 0 | 0 | 8.19 KB |
| #7870 | RunWafRealisticBenchmark |
net6.0 | 426μs | 979ns | 3.53μs | 0 | 0 | 0 | 4.86 KB |
| #7870 | RunWafRealisticBenchmark |
netcoreapp3.1 | 479μs | 3.72μs | 35.7μs | 0 | 0 | 0 | 4.58 KB |
| #7870 | RunWafRealisticBenchmark |
net472 | 499μs | 233ns | 840ns | 0 | 0 | 0 | 8.19 KB |
| #7870 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 311μs | 1.2μs | 4.34μs | 0 | 0 | 0 | 3.17 KB |
| #7870 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 331μs | 1.12μs | 3.86μs | 0 | 0 | 0 | 2.32 KB |
| #7870 | RunWafRealisticBenchmarkWithAttack |
net472 | 371μs | 322ns | 1.2μs | 0 | 0 | 0 | 8.19 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendRequest |
net6.0 | 61.4μs | 113ns | 422ns | 0 | 0 | 0 | 14.52 KB |
| master | SendRequest |
netcoreapp3.1 | 71.1μs | 70.2ns | 253ns | 0 | 0 | 0 | 17.42 KB |
| master | SendRequest |
net472 | 0.00553ns | 0.00212ns | 0.00822ns | 0 | 0 | 0 | 0 b |
| #7870 | SendRequest |
net6.0 | 61.2μs | 48.6ns | 182ns | 0 | 0 | 0 | 14.52 KB |
| #7870 | SendRequest |
netcoreapp3.1 | 72.2μs | 59.9ns | 224ns | 0 | 0 | 0 | 17.42 KB |
| #7870 | SendRequest |
net472 | 0.000438ns | 0.000317ns | 0.00119ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CharSliceBenchmark - Slower ⚠️ More allocations ⚠️
Slower ⚠️ in #7870
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net472
1.257
1,988,650.00
2,498,850.00
Faster 🎉 in #7870
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1
1.653
2,817,700.00
1,705,100.00
More allocations ⚠️ in #7870
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0
304 B
976 B
672 B
221.05%
Fewer allocations 🎉 in #7870
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0
976 B
640 B
-336 B
-34.43%
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net472 | 1.257 | 1,988,650.00 | 2,498,850.00 |
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑netcoreapp3.1 | 1.653 | 2,817,700.00 | 1,705,100.00 |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑net6.0 | 304 B | 976 B | 672 B | 221.05% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice‑net6.0 | 976 B | 640 B | -336 B | -34.43% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | OriginalCharSlice |
net6.0 | 1.89ms | 907ns | 3.51μs | 0 | 0 | 0 | 640.3 KB |
| master | OriginalCharSlice |
netcoreapp3.1 | 3.97ms | 1.68μs | 6.27μs | 0 | 0 | 0 | 640.1 KB |
| master | OriginalCharSlice |
net472 | 2.64ms | 648ns | 2.42μs | 0 | 0 | 0 | 647.17 KB |
| master | OptimizedCharSlice |
net6.0 | 1.4ms | 554ns | 2.07μs | 0 | 0 | 0 | 976 B |
| master | OptimizedCharSlice |
netcoreapp3.1 | 2.82ms | 905ns | 3.39μs | 0 | 0 | 0 | 104 B |
| master | OptimizedCharSlice |
net472 | 1.99ms | 996ns | 3.59μs | 0 | 0 | 0 | 8.19 KB |
| master | OptimizedCharSliceWithPool |
net6.0 | 1.01ms | 347ns | 1.3μs | 0 | 0 | 0 | 304 B |
| master | OptimizedCharSliceWithPool |
netcoreapp3.1 | 2ms | 2.03μs | 7.88μs | 0 | 0 | 0 | 104 B |
| master | OptimizedCharSliceWithPool |
net472 | 1.15ms | 639ns | 2.39μs | 0 | 0 | 0 | 8.19 KB |
| #7870 | OriginalCharSlice |
net6.0 | 1.9ms | 1.2μs | 4.64μs | 0 | 0 | 0 | 640.64 KB |
| #7870 | OriginalCharSlice |
netcoreapp3.1 | 3.95ms | 2.16μs | 7.49μs | 0 | 0 | 0 | 640.1 KB |
| #7870 | OriginalCharSlice |
net472 | 2.73ms | 1.16μs | 4.51μs | 0 | 0 | 0 | 647.17 KB |
| #7870 | OptimizedCharSlice |
net6.0 | 1.36ms | 471ns | 1.7μs | 0 | 0 | 0 | 640 B |
| #7870 | OptimizedCharSlice |
netcoreapp3.1 | 1.71ms | 6μs | 39.3μs | 0 | 0 | 0 | 104 B |
| #7870 | OptimizedCharSlice |
net472 | 2.49ms | 3.2μs | 12.4μs | 0 | 0 | 0 | 8.19 KB |
| #7870 | OptimizedCharSliceWithPool |
net6.0 | 1ms | 452ns | 1.69μs | 0 | 0 | 0 | 976 B |
| #7870 | OptimizedCharSliceWithPool |
netcoreapp3.1 | 1.88ms | 1.27μs | 4.9μs | 0 | 0 | 0 | 104 B |
| #7870 | OptimizedCharSliceWithPool |
net472 | 1.14ms | 1.33μs | 5.14μs | 0 | 0 | 0 | 8.19 KB |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #7870
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472
1.283
830,691.25
1,065,744.17
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1
1.131
625,569.95
707,377.92
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 | 1.283 | 830,691.25 | 1,065,744.17 | |
| Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑netcoreapp3.1 | 1.131 | 625,569.95 | 707,377.92 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | WriteAndFlushEnrichedTraces |
net6.0 | 685μs | 1.86μs | 7.21μs | 0 | 0 | 0 | 41.71 KB |
| master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 627μs | 903ns | 3.5μs | 0 | 0 | 0 | 41.98 KB |
| master | WriteAndFlushEnrichedTraces |
net472 | 832μs | 1.3μs | 4.88μs | 8.33 | 0 | 0 | 56.18 KB |
| #7870 | WriteAndFlushEnrichedTraces |
net6.0 | 738μs | 4.22μs | 32.7μs | 0 | 0 | 0 | 41.62 KB |
| #7870 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 708μs | 3.57μs | 21.1μs | 0 | 0 | 0 | 41.93 KB |
| #7870 | WriteAndFlushEnrichedTraces |
net472 | 1.06ms | 4.62μs | 17.9μs | 8.33 | 0 | 0 | 56.25 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteNonQuery |
net6.0 | 1.93μs | 9.98ns | 47.9ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
netcoreapp3.1 | 2.47μs | 11.2ns | 40.5ns | 0 | 0 | 0 | 1.02 KB |
| master | ExecuteNonQuery |
net472 | 2.71μs | 1.89ns | 7.31ns | 0.15 | 0 | 0 | 987 B |
| #7870 | ExecuteNonQuery |
net6.0 | 1.99μs | 2.82ns | 10.9ns | 0 | 0 | 0 | 1.02 KB |
| #7870 | ExecuteNonQuery |
netcoreapp3.1 | 2.74μs | 13.3ns | 51.3ns | 0 | 0 | 0 | 1.02 KB |
| #7870 | ExecuteNonQuery |
net472 | 2.71μs | 3.04ns | 11.4ns | 0.148 | 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.76μs | 8.03ns | 30ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
netcoreapp3.1 | 2.23μs | 11.7ns | 56.2ns | 0 | 0 | 0 | 1.03 KB |
| master | CallElasticsearch |
net472 | 3.57μs | 3.38ns | 13.1ns | 0.16 | 0 | 0 | 1.04 KB |
| master | CallElasticsearchAsync |
net6.0 | 1.79μs | 8.33ns | 32.3ns | 0 | 0 | 0 | 1.01 KB |
| master | CallElasticsearchAsync |
netcoreapp3.1 | 2.44μs | 8.58ns | 33.2ns | 0 | 0 | 0 | 1.08 KB |
| master | CallElasticsearchAsync |
net472 | 3.71μs | 1.19ns | 4.6ns | 0.165 | 0 | 0 | 1.1 KB |
| #7870 | CallElasticsearch |
net6.0 | 1.72μs | 8.26ns | 32ns | 0 | 0 | 0 | 1.03 KB |
| #7870 | CallElasticsearch |
netcoreapp3.1 | 2.29μs | 8.84ns | 34.3ns | 0 | 0 | 0 | 1.03 KB |
| #7870 | CallElasticsearch |
net472 | 3.54μs | 2.13ns | 8.24ns | 0.157 | 0 | 0 | 1.04 KB |
| #7870 | CallElasticsearchAsync |
net6.0 | 1.79μs | 8.79ns | 35.1ns | 0 | 0 | 0 | 1.01 KB |
| #7870 | CallElasticsearchAsync |
netcoreapp3.1 | 2.38μs | 8.58ns | 32.1ns | 0 | 0 | 0 | 1.08 KB |
| #7870 | CallElasticsearchAsync |
net472 | 3.79μs | 3.49ns | 13.5ns | 0.169 | 0 | 0 | 1.1 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | ExecuteAsync |
net6.0 | 1.82μs | 5.61ns | 21.7ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
netcoreapp3.1 | 2.35μs | 10.9ns | 43.4ns | 0 | 0 | 0 | 952 B |
| master | ExecuteAsync |
net472 | 2.67μs | 3.16ns | 12.2ns | 0.133 | 0 | 0 | 915 B |
| #7870 | ExecuteAsync |
net6.0 | 1.81μs | 7.16ns | 27.7ns | 0 | 0 | 0 | 952 B |
| #7870 | ExecuteAsync |
netcoreapp3.1 | 2.36μs | 9.4ns | 35.2ns | 0 | 0 | 0 | 952 B |
| #7870 | ExecuteAsync |
net472 | 2.65μs | 1.32ns | 4.93ns | 0.133 | 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.79μs | 10ns | 38.9ns | 0 | 0 | 0 | 2.36 KB |
| master | SendAsync |
netcoreapp3.1 | 8.96μs | 35ns | 135ns | 0 | 0 | 0 | 2.9 KB |
| master | SendAsync |
net472 | 12.2μs | 10.5ns | 40.6ns | 0.488 | 0 | 0 | 3.18 KB |
| #7870 | SendAsync |
net6.0 | 6.8μs | 17.6ns | 63.5ns | 0 | 0 | 0 | 2.36 KB |
| #7870 | SendAsync |
netcoreapp3.1 | 8.81μs | 38ns | 147ns | 0 | 0 | 0 | 2.9 KB |
| #7870 | SendAsync |
net472 | 12μs | 15.1ns | 58.6ns | 0.481 | 0 | 0 | 3.18 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #7870
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
250.62 KB
257.38 KB
6.76 KB
2.70%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0
43.36 KB
43.81 KB
448 B
1.03%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472
278.53 KB
280.52 KB
1.99 KB
0.72%
Fewer allocations 🎉 in #7870
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1
44.04 KB
42.74 KB
-1.3 KB
-2.96%
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 250.62 KB | 257.38 KB | 6.76 KB | 2.70% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net6.0 | 43.36 KB | 43.81 KB | 448 B | 1.03% |
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net472 | 278.53 KB | 280.52 KB | 1.99 KB | 0.72% |
| Benchmark | Base Allocated | Diff Allocated | Change | Change % |
|---|---|---|---|---|
| Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑netcoreapp3.1 | 44.04 KB | 42.74 KB | -1.3 KB | -2.96% |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StringConcatBenchmark |
net6.0 | 45μs | 249ns | 1.41μs | 0 | 0 | 0 | 43.36 KB |
| master | StringConcatBenchmark |
netcoreapp3.1 | 48.4μs | 200ns | 720ns | 0 | 0 | 0 | 44.04 KB |
| master | StringConcatBenchmark |
net472 | 57.5μs | 127ns | 459ns | 0 | 0 | 0 | 57.34 KB |
| master | StringConcatAspectBenchmark |
net6.0 | 445μs | 2.37μs | 12.1μs | 0 | 0 | 0 | 250.62 KB |
| master | StringConcatAspectBenchmark |
netcoreapp3.1 | 528μs | 2.53μs | 10.1μs | 0 | 0 | 0 | 272.86 KB |
| master | StringConcatAspectBenchmark |
net472 | 411μs | 2.21μs | 12.5μs | 0 | 0 | 0 | 278.53 KB |
| #7870 | StringConcatBenchmark |
net6.0 | 44.9μs | 254ns | 1.66μs | 0 | 0 | 0 | 43.81 KB |
| #7870 | StringConcatBenchmark |
netcoreapp3.1 | 51μs | 406ns | 3.72μs | 0 | 0 | 0 | 42.74 KB |
| #7870 | StringConcatBenchmark |
net472 | 56.9μs | 128ns | 461ns | 0 | 0 | 0 | 57.34 KB |
| #7870 | StringConcatAspectBenchmark |
net6.0 | 462μs | 1.95μs | 7.05μs | 0 | 0 | 0 | 257.38 KB |
| #7870 | StringConcatAspectBenchmark |
netcoreapp3.1 | 528μs | 1.91μs | 10.7μs | 0 | 0 | 0 | 272.75 KB |
| #7870 | StringConcatAspectBenchmark |
net472 | 405μs | 2.1μs | 14.6μs | 0 | 0 | 0 | 280.52 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.64μs | 13.6ns | 67.9ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.56μs | 15.7ns | 60.6ns | 0 | 0 | 0 | 1.7 KB |
| master | EnrichedLog |
net472 | 3.82μs | 2.9ns | 11.2ns | 0.245 | 0 | 0 | 1.64 KB |
| #7870 | EnrichedLog |
net6.0 | 2.59μs | 11.9ns | 47.4ns | 0 | 0 | 0 | 1.7 KB |
| #7870 | EnrichedLog |
netcoreapp3.1 | 3.55μs | 18.1ns | 81.1ns | 0 | 0 | 0 | 1.7 KB |
| #7870 | EnrichedLog |
net472 | 3.8μs | 3.11ns | 12ns | 0.246 | 0 | 0 | 1.64 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 124μs | 129ns | 483ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
netcoreapp3.1 | 127μs | 70.9ns | 256ns | 0 | 0 | 0 | 4.31 KB |
| master | EnrichedLog |
net472 | 168μs | 128ns | 495ns | 0 | 0 | 0 | 4.52 KB |
| #7870 | EnrichedLog |
net6.0 | 124μs | 62.3ns | 216ns | 0 | 0 | 0 | 4.31 KB |
| #7870 | EnrichedLog |
netcoreapp3.1 | 128μs | 166ns | 574ns | 0 | 0 | 0 | 4.31 KB |
| #7870 | EnrichedLog |
net472 | 170μs | 513ns | 1.92μs | 0 | 0 | 0 | 4.52 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 4.91μs | 23.1ns | 92.4ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
netcoreapp3.1 | 6.93μs | 26.5ns | 103ns | 0 | 0 | 0 | 2.26 KB |
| master | EnrichedLog |
net472 | 7.38μs | 5.92ns | 22.9ns | 0.297 | 0 | 0 | 2.08 KB |
| #7870 | EnrichedLog |
net6.0 | 5.03μs | 12.8ns | 49.5ns | 0 | 0 | 0 | 2.26 KB |
| #7870 | EnrichedLog |
netcoreapp3.1 | 6.99μs | 29.5ns | 114ns | 0 | 0 | 0 | 2.26 KB |
| #7870 | EnrichedLog |
net472 | 7.84μs | 10.6ns | 41ns | 0.312 | 0 | 0 | 2.08 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | SendReceive |
net6.0 | 1.94μs | 8.91ns | 34.5ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
netcoreapp3.1 | 2.54μs | 10.8ns | 41.9ns | 0 | 0 | 0 | 1.2 KB |
| master | SendReceive |
net472 | 2.96μs | 2.36ns | 8.82ns | 0.191 | 0 | 0 | 1.2 KB |
| #7870 | SendReceive |
net6.0 | 1.93μs | 9.19ns | 35.6ns | 0 | 0 | 0 | 1.2 KB |
| #7870 | SendReceive |
netcoreapp3.1 | 2.51μs | 12.4ns | 52.6ns | 0 | 0 | 0 | 1.2 KB |
| #7870 | SendReceive |
net472 | 2.96μs | 2.75ns | 10.6ns | 0.191 | 0 | 0 | 1.2 KB |
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 4.29μs | 1.1ns | 4.11ns | 0 | 0 | 0 | 1.58 KB |
| master | EnrichedLog |
netcoreapp3.1 | 5.94μs | 15.6ns | 60.6ns | 0 | 0 | 0 | 1.63 KB |
| master | EnrichedLog |
net472 | 6.55μs | 5.18ns | 20.1ns | 0.293 | 0 | 0 | 2.03 KB |
| #7870 | EnrichedLog |
net6.0 | 4.21μs | 15.5ns | 60.1ns | 0 | 0 | 0 | 1.58 KB |
| #7870 | EnrichedLog |
netcoreapp3.1 | 5.8μs | 19ns | 73.6ns | 0 | 0 | 0 | 1.63 KB |
| #7870 | EnrichedLog |
net472 | 6.46μs | 6.13ns | 23.8ns | 0.291 | 0 | 0 | 2.03 KB |
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 790ns | 3.61ns | 14.4ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 960ns | 0.356ns | 1.38ns | 0 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 917ns | 0.121ns | 0.471ns | 0.0916 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 937ns | 0.434ns | 1.68ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 1.13μs | 5.83ns | 26.7ns | 0 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 1.1μs | 0.186ns | 0.721ns | 0.0993 | 0 | 0 | 658 B |
| #7870 | StartFinishSpan |
net6.0 | 784ns | 1.75ns | 6.78ns | 0 | 0 | 0 | 576 B |
| #7870 | StartFinishSpan |
netcoreapp3.1 | 958ns | 5.17ns | 27.9ns | 0 | 0 | 0 | 576 B |
| #7870 | StartFinishSpan |
net472 | 898ns | 0.377ns | 1.46ns | 0.0899 | 0 | 0 | 578 B |
| #7870 | StartFinishScope |
net6.0 | 953ns | 1.26ns | 4.87ns | 0 | 0 | 0 | 696 B |
| #7870 | StartFinishScope |
netcoreapp3.1 | 1.16μs | 0.914ns | 3.54ns | 0 | 0 | 0 | 696 B |
| #7870 | StartFinishScope |
net472 | 1.1μs | 0.26ns | 1.01ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | RunOnMethodBegin |
net6.0 | 1.08μs | 1.43ns | 5.15ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 1.38μs | 6.5ns | 25.2ns | 0 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.44μs | 1.51ns | 5.85ns | 0.101 | 0 | 0 | 658 B |
| #7870 | RunOnMethodBegin |
net6.0 | 1.08μs | 5.07ns | 20.3ns | 0 | 0 | 0 | 696 B |
| #7870 | RunOnMethodBegin |
netcoreapp3.1 | 1.4μs | 6.42ns | 25.7ns | 0 | 0 | 0 | 696 B |
| #7870 | RunOnMethodBegin |
net472 | 1.44μs | 2.19ns | 8.5ns | 0.1 | 0 | 0 | 658 B |
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.
Thanks!
Summary of changes
In jobs dd-gitlab/download-serverless-artifacts and dd-gitlab/download-single-step-artifacts
, when Azure DevOps artifacts couldn't be found, the log output wrapped the artifacts URL in single quotes for display:
echo "Checking for artifacts at '$artifactsUrl'..."When users clicked or copied the URL from logs to debug issues, they inadvertently included the trailing ' character, which became %27 in the URL. This caused the Azure DevOps API to search for an artifact named ssi-artifacts' instead of ssi-artifacts, resulting in a 404 error.
Changes made in download-single-step-artifacts.sh and download-serverless-artifacts.sh:
After the changes:
Reason for change
The urls and links shown in the logs were not correct. Added more log info to debug failures.
Implementation details
Test coverage
Other details