-
Notifications
You must be signed in to change notification settings - Fork 145
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
Adding Delay to CheckForSmoke to Prevent Flakes #6396
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 451469 Passed, 2736 Skipped, 19h 31m 13.1s 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 (6396) - mean (69ms) : 66, 72
. : milestone, 69,
master - mean (69ms) : 66, 71
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6396) - mean (978ms) : 953, 1003
. : milestone, 978,
master - mean (977ms) : 957, 998
. : milestone, 977,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6396) - mean (109ms) : 107, 111
. : milestone, 109,
master - mean (108ms) : 106, 110
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6396) - mean (683ms) : 665, 701
. : milestone, 683,
master - mean (679ms) : 665, 692
. : milestone, 679,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6396) - mean (92ms) : 89, 94
. : milestone, 92,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6396) - mean (634ms) : 617, 651
. : milestone, 634,
master - mean (633ms) : 617, 648
. : milestone, 633,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6396) - mean (190ms) : 186, 195
. : milestone, 190,
master - mean (190ms) : 186, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6396) - mean (1,099ms) : 1061, 1137
. : milestone, 1099,
master - mean (1,092ms) : 1055, 1128
. : milestone, 1092,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6396) - mean (277ms) : 272, 281
. : milestone, 277,
master - mean (277ms) : 273, 281
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6396) - mean (876ms) : 852, 899
. : milestone, 876,
master - mean (869ms) : 842, 895
. : milestone, 869,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6396) - mean (266ms) : 261, 271
. : milestone, 266,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6396) - mean (859ms) : 826, 892
. : milestone, 859,
master - mean (852ms) : 818, 886
. : milestone, 852,
|
Benchmarks Report for tracer 🐌Benchmarks for #6396 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.230 | 663.04 | 815.36 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472 | 1.124 | 913.80 | 813.19 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 396ns | 0.85ns | 3.29ns | 0.00808 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 589ns | 0.507ns | 1.83ns | 0.00793 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 728ns | 1.46ns | 5.66ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 490ns | 0.582ns | 2.25ns | 0.00976 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 663ns | 1.32ns | 5.1ns | 0.00915 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 914ns | 2.22ns | 8.58ns | 0.104 | 0 | 0 | 658 B |
#6396 | StartFinishSpan |
net6.0 | 402ns | 0.578ns | 2.24ns | 0.00808 | 0 | 0 | 576 B |
#6396 | StartFinishSpan |
netcoreapp3.1 | 556ns | 0.719ns | 2.59ns | 0.00791 | 0 | 0 | 576 B |
#6396 | StartFinishSpan |
net472 | 713ns | 1.82ns | 7.04ns | 0.0915 | 0 | 0 | 578 B |
#6396 | StartFinishScope |
net6.0 | 500ns | 0.641ns | 2.48ns | 0.0097 | 0 | 0 | 696 B |
#6396 | StartFinishScope |
netcoreapp3.1 | 815ns | 1.4ns | 5.43ns | 0.00932 | 0 | 0 | 696 B |
#6396 | StartFinishScope |
net472 | 811ns | 1.86ns | 7.22ns | 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 | 687ns | 1.32ns | 5.13ns | 0.00957 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 903ns | 1.55ns | 5.98ns | 0.00936 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.07μs | 2ns | 7.75ns | 0.104 | 0 | 0 | 658 B |
#6396 | RunOnMethodBegin |
net6.0 | 624ns | 1.33ns | 5.15ns | 0.00978 | 0 | 0 | 696 B |
#6396 | RunOnMethodBegin |
netcoreapp3.1 | 931ns | 1.09ns | 4.21ns | 0.00943 | 0 | 0 | 696 B |
#6396 | RunOnMethodBegin |
net472 | 1.08μs | 2.77ns | 10.7ns | 0.104 | 0 | 0 | 658 B |
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.
🙈
## Summary of changes There are a couple of `NoException` tests that make use of `CheckForSmoke` failing after app shutdown so adding delay to try testing ## Reason for change To try preventing some flake.
Summary of changes
There are a couple of
NoException
tests that make use ofCheckForSmoke
failing after app shutdown so adding delay to try testingReason for change
To try preventing some flake.