-
Notifications
You must be signed in to change notification settings - Fork 141
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
[Crashtracking] Disable crashtracking on Windows by default #6152
Conversation
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 (6152) - mean (70ms) : 68, 73
. : milestone, 70,
master - mean (70ms) : 67, 72
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6152) - mean (1,111ms) : 1082, 1140
. : milestone, 1111,
master - mean (1,107ms) : 1090, 1125
. : milestone, 1107,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6152) - mean (109ms) : 106, 112
. : milestone, 109,
master - mean (108ms) : 106, 111
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6152) - mean (772ms) : 757, 787
. : milestone, 772,
master - mean (769ms) : 752, 786
. : milestone, 769,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6152) - mean (92ms) : 90, 95
. : milestone, 92,
master - mean (92ms) : 89, 94
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6152) - mean (735ms) : 708, 763
. : milestone, 735,
master - mean (727ms) : 708, 747
. : milestone, 727,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6152) - mean (190ms) : 187, 193
. : milestone, 190,
master - mean (189ms) : 186, 192
. : milestone, 189,
section CallTarget+Inlining+NGEN
This PR (6152) - mean (1,202ms) : 1176, 1228
. : milestone, 1202,
master - mean (1,194ms) : 1168, 1219
. : milestone, 1194,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6152) - mean (275ms) : 270, 280
. : milestone, 275,
master - mean (275ms) : 270, 280
. : milestone, 275,
section CallTarget+Inlining+NGEN
This PR (6152) - mean (945ms) : 923, 966
. : milestone, 945,
master - mean (942ms) : 925, 958
. : milestone, 942,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6152) - mean (264ms) : 260, 268
. : milestone, 264,
master - mean (262ms) : 259, 266
. : milestone, 262,
section CallTarget+Inlining+NGEN
This PR (6152) - mean (926ms) : 904, 948
. : milestone, 926,
master - mean (922ms) : 904, 939
. : milestone, 922,
|
Datadog ReportBranch report: ✅ 0 Failed, 372094 Passed, 2391 Skipped, 16h 44m 12.88s Total Time New Flaky Tests (1)
|
Benchmarks Report for tracer 🐌Benchmarks for #6152 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‑netcoreapp3.1 | 1.138 | 717.24 | 816.56 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 400ns | 0.173ns | 0.669ns | 0.00805 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 594ns | 0.522ns | 2.02ns | 0.00781 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 720ns | 0.394ns | 1.53ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 483ns | 0.242ns | 0.939ns | 0.0097 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 717ns | 0.438ns | 1.7ns | 0.00935 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 932ns | 0.652ns | 2.52ns | 0.105 | 0 | 0 | 658 B |
#6152 | StartFinishSpan |
net6.0 | 412ns | 0.503ns | 1.95ns | 0.00805 | 0 | 0 | 576 B |
#6152 | StartFinishSpan |
netcoreapp3.1 | 629ns | 0.839ns | 3.25ns | 0.00773 | 0 | 0 | 576 B |
#6152 | StartFinishSpan |
net472 | 690ns | 0.695ns | 2.69ns | 0.0917 | 0 | 0 | 578 B |
#6152 | StartFinishScope |
net6.0 | 489ns | 0.368ns | 1.42ns | 0.00966 | 0 | 0 | 696 B |
#6152 | StartFinishScope |
netcoreapp3.1 | 816ns | 0.509ns | 1.97ns | 0.00941 | 0 | 0 | 696 B |
#6152 | StartFinishScope |
net472 | 911ns | 0.99ns | 3.83ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6152
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.236
734.52
594.18
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.236 | 734.52 | 594.18 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 734ns | 0.274ns | 1.06ns | 0.00982 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 916ns | 0.21ns | 0.758ns | 0.00921 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.12μs | 0.475ns | 1.71ns | 0.104 | 0 | 0 | 658 B |
#6152 | RunOnMethodBegin |
net6.0 | 595ns | 0.624ns | 2.25ns | 0.00972 | 0 | 0 | 696 B |
#6152 | RunOnMethodBegin |
netcoreapp3.1 | 990ns | 0.987ns | 3.82ns | 0.00902 | 0 | 0 | 696 B |
#6152 | RunOnMethodBegin |
net472 | 1.16μs | 1.03ns | 4.01ns | 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 (6152) (10.870M) : 0, 10869840
master (11.038M) : 0, 11037687
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (6152) (7.233M) : 0, 7232973
master (7.215M) : 0, 7215320
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.562M) : 0, 7562287
section Manual
master (10.967M) : 0, 10966667
section Manual + Automatic
This PR (6152) (6.673M) : 0, 6672684
master (6.806M) : 0, 6805569
section DD_TRACE_ENABLED=0
master (10.233M) : 0, 10232747
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6152) (9.629M) : 0, 9628675
master (9.418M) : 0, 9418416
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (6152) (6.602M) : 0, 6602208
master (6.507M) : 0, 6506963
section Trace stats
master (6.847M) : 0, 6846734
section Manual
master (9.399M) : 0, 9399114
section Manual + Automatic
This PR (6152) (6.120M) : 0, 6120320
master (6.146M) : 0, 6145874
section DD_TRACE_ENABLED=0
master (8.826M) : 0, 8826339
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6152) (10.529M) : 0, 10528565
master (10.033M) : 0, 10033023
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (6152) (6.911M) : 0, 6910660
master (6.731M) : 0, 6731266
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Trace stats
master (7.216M) : 0, 7215733
section Manual
master (9.982M) : 0, 9982329
section Manual + Automatic
This PR (6152) (6.384M) : 0, 6383904
master (6.328M) : 0, 6328172
section DD_TRACE_ENABLED=0
master (9.298M) : 0, 9298379
|
Summary of changes
Disable crashtracking on Windows by default.
Reason for change
The next version of the tracer will be released before we implement proper support for the PDBs in crashtracking, so change it to opt-in for now (effectively disabling it since nobody is going to manually enable it).
Implementation details
Changed the default value of
DD_CRASHTRACKING_ENABLED
.Test coverage
Had to update the tests to account for the new default value on Windows.