[Crashtracking] Remove exception types that are too broad#6109
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 365134 Passed, 2048 Skipped, 15h 38m 37.58s 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 (6109) - mean (71ms) : 68, 75
. : milestone, 71,
master - mean (70ms) : 68, 73
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6109) - mean (1,107ms) : 1085, 1129
. : milestone, 1107,
master - mean (1,110ms) : 1090, 1131
. : milestone, 1110,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6109) - mean (111ms) : 106, 115
. : milestone, 111,
master - mean (109ms) : 106, 112
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (6109) - mean (775ms) : 758, 792
. : milestone, 775,
master - mean (775ms) : 755, 795
. : milestone, 775,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6109) - mean (93ms) : 90, 96
. : milestone, 93,
master - mean (93ms) : 89, 97
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (6109) - mean (738ms) : 701, 775
. : milestone, 738,
master - mean (732ms) : 717, 747
. : milestone, 732,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6109) - mean (191ms) : 187, 195
. : milestone, 191,
master - mean (190ms) : 187, 192
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6109) - mean (1,199ms) : 1173, 1224
. : milestone, 1199,
master - mean (1,201ms) : 1178, 1224
. : milestone, 1201,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6109) - mean (276ms) : 271, 281
. : milestone, 276,
master - mean (275ms) : 272, 279
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (6109) - mean (939ms) : 920, 958
. : milestone, 939,
master - mean (939ms) : 924, 955
. : milestone, 939,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6109) - mean (265ms) : 261, 269
. : milestone, 265,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6109) - mean (923ms) : 900, 947
. : milestone, 923,
master - mean (926ms) : 907, 946
. : milestone, 926,
|
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 (6109) (11.142M) : 0, 11142121
master (11.009M) : 0, 11009316
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (6109) (7.302M) : 0, 7301655
master (7.392M) : 0, 7391896
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.658M) : 0, 7657594
section Manual
master (10.944M) : 0, 10944483
section Manual + Automatic
This PR (6109) (6.833M) : 0, 6832549
master (6.786M) : 0, 6785950
section DD_TRACE_ENABLED=0
master (10.229M) : 0, 10229067
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6109) (9.648M) : 0, 9648151
master (9.438M) : 0, 9438257
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (6109) (6.613M) : 0, 6612881
master (6.590M) : 0, 6590052
section Trace stats
master (7.018M) : 0, 7018387
section Manual
master (9.760M) : 0, 9760011
section Manual + Automatic
This PR (6109) (6.153M) : 0, 6153384
master (6.122M) : 0, 6122138
section DD_TRACE_ENABLED=0
master (8.792M) : 0, 8791745
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6109) (9.934M) : 0, 9934297
master (9.927M) : 0, 9927076
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (6109) (6.652M) : 0, 6651811
master (6.595M) : 0, 6594814
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Trace stats
master (7.253M) : 0, 7253184
section Manual
master (10.031M) : 0, 10030951
section Manual + Automatic
This PR (6109) (6.233M) : 0, 6233183
master (6.128M) : 0, 6128464
section DD_TRACE_ENABLED=0
master (9.284M) : 0, 9283843
|
Benchmarks Report for tracer 🐌Benchmarks for #6109 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 - Faster 🎉 Same allocations ✔️
|
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑net472 | 1.114 | 695.21 | 624.08 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 395ns | 0.107ns | 0.416ns | 0.00814 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 547ns | 0.272ns | 1.05ns | 0.00798 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 695ns | 0.399ns | 1.54ns | 0.0917 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 478ns | 0.115ns | 0.431ns | 0.00968 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 697ns | 0.957ns | 3.71ns | 0.00944 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 895ns | 0.371ns | 1.44ns | 0.104 | 0 | 0 | 658 B |
| #6109 | StartFinishSpan |
net6.0 | 406ns | 0.649ns | 2.43ns | 0.00814 | 0 | 0 | 576 B |
| #6109 | StartFinishSpan |
netcoreapp3.1 | 560ns | 0.289ns | 1.04ns | 0.00795 | 0 | 0 | 576 B |
| #6109 | StartFinishSpan |
net472 | 624ns | 0.261ns | 0.943ns | 0.0915 | 0 | 0 | 578 B |
| #6109 | StartFinishScope |
net6.0 | 482ns | 0.503ns | 1.88ns | 0.00972 | 0 | 0 | 696 B |
| #6109 | StartFinishScope |
netcoreapp3.1 | 728ns | 0.838ns | 3.24ns | 0.00949 | 0 | 0 | 696 B |
| #6109 | StartFinishScope |
net472 | 862ns | 0.406ns | 1.57ns | 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 | 655ns | 0.273ns | 1.02ns | 0.00982 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 971ns | 0.422ns | 1.58ns | 0.00921 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.04μs | 0.494ns | 1.85ns | 0.104 | 0 | 0 | 658 B |
| #6109 | RunOnMethodBegin |
net6.0 | 673ns | 0.353ns | 1.37ns | 0.0098 | 0 | 0 | 696 B |
| #6109 | RunOnMethodBegin |
netcoreapp3.1 | 987ns | 0.583ns | 2.26ns | 0.00934 | 0 | 0 | 696 B |
| #6109 | RunOnMethodBegin |
net472 | 1.11μs | 0.347ns | 1.25ns | 0.104 | 0 | 0 | 658 B |
## Summary of changes Remove `System.MissingMethodException` and `System.Security.VerificationException` from the suspicious exception types. ## Reason for change They're too broad and are going to cause false-negatives. A crash report will still be generated if one of those exceptions cause a crash *and* we're in the callstack.
Summary of changes
Remove
System.MissingMethodExceptionandSystem.Security.VerificationExceptionfrom the suspicious exception types.Reason for change
They're too broad and are going to cause false-negatives. A crash report will still be generated if one of those exceptions cause a crash and we're in the callstack.