-
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
Downgrade error to warning #6263
Conversation
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 :)
Datadog ReportBranch report: ✅ 0 Failed, 457121 Passed, 2783 Skipped, 19h 17m 42.3s 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 (6263) - mean (72ms) : 64, 80
. : milestone, 72,
master - mean (71ms) : 64, 79
. : milestone, 71,
section CallTarget+Inlining+NGEN
This PR (6263) - mean (1,107ms) : 1084, 1129
. : milestone, 1107,
master - mean (1,109ms) : 1094, 1124
. : milestone, 1109,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6263) - mean (108ms) : 105, 110
. : milestone, 108,
master - mean (109ms) : 107, 111
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (6263) - mean (764ms) : 746, 783
. : milestone, 764,
master - mean (776ms) : 763, 789
. : milestone, 776,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6263) - mean (91ms) : 89, 94
. : milestone, 91,
master - mean (93ms) : 91, 95
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (6263) - mean (716ms) : 704, 729
. : milestone, 716,
master - mean (725ms) : 709, 740
. : milestone, 725,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6263) - mean (191ms) : 186, 196
. : milestone, 191,
master - mean (191ms) : 184, 197
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6263) - mean (1,225ms) : 1203, 1246
. : milestone, 1225,
master - mean (1,227ms) : 1204, 1250
. : milestone, 1227,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6263) - mean (276ms) : 271, 280
. : milestone, 276,
master - mean (275ms) : 271, 279
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (6263) - mean (939ms) : 923, 954
. : milestone, 939,
master - mean (945ms) : 929, 961
. : milestone, 945,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6263) - mean (265ms) : 262, 269
. : milestone, 265,
master - mean (266ms) : 261, 271
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6263) - mean (923ms) : 899, 947
. : milestone, 923,
master - mean (931ms) : 909, 954
. : milestone, 931,
|
Benchmarks Report for tracer 🐌Benchmarks for #6263 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 - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.NLogBenchmark.EnrichedLog‑net6.0 | 1.123 | 2,866.25 | 3,218.60 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 2.87μs | 0.836ns | 3.24ns | 0.0301 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.19μs | 1.71ns | 6.62ns | 0.0291 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.94μs | 1.55ns | 5.82ns | 0.319 | 0 | 0 | 2.02 KB |
#6263 | EnrichedLog |
net6.0 | 3.22μs | 0.78ns | 2.81ns | 0.0306 | 0 | 0 | 2.2 KB |
#6263 | EnrichedLog |
netcoreapp3.1 | 4.31μs | 3.03ns | 10.9ns | 0.0301 | 0 | 0 | 2.2 KB |
#6263 | EnrichedLog |
net472 | 4.98μs | 1.11ns | 4.16ns | 0.321 | 0 | 0 | 2.02 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.35μs | 1.79ns | 6.93ns | 0.016 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.77μs | 0.842ns | 3.26ns | 0.0151 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.1μs | 1.2ns | 4.64ns | 0.183 | 0 | 0 | 1.16 KB |
#6263 | SendReceive |
net6.0 | 1.32μs | 1.06ns | 3.83ns | 0.0158 | 0 | 0 | 1.14 KB |
#6263 | SendReceive |
netcoreapp3.1 | 1.89μs | 9.48ns | 41.3ns | 0.0157 | 0 | 0 | 1.14 KB |
#6263 | SendReceive |
net472 | 2.23μs | 6.45ns | 22.4ns | 0.184 | 0 | 0 | 1.16 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 | 2.86μs | 1.68ns | 6.52ns | 0.0227 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.88μs | 3.73ns | 14.4ns | 0.0217 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.32μs | 3.06ns | 11.9ns | 0.323 | 0 | 0 | 2.04 KB |
#6263 | EnrichedLog |
net6.0 | 2.85μs | 1.8ns | 6.98ns | 0.0214 | 0 | 0 | 1.6 KB |
#6263 | EnrichedLog |
netcoreapp3.1 | 3.86μs | 2.15ns | 8.32ns | 0.0212 | 0 | 0 | 1.65 KB |
#6263 | EnrichedLog |
net472 | 4.3μs | 4.46ns | 17.3ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6263
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0
1.142
462.65
405.18
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net6.0 | 1.142 | 462.65 | 405.18 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 462ns | 0.48ns | 1.8ns | 0.00814 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 606ns | 1.29ns | 5ns | 0.00788 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 720ns | 1.02ns | 3.94ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 533ns | 0.405ns | 1.57ns | 0.00967 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 692ns | 0.935ns | 3.62ns | 0.00938 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 884ns | 0.808ns | 3.13ns | 0.104 | 0 | 0 | 658 B |
#6263 | StartFinishSpan |
net6.0 | 405ns | 0.184ns | 0.687ns | 0.00811 | 0 | 0 | 576 B |
#6263 | StartFinishSpan |
netcoreapp3.1 | 651ns | 0.355ns | 1.33ns | 0.00784 | 0 | 0 | 576 B |
#6263 | StartFinishSpan |
net472 | 679ns | 1.02ns | 3.83ns | 0.0916 | 0 | 0 | 578 B |
#6263 | StartFinishScope |
net6.0 | 479ns | 0.266ns | 1.03ns | 0.00982 | 0 | 0 | 696 B |
#6263 | StartFinishScope |
netcoreapp3.1 | 680ns | 0.643ns | 2.49ns | 0.00956 | 0 | 0 | 696 B |
#6263 | StartFinishScope |
net472 | 904ns | 0.858ns | 3.32ns | 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 | 603ns | 1.73ns | 6.48ns | 0.00961 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 900ns | 0.624ns | 2.16ns | 0.0093 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.1μs | 1.45ns | 5.62ns | 0.104 | 0 | 0 | 658 B |
#6263 | RunOnMethodBegin |
net6.0 | 602ns | 0.63ns | 2.44ns | 0.00964 | 0 | 0 | 696 B |
#6263 | RunOnMethodBegin |
netcoreapp3.1 | 926ns | 0.816ns | 3.16ns | 0.00934 | 0 | 0 | 696 B |
#6263 | RunOnMethodBegin |
net472 | 1.24μs | 6.71ns | 39.7ns | 0.104 | 0 | 0 | 658 B |
34b402b
to
40974de
Compare
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 (6263) (11.135M) : 0, 11134535
master (11.138M) : 0, 11137526
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6263) (7.252M) : 0, 7251818
master (7.296M) : 0, 7295708
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.579M) : 0, 7579141
section Manual
master (11.154M) : 0, 11154232
section Manual + Automatic
This PR (6263) (6.634M) : 0, 6633613
master (6.616M) : 0, 6616418
section DD_TRACE_ENABLED=0
master (10.155M) : 0, 10154896
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6263) (9.501M) : 0, 9501143
master (9.515M) : 0, 9515388
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6263) (6.403M) : 0, 6403319
master (6.416M) : 0, 6416261
section Trace stats
master (6.719M) : 0, 6718560
section Manual
master (9.633M) : 0, 9633358
section Manual + Automatic
This PR (6263) (5.912M) : 0, 5912424
master (5.972M) : 0, 5972415
section DD_TRACE_ENABLED=0
master (8.741M) : 0, 8740855
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6263) (9.424M) : 0, 9424315
master (9.435M) : 0, 9435349
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6263) (6.213M) : 0, 6212860
master (6.245M) : 0, 6244921
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (6.687M) : 0, 6686776
section Manual
master (9.498M) : 0, 9497601
section Manual + Automatic
This PR (6263) (5.828M) : 0, 5827783
master (5.774M) : 0, 5773612
section DD_TRACE_ENABLED=0
master (9.014M) : 0, 9013860
|
Summary of changes
Downgrades an error that is due to invalid user input
Reason for change
It's not a bug on our side, so no need to report it
Implementation details
Error -> Warning
Test coverage
Annoyingly, some of our integration tests were actually replying on this behavior, so had to workaround that 🙄
https://datadoghq.atlassian.net/browse/AIDM-467