-
Notifications
You must be signed in to change notification settings - Fork 147
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
[ASM] Skip flaky test #6771
[ASM] Skip flaky test #6771
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 252024 Passed, 2417 Skipped, 20h 7m 5.06s Total 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 (6771) - mean (69ms) : 66, 72
. : milestone, 69,
master - mean (69ms) : 67, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6771) - mean (1,003ms) : 980, 1025
. : milestone, 1003,
master - mean (1,005ms) : 983, 1027
. : milestone, 1005,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6771) - mean (102ms) : 100, 104
. : milestone, 102,
master - mean (103ms) : 101, 105
. : milestone, 103,
section CallTarget+Inlining+NGEN
This PR (6771) - mean (683ms) : 667, 700
. : milestone, 683,
master - mean (687ms) : 668, 707
. : milestone, 687,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6771) - mean (89ms) : 87, 91
. : milestone, 89,
master - mean (90ms) : 88, 91
. : milestone, 90,
section CallTarget+Inlining+NGEN
This PR (6771) - mean (638ms) : 619, 658
. : milestone, 638,
master - mean (644ms) : 624, 664
. : milestone, 644,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6771) - mean (190ms) : 186, 194
. : milestone, 190,
master - mean (190ms) : 187, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6771) - mean (1,104ms) : 1078, 1130
. : milestone, 1104,
master - mean (1,106ms) : 1080, 1133
. : milestone, 1106,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6771) - mean (269ms) : 265, 273
. : milestone, 269,
master - mean (270ms) : 265, 274
. : milestone, 270,
section CallTarget+Inlining+NGEN
This PR (6771) - mean (874ms) : 841, 906
. : milestone, 874,
master - mean (874ms) : 851, 897
. : milestone, 874,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6771) - mean (262ms) : 257, 266
. : milestone, 262,
master - mean (262ms) : 259, 266
. : milestone, 262,
section CallTarget+Inlining+NGEN
This PR (6771) - mean (854ms) : 815, 893
. : milestone, 854,
master - mean (856ms) : 825, 887
. : milestone, 856,
|
Benchmarks Report for tracer 🐌Benchmarks for #6771 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.284 | 486.70 | 625.00 | |
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 | 1.208 | 558.17 | 674.01 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.121 | 470.08 | 419.38 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 470ns | 0.0811ns | 0.314ns | 0.008 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 558ns | 0.324ns | 1.26ns | 0.00777 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 649ns | 0.193ns | 0.747ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 487ns | 0.119ns | 0.446ns | 0.0098 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 795ns | 0.799ns | 3.1ns | 0.0091 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 781ns | 0.377ns | 1.46ns | 0.104 | 0 | 0 | 658 B |
#6771 | StartFinishSpan |
net6.0 | 419ns | 0.142ns | 0.55ns | 0.00807 | 0 | 0 | 576 B |
#6771 | StartFinishSpan |
netcoreapp3.1 | 673ns | 1.04ns | 4.02ns | 0.00773 | 0 | 0 | 576 B |
#6771 | StartFinishSpan |
net472 | 595ns | 0.223ns | 0.835ns | 0.0918 | 0 | 0 | 578 B |
#6771 | StartFinishScope |
net6.0 | 625ns | 0.585ns | 2.27ns | 0.00974 | 0 | 0 | 696 B |
#6771 | StartFinishScope |
netcoreapp3.1 | 747ns | 4.02ns | 21.6ns | 0.00929 | 0 | 0 | 696 B |
#6771 | StartFinishScope |
net472 | 865ns | 0.444ns | 1.72ns | 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 | 640ns | 0.206ns | 0.798ns | 0.00961 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 899ns | 0.407ns | 1.41ns | 0.00932 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.17μs | 0.405ns | 1.57ns | 0.104 | 0 | 0 | 658 B |
#6771 | RunOnMethodBegin |
net6.0 | 586ns | 0.0912ns | 0.329ns | 0.00966 | 0 | 0 | 696 B |
#6771 | RunOnMethodBegin |
netcoreapp3.1 | 999ns | 0.983ns | 3.81ns | 0.0094 | 0 | 0 | 696 B |
#6771 | RunOnMethodBegin |
net472 | 1.21μs | 0.336ns | 1.26ns | 0.104 | 0 | 0 | 658 B |
Benchmarks Report for appsec 🐌Benchmarks for #6771 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.AllCycleMoreComplexBody‑net6.0 | 1.122 | 195,643.81 | 219,568.33 | |
Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody‑net6.0 | 1.115 | 190,066.12 | 211,886.65 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody‑net472 | 1.182 | 4,321.95 | 3,657.54 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | AllCycleSimpleBody |
net6.0 | 190μs | 72.1ns | 270ns | 2.75 | 0 | 0 | 196.14 KB |
master | AllCycleSimpleBody |
netcoreapp3.1 | 303μs | 217ns | 810ns | 2.69 | 0 | 0 | 203.7 KB |
master | AllCycleSimpleBody |
net472 | 264μs | 71.1ns | 275ns | 37.2 | 2.11 | 0 | 234.72 KB |
master | AllCycleMoreComplexBody |
net6.0 | 196μs | 125ns | 484ns | 2.84 | 0 | 0 | 199.64 KB |
master | AllCycleMoreComplexBody |
netcoreapp3.1 | 302μs | 155ns | 558ns | 2.72 | 0 | 0 | 207.12 KB |
master | AllCycleMoreComplexBody |
net472 | 276μs | 137ns | 492ns | 37.7 | 2.21 | 0 | 238.24 KB |
master | ObjectExtractorSimpleBody |
net6.0 | 136ns | 0.0659ns | 0.238ns | 0.00391 | 0 | 0 | 280 B |
master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 199ns | 0.2ns | 0.777ns | 0.00368 | 0 | 0 | 272 B |
master | ObjectExtractorSimpleBody |
net472 | 165ns | 0.0976ns | 0.365ns | 0.0446 | 0 | 0 | 281 B |
master | ObjectExtractorMoreComplexBody |
net6.0 | 2.84μs | 2.53ns | 9.78ns | 0.0526 | 0 | 0 | 3.78 KB |
master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 3.68μs | 3.33ns | 12.9ns | 0.0494 | 0 | 0 | 3.69 KB |
master | ObjectExtractorMoreComplexBody |
net472 | 4.32μs | 2.68ns | 10.4ns | 0.602 | 0.00649 | 0 | 3.8 KB |
#6771 | AllCycleSimpleBody |
net6.0 | 212μs | 83.3ns | 312ns | 2.75 | 0 | 0 | 195.99 KB |
#6771 | AllCycleSimpleBody |
netcoreapp3.1 | 320μs | 107ns | 399ns | 2.69 | 0 | 0 | 203.56 KB |
#6771 | AllCycleSimpleBody |
net472 | 283μs | 131ns | 509ns | 37.2 | 2.14 | 0 | 234.56 KB |
#6771 | AllCycleMoreComplexBody |
net6.0 | 220μs | 85.8ns | 309ns | 2.74 | 0 | 0 | 199.5 KB |
#6771 | AllCycleMoreComplexBody |
netcoreapp3.1 | 324μs | 104ns | 388ns | 2.75 | 0 | 0 | 206.98 KB |
#6771 | AllCycleMoreComplexBody |
net472 | 289μs | 139ns | 519ns | 37.8 | 2.17 | 0 | 238.08 KB |
#6771 | ObjectExtractorSimpleBody |
net6.0 | 139ns | 0.149ns | 0.578ns | 0.00393 | 0 | 0 | 280 B |
#6771 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 191ns | 0.201ns | 0.778ns | 0.00376 | 0 | 0 | 272 B |
#6771 | ObjectExtractorSimpleBody |
net472 | 166ns | 0.143ns | 0.552ns | 0.0445 | 0 | 0 | 281 B |
#6771 | ObjectExtractorMoreComplexBody |
net6.0 | 3.02μs | 1.99ns | 7.69ns | 0.0527 | 0 | 0 | 3.78 KB |
#6771 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 3.89μs | 2.99ns | 11.6ns | 0.0503 | 0 | 0 | 3.69 KB |
#6771 | ObjectExtractorMoreComplexBody |
net472 | 3.66μs | 2.6ns | 10.1ns | 0.602 | 0.00549 | 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 | 36.9μs | 61.1ns | 229ns | 0.457 | 0 | 0 | 32.4 KB |
master | EncodeArgs |
netcoreapp3.1 | 54.1μs | 17.7ns | 68.7ns | 0.432 | 0 | 0 | 32.4 KB |
master | EncodeArgs |
net472 | 64.9μs | 36.8ns | 138ns | 5.14 | 0.0646 | 0 | 32.5 KB |
master | EncodeLegacyArgs |
net6.0 | 79.2μs | 433ns | 2.63μs | 0 | 0 | 0 | 2.14 KB |
master | EncodeLegacyArgs |
netcoreapp3.1 | 111μs | 359ns | 1.39μs | 0 | 0 | 0 | 2.14 KB |
master | EncodeLegacyArgs |
net472 | 151μs | 81.7ns | 316ns | 0.304 | 0 | 0 | 2.15 KB |
#6771 | EncodeArgs |
net6.0 | 37μs | 19.7ns | 76.1ns | 0.463 | 0 | 0 | 32.4 KB |
#6771 | EncodeArgs |
netcoreapp3.1 | 54.5μs | 16.8ns | 63ns | 0.438 | 0 | 0 | 32.4 KB |
#6771 | EncodeArgs |
net472 | 65.7μs | 42.7ns | 165ns | 5.14 | 0.0659 | 0 | 32.5 KB |
#6771 | EncodeLegacyArgs |
net6.0 | 77.5μs | 33.9ns | 127ns | 0 | 0 | 0 | 2.14 KB |
#6771 | EncodeLegacyArgs |
netcoreapp3.1 | 107μs | 431ns | 1.67μs | 0 | 0 | 0 | 2.14 KB |
#6771 | EncodeLegacyArgs |
net472 | 151μs | 193ns | 748ns | 0.305 | 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 | 173μs | 77.5ns | 280ns | 0 | 0 | 0 | 2.54 KB |
master | RunWafRealisticBenchmark |
netcoreapp3.1 | 188μs | 205ns | 766ns | 0 | 0 | 0 | 2.49 KB |
master | RunWafRealisticBenchmark |
net472 | 201μs | 484ns | 1.88μs | 0.405 | 0 | 0 | 2.55 KB |
master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 116μs | 64.8ns | 251ns | 0 | 0 | 0 | 1.57 KB |
master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 124μs | 357ns | 1.38μs | 0 | 0 | 0 | 1.55 KB |
master | RunWafRealisticBenchmarkWithAttack |
net472 | 132μs | 115ns | 447ns | 0.197 | 0 | 0 | 1.58 KB |
#6771 | RunWafRealisticBenchmark |
net6.0 | 180μs | 81.1ns | 292ns | 0 | 0 | 0 | 2.54 KB |
#6771 | RunWafRealisticBenchmark |
netcoreapp3.1 | 185μs | 221ns | 856ns | 0 | 0 | 0 | 2.49 KB |
#6771 | RunWafRealisticBenchmark |
net472 | 200μs | 59.2ns | 229ns | 0.399 | 0 | 0 | 2.55 KB |
#6771 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 115μs | 92ns | 356ns | 0 | 0 | 0 | 1.57 KB |
#6771 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 122μs | 38.1ns | 148ns | 0 | 0 | 0 | 1.55 KB |
#6771 | RunWafRealisticBenchmarkWithAttack |
net472 | 132μs | 110ns | 426ns | 0.197 | 0 | 0 | 1.58 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #6771
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
59.07 KB
60.49 KB
1.42 KB
2.40%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 59.07 KB | 60.49 KB | 1.42 KB | 2.40% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 60.7μs | 986ns | 9.86μs | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 61.1μs | 742ns | 7.38μs | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 36.9μs | 172ns | 643ns | 0 | 0 | 0 | 59.07 KB |
master | StringConcatAspectBenchmark |
net6.0 | 301μs | 5.75μs | 56.9μs | 0 | 0 | 0 | 254.9 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 338μs | 1.87μs | 11.4μs | 0 | 0 | 0 | 252.49 KB |
master | StringConcatAspectBenchmark |
net472 | 293μs | 7.07μs | 69.6μs | 0 | 0 | 0 | 278.53 KB |
#6771 | StringConcatBenchmark |
net6.0 | 56.3μs | 578ns | 5.78μs | 0 | 0 | 0 | 43.44 KB |
#6771 | StringConcatBenchmark |
netcoreapp3.1 | 61.8μs | 873ns | 8.55μs | 0 | 0 | 0 | 42.64 KB |
#6771 | StringConcatBenchmark |
net472 | 36.6μs | 83.2ns | 300ns | 0 | 0 | 0 | 60.49 KB |
#6771 | StringConcatAspectBenchmark |
net6.0 | 320μs | 1.8μs | 12.2μs | 0 | 0 | 0 | 254.65 KB |
#6771 | StringConcatAspectBenchmark |
netcoreapp3.1 | 337μs | 1.78μs | 12.7μs | 0 | 0 | 0 | 253.29 KB |
#6771 | StringConcatAspectBenchmark |
net472 | 280μs | 6.31μs | 60.9μs | 0 | 0 | 0 | 278.53 KB |
Superseded (because it's fixed) by |
Summary of changes
Skips the flaky gRPC IAST test
Reason for change
The test has been failing since 10th March
Implementation details
The snapshot is often missing the metastruct
Test coverage
Less after this - we should investigate this ASAP