-
Notifications
You must be signed in to change notification settings - Fork 143
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
Skipping 3.0 Snapshot Check #5316
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 330045 Passed, 1583 Skipped, 37m 35.43s Wall Time |
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing the following branches/commits: 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 shown 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). gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5316) - mean (75ms) : 65, 84
. : milestone, 75,
master - mean (71ms) : 66, 76
. : milestone, 71,
section CallTarget+Inlining+NGEN
This PR (5316) - mean (1,003ms) : 985, 1021
. : milestone, 1003,
master - mean (1,013ms) : 987, 1039
. : milestone, 1013,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5316) - mean (110ms) : 107, 113
. : milestone, 110,
master - mean (110ms) : 107, 113
. : milestone, 110,
section CallTarget+Inlining+NGEN
This PR (5316) - mean (721ms) : 701, 741
. : milestone, 721,
master - mean (736ms) : 713, 758
. : milestone, 736,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5316) - mean (94ms) : 89, 98
. : milestone, 94,
master - mean (93ms) : 91, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5316) - mean (681ms) : 655, 708
. : milestone, 681,
master - mean (686ms) : 663, 709
. : milestone, 686,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5316) - mean (187ms) : 184, 190
. : milestone, 187,
master - mean (188ms) : 184, 191
. : milestone, 188,
section CallTarget+Inlining+NGEN
This PR (5316) - mean (1,080ms) : 1059, 1101
. : milestone, 1080,
master - mean (1,084ms) : 1061, 1106
. : milestone, 1084,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5316) - mean (270ms) : 265, 275
. : milestone, 270,
master - mean (272ms) : 267, 276
. : milestone, 272,
section CallTarget+Inlining+NGEN
This PR (5316) - mean (877ms) : 854, 901
. : milestone, 877,
master - mean (881ms) : 858, 905
. : milestone, 881,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5316) - mean (260ms) : 257, 264
. : milestone, 260,
master - mean (261ms) : 256, 265
. : milestone, 261,
section CallTarget+Inlining+NGEN
This PR (5316) - mean (865ms) : 842, 888
. : milestone, 865,
master - mean (863ms) : 833, 893
. : milestone, 863,
|
Benchmarks Report for tracer 🐌Benchmarks for #5316 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.SpanBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.147 | 553.80 | 635.26 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 523ns | 0.338ns | 1.31ns | 0.00781 | 0 | 0 | 552 B |
master | StartFinishSpan |
netcoreapp3.1 | 674ns | 1.16ns | 4.5ns | 0.00733 | 0 | 0 | 552 B |
master | StartFinishSpan |
net472 | 713ns | 0.947ns | 3.67ns | 0.088 | 0 | 0 | 554 B |
master | StartFinishScope |
net6.0 | 554ns | 0.289ns | 1.08ns | 0.00944 | 0 | 0 | 672 B |
master | StartFinishScope |
netcoreapp3.1 | 844ns | 0.488ns | 1.89ns | 0.00881 | 0 | 0 | 672 B |
master | StartFinishScope |
net472 | 976ns | 1.95ns | 7.56ns | 0.101 | 0 | 0 | 634 B |
#5316 | StartFinishSpan |
net6.0 | 508ns | 1.13ns | 4.36ns | 0.00762 | 0 | 0 | 552 B |
#5316 | StartFinishSpan |
netcoreapp3.1 | 684ns | 1.72ns | 6.66ns | 0.0075 | 0 | 0 | 552 B |
#5316 | StartFinishSpan |
net472 | 731ns | 1.27ns | 4.76ns | 0.0879 | 0 | 0 | 554 B |
#5316 | StartFinishScope |
net6.0 | 636ns | 1.05ns | 3.93ns | 0.00926 | 0 | 0 | 672 B |
#5316 | StartFinishScope |
netcoreapp3.1 | 805ns | 2.3ns | 8.93ns | 0.00912 | 0 | 0 | 672 B |
#5316 | StartFinishScope |
net472 | 901ns | 1.37ns | 5.32ns | 0.1 | 0 | 0 | 634 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 | 676ns | 0.69ns | 2.67ns | 0.00954 | 0 | 0 | 672 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 880ns | 0.57ns | 2.13ns | 0.00907 | 0 | 0 | 672 B |
master | RunOnMethodBegin |
net472 | 1.02μs | 0.913ns | 3.54ns | 0.101 | 0 | 0 | 634 B |
#5316 | RunOnMethodBegin |
net6.0 | 744ns | 1.47ns | 5.7ns | 0.00931 | 0 | 0 | 672 B |
#5316 | RunOnMethodBegin |
netcoreapp3.1 | 884ns | 3.57ns | 13.8ns | 0.0092 | 0 | 0 | 672 B |
#5316 | RunOnMethodBegin |
net472 | 1.02μs | 1.72ns | 6.65ns | 0.101 | 0 | 0 | 634 B |
Benchmarks Report for appsec 🐌Benchmarks for #5316 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.Asm.AppSecBodyBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody‑netcoreapp3.1 | 1.206 | 202.36 | 244.06 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | AllCycleSimpleBody |
net6.0 | 577ns | 0.42ns | 1.57ns | 0.0152 | 0 | 0 | 1.08 KB |
master | AllCycleSimpleBody |
netcoreapp3.1 | 817ns | 0.539ns | 2.09ns | 0.0142 | 0 | 0 | 1.06 KB |
master | AllCycleSimpleBody |
net472 | 638ns | 0.481ns | 1.86ns | 0.174 | 0.000317 | 0 | 1.1 KB |
master | AllCycleMoreComplexBody |
net6.0 | 3.55μs | 2.22ns | 8.59ns | 0.0642 | 0 | 0 | 4.58 KB |
master | AllCycleMoreComplexBody |
netcoreapp3.1 | 4.56μs | 3.5ns | 13.1ns | 0.0615 | 0 | 0 | 4.48 KB |
master | AllCycleMoreComplexBody |
net472 | 4.35μs | 3.55ns | 13.7ns | 0.732 | 0.00866 | 0 | 4.61 KB |
master | ObjectExtractorSimpleBody |
net6.0 | 141ns | 0.0977ns | 0.366ns | 0.00398 | 0 | 0 | 280 B |
master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 202ns | 0.127ns | 0.491ns | 0.00368 | 0 | 0 | 272 B |
master | ObjectExtractorSimpleBody |
net472 | 169ns | 0.261ns | 0.903ns | 0.0446 | 0 | 0 | 281 B |
master | ObjectExtractorMoreComplexBody |
net6.0 | 3.04μs | 2.88ns | 11.2ns | 0.0531 | 0 | 0 | 3.78 KB |
master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 4.04μs | 1.45ns | 5.62ns | 0.0505 | 0 | 0 | 3.69 KB |
master | ObjectExtractorMoreComplexBody |
net472 | 3.82μs | 1.41ns | 4.88ns | 0.601 | 0.00575 | 0 | 3.8 KB |
#5316 | AllCycleSimpleBody |
net6.0 | 600ns | 0.787ns | 3.05ns | 0.0152 | 0 | 0 | 1.08 KB |
#5316 | AllCycleSimpleBody |
netcoreapp3.1 | 768ns | 0.419ns | 1.62ns | 0.0146 | 0 | 0 | 1.06 KB |
#5316 | AllCycleSimpleBody |
net472 | 658ns | 0.564ns | 2.19ns | 0.174 | 0.000315 | 0 | 1.1 KB |
#5316 | AllCycleMoreComplexBody |
net6.0 | 3.55μs | 2.51ns | 9.38ns | 0.0643 | 0 | 0 | 4.58 KB |
#5316 | AllCycleMoreComplexBody |
netcoreapp3.1 | 4.74μs | 2.23ns | 8.62ns | 0.0596 | 0 | 0 | 4.48 KB |
#5316 | AllCycleMoreComplexBody |
net472 | 4.33μs | 1.61ns | 6.01ns | 0.732 | 0.00867 | 0 | 4.61 KB |
#5316 | ObjectExtractorSimpleBody |
net6.0 | 139ns | 0.133ns | 0.499ns | 0.00397 | 0 | 0 | 280 B |
#5316 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 244ns | 0.212ns | 0.823ns | 0.00368 | 0 | 0 | 272 B |
#5316 | ObjectExtractorSimpleBody |
net472 | 161ns | 0.13ns | 0.505ns | 0.0446 | 0 | 0 | 281 B |
#5316 | ObjectExtractorMoreComplexBody |
net6.0 | 3.13μs | 1.62ns | 6.28ns | 0.0535 | 0 | 0 | 3.78 KB |
#5316 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 3.79μs | 1.89ns | 7.3ns | 0.0493 | 0 | 0 | 3.69 KB |
#5316 | ObjectExtractorMoreComplexBody |
net472 | 3.77μs | 3.82ns | 14.8ns | 0.603 | 0.00569 | 0 | 3.8 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 | 187μs | 410ns | 1.59μs | 0.0931 | 0 | 0 | 6.51 KB |
master | RunWafRealisticBenchmark |
netcoreapp3.1 | 202μs | 389ns | 1.51μs | 0 | 0 | 0 | 6.49 KB |
master | RunWafRealisticBenchmark |
net472 | 224μs | 96ns | 372ns | 1.01 | 0 | 0 | 6.59 KB |
master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 126μs | 59.2ns | 229ns | 0 | 0 | 0 | 4.15 KB |
master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 134μs | 83.8ns | 325ns | 0 | 0 | 0 | 4.14 KB |
master | RunWafRealisticBenchmarkWithAttack |
net472 | 146μs | 108ns | 416ns | 0.653 | 0 | 0 | 4.19 KB |
#5316 | RunWafRealisticBenchmark |
net6.0 | 188μs | 52.6ns | 204ns | 0.0957 | 0 | 0 | 6.51 KB |
#5316 | RunWafRealisticBenchmark |
netcoreapp3.1 | 204μs | 117ns | 455ns | 0 | 0 | 0 | 6.49 KB |
#5316 | RunWafRealisticBenchmark |
net472 | 221μs | 63.7ns | 238ns | 0.992 | 0 | 0 | 6.59 KB |
#5316 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 125μs | 219ns | 790ns | 0.0623 | 0 | 0 | 4.15 KB |
#5316 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 135μs | 83.9ns | 325ns | 0 | 0 | 0 | 4.14 KB |
#5316 | RunWafRealisticBenchmarkWithAttack |
net472 | 147μs | 182ns | 704ns | 0.659 | 0 | 0 | 4.19 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #5316
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
205.63 KB
212.22 KB
6.59 KB
3.21%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1
200.93 KB
202.39 KB
1.46 KB
0.73%
Fewer allocations 🎉 in #5316
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
61.77 KB
59.54 KB
-2.23 KB
-3.61%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 205.63 KB | 212.22 KB | 6.59 KB | 3.21% |
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 200.93 KB | 202.39 KB | 1.46 KB | 0.73% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 61.77 KB | 59.54 KB | -2.23 KB | -3.61% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 51.5μs | 125ns | 468ns | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 53.2μs | 236ns | 851ns | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 36.7μs | 53.6ns | 193ns | 0 | 0 | 0 | 61.77 KB |
master | StringConcatAspectBenchmark |
net6.0 | 296μs | 1.51μs | 6.58μs | 0 | 0 | 0 | 205.63 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 296μs | 1.39μs | 5.56μs | 0 | 0 | 0 | 200.93 KB |
master | StringConcatAspectBenchmark |
net472 | 261μs | 4.01μs | 37.8μs | 0 | 0 | 0 | 221.18 KB |
#5316 | StringConcatBenchmark |
net6.0 | 58.7μs | 759ns | 7.16μs | 0 | 0 | 0 | 43.44 KB |
#5316 | StringConcatBenchmark |
netcoreapp3.1 | 53.3μs | 256ns | 993ns | 0 | 0 | 0 | 42.64 KB |
#5316 | StringConcatBenchmark |
net472 | 37.9μs | 83.1ns | 300ns | 0 | 0 | 0 | 59.54 KB |
#5316 | StringConcatAspectBenchmark |
net6.0 | 286μs | 1.36μs | 7.82μs | 0 | 0 | 0 | 212.22 KB |
#5316 | StringConcatAspectBenchmark |
netcoreapp3.1 | 311μs | 1.79μs | 14μs | 0 | 0 | 0 | 202.39 KB |
#5316 | StringConcatAspectBenchmark |
net472 | 267μs | 6.08μs | 57.7μs | 0 | 0 | 0 | 221.18 KB |
Summary of changes
Same as #5314 skipping the tainting test for now in 3.0 to prevent the snapshots comparison test from failing.