-
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] Update WAF version to 1.22.0 #6440
Conversation
Snapshots difference summaryThe following differences have been observed in committed snapshots. It is meant to help the reviewer. 2 occurrences of : - "_dd.appsec.waf.version": "1.21.0",
+ "_dd.appsec.waf.version": "1.22.0",
8 occurrences of : - _dd.appsec.waf.version: 1.21.0,
+ _dd.appsec.waf.version: 1.22.0,
|
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 (6440) - mean (68ms) : 66, 71
. : milestone, 68,
master - mean (68ms) : 66, 71
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (6440) - mean (980ms) : 947, 1013
. : milestone, 980,
master - mean (976ms) : 953, 998
. : milestone, 976,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6440) - mean (107ms) : 105, 110
. : milestone, 107,
master - mean (107ms) : 104, 110
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6440) - mean (677ms) : 661, 693
. : milestone, 677,
master - mean (679ms) : 662, 695
. : milestone, 679,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6440) - mean (91ms) : 88, 93
. : milestone, 91,
master - mean (91ms) : 89, 92
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6440) - mean (633ms) : 608, 658
. : milestone, 633,
master - mean (635ms) : 619, 651
. : milestone, 635,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6440) - mean (194ms) : 189, 199
. : milestone, 194,
master - mean (193ms) : 188, 198
. : milestone, 193,
section CallTarget+Inlining+NGEN
This PR (6440) - mean (1,101ms) : 1065, 1136
. : milestone, 1101,
master - mean (1,096ms) : 1070, 1122
. : milestone, 1096,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6440) - mean (278ms) : 274, 282
. : milestone, 278,
master - mean (279ms) : 275, 284
. : milestone, 279,
section CallTarget+Inlining+NGEN
This PR (6440) - mean (868ms) : 843, 894
. : milestone, 868,
master - mean (871ms) : 845, 896
. : milestone, 871,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6440) - mean (267ms) : 263, 270
. : milestone, 267,
master - mean (266ms) : 263, 269
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6440) - mean (853ms) : 822, 884
. : milestone, 853,
master - mean (851ms) : 818, 884
. : milestone, 851,
|
Benchmarks Report for tracer 🐌Benchmarks for #6440 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.StartFinishSpan‑net6.0 | 1.138 | 402.04 | 457.57 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.115 | 555.70 | 498.39 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 402ns | 0.238ns | 0.921ns | 0.00805 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 616ns | 0.76ns | 2.95ns | 0.00768 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 631ns | 0.366ns | 1.42ns | 0.0916 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 556ns | 0.355ns | 1.38ns | 0.00982 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 733ns | 0.697ns | 2.7ns | 0.00919 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 849ns | 0.866ns | 3.35ns | 0.104 | 0 | 0 | 658 B |
#6440 | StartFinishSpan |
net6.0 | 458ns | 0.216ns | 0.837ns | 0.00807 | 0 | 0 | 576 B |
#6440 | StartFinishSpan |
netcoreapp3.1 | 615ns | 0.559ns | 2.16ns | 0.0077 | 0 | 0 | 576 B |
#6440 | StartFinishSpan |
net472 | 637ns | 0.323ns | 1.25ns | 0.0917 | 0 | 0 | 578 B |
#6440 | StartFinishScope |
net6.0 | 498ns | 0.401ns | 1.55ns | 0.00981 | 0 | 0 | 696 B |
#6440 | StartFinishScope |
netcoreapp3.1 | 667ns | 0.4ns | 1.55ns | 0.00937 | 0 | 0 | 696 B |
#6440 | StartFinishScope |
net472 | 870ns | 1.18ns | 4.59ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6440
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.249
591.12
738.31
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.249 | 591.12 | 738.31 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 591ns | 0.394ns | 1.47ns | 0.00976 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 885ns | 0.35ns | 1.31ns | 0.00973 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.16μs | 1.04ns | 4.04ns | 0.104 | 0 | 0 | 658 B |
#6440 | RunOnMethodBegin |
net6.0 | 738ns | 0.682ns | 2.64ns | 0.01 | 0 | 0 | 696 B |
#6440 | RunOnMethodBegin |
netcoreapp3.1 | 926ns | 1.7ns | 6.59ns | 0.00918 | 0 | 0 | 696 B |
#6440 | RunOnMethodBegin |
net472 | 1.06μs | 0.576ns | 2.15ns | 0.104 | 0 | 0 | 658 B |
Throughput/Crank Report ⚡Throughput results for AspNetCoreSimpleController comparing the following branches/commits: Cases where throughput results for the PR are worse than latest master (5% drop or greater), results are shown in red. Note that these results are based on a single point-in-time result for each branch. For full results, see one of the many, many dashboards! gantt
title Throughput Linux x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6440) (11.066M) : 0, 11066195
master (11.173M) : 0, 11172862
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6440) (7.295M) : 0, 7294988
master (7.214M) : 0, 7214402
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.560M) : 0, 7559850
section Manual
master (11.194M) : 0, 11193707
section Manual + Automatic
This PR (6440) (6.815M) : 0, 6814902
master (6.718M) : 0, 6717525
section DD_TRACE_ENABLED=0
master (10.296M) : 0, 10295976
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6440) (9.483M) : 0, 9482509
master (9.776M) : 0, 9776047
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6440) (6.372M) : 0, 6371528
master (6.425M) : 0, 6425271
section Trace stats
master (6.758M) : 0, 6757513
section Manual
master (9.661M) : 0, 9660549
section Manual + Automatic
This PR (6440) (5.877M) : 0, 5877195
master (6.039M) : 0, 6038872
section DD_TRACE_ENABLED=0
master (8.861M) : 0, 8860501
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6440) (10.058M) : 0, 10057721
master (9.399M) : 0, 9399211
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6440) (6.346M) : 0, 6345722
master (5.619M) : 0, 5618747
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (6.816M) : 0, 6816490
section Manual
master (9.559M) : 0, 9558747
section Manual + Automatic
This PR (6440) (5.831M) : 0, 5831196
master (6.022M) : 0, 6022498
section DD_TRACE_ENABLED=0
master (9.201M) : 0, 9201064
|
Datadog ReportBranch report: ✅ 0 Failed, 457341 Passed, 2817 Skipped, 20h 11m 24.74s Total Time New Flaky Tests (2)
|
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.
LGTM 😄
Thank you for you reviews! |
Summary of changes
This PR updated the WAF to version 1.22.0
No breaking changes are expected from this version change.
Reason for change
Implementation details
Test coverage
Other details