-
Notifications
You must be signed in to change notification settings - Fork 140
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
[Tracer] scrub _dd.agent_psr
from test snapshots
#5562
[Tracer] scrub _dd.agent_psr
from test snapshots
#5562
Conversation
Snapshots difference summaryThe following differences have been observed in committed snapshots. It is meant to help the reviewer. 1856 occurrences of : - _dd.agent_psr: 1.0,
|
Datadog ReportBranch report: ❌ 3 Failed (0 Known Flaky), 337299 Passed, 1565 Skipped, 13h 29m 37.62s Total Time ❌ Failed Tests (3)
|
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 (5562) - mean (74ms) : 65, 83
. : milestone, 74,
master - mean (75ms) : 67, 83
. : milestone, 75,
section CallTarget+Inlining+NGEN
This PR (5562) - mean (1,004ms) : 971, 1038
. : milestone, 1004,
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 (5562) - mean (110ms) : 107, 114
. : milestone, 110,
master - mean (111ms) : 108, 115
. : milestone, 111,
section CallTarget+Inlining+NGEN
This PR (5562) - mean (730ms) : 704, 756
. : milestone, 730,
master - mean (729ms) : 708, 750
. : milestone, 729,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5562) - mean (95ms) : 91, 99
. : milestone, 95,
master - mean (94ms) : 90, 97
. : milestone, 94,
section CallTarget+Inlining+NGEN
This PR (5562) - mean (680ms) : 660, 700
. : milestone, 680,
master - mean (679ms) : 655, 703
. : milestone, 679,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5562) - mean (192ms) : 189, 195
. : milestone, 192,
master - mean (193ms) : 189, 196
. : milestone, 193,
section CallTarget+Inlining+NGEN
This PR (5562) - mean (1,109ms) : 1093, 1124
. : milestone, 1109,
master - mean (1,115ms) : 1091, 1139
. : milestone, 1115,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5562) - mean (275ms) : 270, 279
. : milestone, 275,
master - mean (276ms) : 270, 281
. : milestone, 276,
section CallTarget+Inlining+NGEN
This PR (5562) - mean (915ms) : 898, 932
. : milestone, 915,
master - mean (913ms) : 891, 935
. : milestone, 913,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5562) - mean (264ms) : 260, 269
. : milestone, 264,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (5562) - mean (891ms) : 871, 911
. : milestone, 891,
master - mean (895ms) : 873, 917
. : milestone, 895,
|
Benchmarks Report for tracer 🐌Benchmarks for #5562 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.168 | 606.79 | 708.81 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 607ns | 0.185ns | 0.715ns | 0.00994 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 931ns | 1.33ns | 5.14ns | 0.00914 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.13μs | 0.343ns | 1.33ns | 0.104 | 0 | 0 | 658 B |
#5562 | RunOnMethodBegin |
net6.0 | 709ns | 0.726ns | 2.81ns | 0.00973 | 0 | 0 | 696 B |
#5562 | RunOnMethodBegin |
netcoreapp3.1 | 983ns | 0.399ns | 1.55ns | 0.00945 | 0 | 0 | 696 B |
#5562 | RunOnMethodBegin |
net472 | 1.17μs | 0.871ns | 3.37ns | 0.104 | 0 | 0 | 658 B |
Throughput/Crank Report:zap: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 (5562) (11.992M) : 0, 11992341
master (11.926M) : 0, 11926098
benchmarks/2.9.0 (11.817M) : 0, 11816893
section Automatic
This PR (5562) (7.994M) : 0, 7993685
master (8.024M) : 0, 8023608
benchmarks/2.9.0 (8.480M) : 0, 8480079
section Trace stats
master (8.370M) : 0, 8370281
section Manual
This PR (5562) (10.251M) : 0, 10250542
master (10.123M) : 0, 10123133
section Manual + Automatic
This PR (5562) (7.629M) : 0, 7629198
master (7.618M) : 0, 7617662
section Version Conflict
master (6.782M) : 0, 6782273
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5562) (9.531M) : 0, 9530577
master (9.727M) : 0, 9726736
benchmarks/2.9.0 (9.598M) : 0, 9597540
section Automatic
This PR (5562) (6.629M) : 0, 6628874
master (6.648M) : 0, 6647512
section Trace stats
master (6.936M) : 0, 6935628
section Manual
This PR (5562) (8.388M) : 0, 8388333
master (8.392M) : 0, 8392466
section Manual + Automatic
This PR (5562) (6.263M) : 0, 6262996
master (6.156M) : 0, 6155670
section Version Conflict
master (5.584M) : 0, 5584079
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5562) (9.860M) : 0, 9860184
master (9.600M) : 0, 9599975
benchmarks/2.9.0 (10.041M) : 0, 10040980
section Automatic
This PR (5562) (6.935M) : 0, 6935380
master (7.018M) : 0, 7018195
benchmarks/2.9.0 (7.137M) : 0, 7137430
section Trace stats
master (7.433M) : 0, 7432726
section Manual
This PR (5562) (8.592M) : 0, 8592335
master (8.616M) : 0, 8615941
section Manual + Automatic
This PR (5562) (6.697M) : 0, 6697167
master (6.780M) : 0, 6780288
section Version Conflict
master (6.086M) : 0, 6086434
|
_dd.agent_psr
from more test snapshots_dd.agent_psr
from test snapshots
e8cc486
to
b222d61
Compare
Benchmarks Report for appsec 🐌Benchmarks for #5562 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations
|
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 204.04 KB | 205.2 KB | 1.16 KB | 0.57% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 61.9 KB | 59.36 KB | -2.54 KB | -4.10% |
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 | 213.86 KB | 203.1 KB | -10.77 KB | -5.03% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 51.9μs | 231ns | 866ns | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 53μs | 128ns | 442ns | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 38.1μs | 99ns | 357ns | 0 | 0 | 0 | 61.9 KB |
master | StringConcatAspectBenchmark |
net6.0 | 286μs | 6.15μs | 59.6μs | 0 | 0 | 0 | 204.04 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 320μs | 1.57μs | 6.27μs | 0 | 0 | 0 | 213.86 KB |
master | StringConcatAspectBenchmark |
net472 | 245μs | 1.05μs | 3.79μs | 0 | 0 | 0 | 221.18 KB |
#5562 | StringConcatBenchmark |
net6.0 | 52.1μs | 220ns | 794ns | 0 | 0 | 0 | 43.44 KB |
#5562 | StringConcatBenchmark |
netcoreapp3.1 | 60.2μs | 762ns | 7.38μs | 0 | 0 | 0 | 42.64 KB |
#5562 | StringConcatBenchmark |
net472 | 38.3μs | 94.7ns | 342ns | 0 | 0 | 0 | 59.36 KB |
#5562 | StringConcatAspectBenchmark |
net6.0 | 295μs | 1.64μs | 10.8μs | 0 | 0 | 0 | 205.2 KB |
#5562 | StringConcatAspectBenchmark |
netcoreapp3.1 | 300μs | 1.96μs | 19.1μs | 0 | 0 | 0 | 203.1 KB |
#5562 | StringConcatAspectBenchmark |
net472 | 235μs | 1.2μs | 5.48μs | 0 | 0 | 0 | 221.18 KB |
b222d61
to
e2c2881
Compare
e2c2881
to
b97eddd
Compare
Summary of changes
Remove
_dd.agent_psr
from more test snapshots. Leftover from #5545.edit:
TraceAnnotationsVersionMismatchNewerNuGetTests
keeps being flaky (sometimes it adds the tag, I assume when it loads an older version of the tracer), so I'm scrubbing_dd.agent_psr
out of all snapshots.Reason for change
Snapshots tests that normally only run on
master
are failing after merging #5545.Implementation details
Update the snapshot files.
edit: and update the default Verifier settings to remove
_dd.agent_psr
Test coverage
Exactly.
Other details