-
Notifications
You must be signed in to change notification settings - Fork 143
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
Disable continuous profiler in GenerateDumpIfDbgRequested #6497
base: master
Are you sure you want to change the base?
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.
🤞
Datadog ReportBranch report: ✅ 0 Failed, 236140 Passed, 2557 Skipped, 20h 21m 32.06s 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 (6497) - mean (68ms) : 65, 71
. : milestone, 68,
master - mean (69ms) : 65, 73
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6497) - mean (975ms) : 951, 1000
. : milestone, 975,
master - mean (980ms) : 953, 1007
. : milestone, 980,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6497) - mean (108ms) : 105, 110
. : milestone, 108,
master - mean (107ms) : 105, 109
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6497) - mean (676ms) : 660, 691
. : milestone, 676,
master - mean (678ms) : 661, 695
. : milestone, 678,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6497) - mean (91ms) : 89, 92
. : milestone, 91,
master - mean (92ms) : 89, 94
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6497) - mean (635ms) : 615, 654
. : milestone, 635,
master - mean (633ms) : 614, 653
. : milestone, 633,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6497) - mean (194ms) : 189, 199
. : milestone, 194,
master - mean (195ms) : 190, 199
. : milestone, 195,
section CallTarget+Inlining+NGEN
This PR (6497) - mean (1,101ms) : 1068, 1134
. : milestone, 1101,
master - mean (1,099ms) : 1071, 1126
. : milestone, 1099,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6497) - mean (279ms) : 275, 284
. : milestone, 279,
master - mean (278ms) : 274, 281
. : milestone, 278,
section CallTarget+Inlining+NGEN
This PR (6497) - mean (871ms) : 843, 899
. : milestone, 871,
master - mean (871ms) : 839, 903
. : milestone, 871,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6497) - mean (267ms) : 261, 272
. : milestone, 267,
master - mean (267ms) : 262, 273
. : milestone, 267,
section CallTarget+Inlining+NGEN
This PR (6497) - mean (853ms) : 820, 886
. : milestone, 853,
master - mean (852ms) : 817, 887
. : milestone, 852,
|
Benchmarks Report for tracer 🐌Benchmarks for #6497 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.116 | 398.49 | 444.84 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472 | 1.152 | 961.33 | 834.69 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 399ns | 0.229ns | 0.887ns | 0.00804 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 610ns | 0.455ns | 1.7ns | 0.00768 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 742ns | 0.301ns | 1.17ns | 0.0915 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 481ns | 0.279ns | 1.08ns | 0.00991 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 808ns | 0.536ns | 2.08ns | 0.00929 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 961ns | 0.532ns | 2.06ns | 0.104 | 0 | 0 | 658 B |
#6497 | StartFinishSpan |
net6.0 | 446ns | 0.916ns | 3.55ns | 0.00815 | 0 | 0 | 576 B |
#6497 | StartFinishSpan |
netcoreapp3.1 | 603ns | 0.374ns | 1.4ns | 0.00783 | 0 | 0 | 576 B |
#6497 | StartFinishSpan |
net472 | 722ns | 0.408ns | 1.58ns | 0.0916 | 0 | 0 | 578 B |
#6497 | StartFinishScope |
net6.0 | 517ns | 0.241ns | 0.869ns | 0.00988 | 0 | 0 | 696 B |
#6497 | StartFinishScope |
netcoreapp3.1 | 757ns | 0.548ns | 2.12ns | 0.00944 | 0 | 0 | 696 B |
#6497 | StartFinishScope |
net472 | 834ns | 0.653ns | 2.53ns | 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 | 588ns | 0.358ns | 1.38ns | 0.00986 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 858ns | 0.299ns | 1.12ns | 0.00947 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.14μs | 0.509ns | 1.97ns | 0.104 | 0 | 0 | 658 B |
#6497 | RunOnMethodBegin |
net6.0 | 587ns | 0.3ns | 1.16ns | 0.00986 | 0 | 0 | 696 B |
#6497 | RunOnMethodBegin |
netcoreapp3.1 | 874ns | 0.747ns | 2.89ns | 0.00962 | 0 | 0 | 696 B |
#6497 | RunOnMethodBegin |
net472 | 1.12μs | 0.436ns | 1.69ns | 0.104 | 0 | 0 | 658 B |
Summary of changes
Disable the continuous profiler in
GenerateDumpIfDbgRequested
Reason for change
GenerateDumpIfDbgRequested
has been flaky for a while now and I've been unable to find the root cause. I suspect the failure might be caused by some weird interaction with the continuous profiler, and the CP isn't actually needed for this test, so I'm disabling it to see if the failure disappears.