-
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
Parallelise system tests in CI #6496
base: master
Are you sure you want to change the base?
Conversation
5e046e6
to
999d88a
Compare
Datadog ReportBranch report: ✅ 0 Failed, 232645 Passed, 2101 Skipped, 18h 30m 3.85s 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 (6496) - mean (68ms) : 66, 71
. : milestone, 68,
master - mean (68ms) : 66, 71
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (6496) - mean (976ms) : 957, 996
. : milestone, 976,
master - mean (982ms) : 960, 1004
. : milestone, 982,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6496) - mean (108ms) : 106, 110
. : milestone, 108,
master - mean (107ms) : 105, 110
. : milestone, 107,
section CallTarget+Inlining+NGEN
This PR (6496) - mean (676ms) : 664, 689
. : milestone, 676,
master - mean (675ms) : 662, 689
. : milestone, 675,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6496) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6496) - mean (628ms) : 611, 646
. : milestone, 628,
master - mean (636ms) : 623, 648
. : milestone, 636,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6496) - mean (193ms) : 187, 200
. : milestone, 193,
master - mean (193ms) : 190, 197
. : milestone, 193,
section CallTarget+Inlining+NGEN
This PR (6496) - mean (1,104ms) : 1072, 1137
. : milestone, 1104,
master - mean (1,098ms) : 1074, 1123
. : milestone, 1098,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6496) - mean (279ms) : 273, 284
. : milestone, 279,
master - mean (277ms) : 271, 283
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6496) - mean (869ms) : 838, 900
. : milestone, 869,
master - mean (872ms) : 844, 901
. : milestone, 872,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6496) - mean (266ms) : 260, 273
. : milestone, 266,
master - mean (266ms) : 262, 271
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6496) - mean (844ms) : 812, 875
. : milestone, 844,
master - mean (849ms) : 817, 882
. : milestone, 849,
|
Benchmarks Report for tracer 🐌Benchmarks for #6496 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 - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync‑net6.0 | 1.118 | 1,347.37 | 1,205.01 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.15μs | 0.479ns | 1.86ns | 0.0137 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.55μs | 0.752ns | 2.71ns | 0.0132 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.51μs | 1.08ns | 4.18ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.35μs | 0.581ns | 2.25ns | 0.0134 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.68μs | 1.38ns | 5.35ns | 0.0135 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.59μs | 0.919ns | 3.44ns | 0.167 | 0 | 0 | 1.05 KB |
#6496 | CallElasticsearch |
net6.0 | 1.24μs | 0.52ns | 1.94ns | 0.014 | 0 | 0 | 976 B |
#6496 | CallElasticsearch |
netcoreapp3.1 | 1.53μs | 0.649ns | 2.43ns | 0.0132 | 0 | 0 | 976 B |
#6496 | CallElasticsearch |
net472 | 2.5μs | 1.08ns | 4.17ns | 0.157 | 0 | 0 | 995 B |
#6496 | CallElasticsearchAsync |
net6.0 | 1.21μs | 0.884ns | 3.31ns | 0.0133 | 0 | 0 | 952 B |
#6496 | CallElasticsearchAsync |
netcoreapp3.1 | 1.69μs | 1.17ns | 4.52ns | 0.0136 | 0 | 0 | 1.02 KB |
#6496 | CallElasticsearchAsync |
net472 | 2.57μs | 0.83ns | 3.21ns | 0.167 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.35μs | 0.574ns | 2.15ns | 0.0129 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.6μs | 0.749ns | 2.7ns | 0.0126 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.83μs | 0.493ns | 1.91ns | 0.145 | 0 | 0 | 915 B |
#6496 | ExecuteAsync |
net6.0 | 1.27μs | 0.509ns | 1.91ns | 0.0134 | 0 | 0 | 952 B |
#6496 | ExecuteAsync |
netcoreapp3.1 | 1.57μs | 0.476ns | 1.78ns | 0.0126 | 0 | 0 | 952 B |
#6496 | ExecuteAsync |
net472 | 1.78μs | 0.634ns | 2.37ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendAsync |
net6.0 | 4.38μs | 2.2ns | 7.62ns | 0.0329 | 0 | 0 | 2.31 KB |
master | SendAsync |
netcoreapp3.1 | 5.29μs | 1.51ns | 5.46ns | 0.0372 | 0 | 0 | 2.85 KB |
master | SendAsync |
net472 | 7.4μs | 1.96ns | 7.61ns | 0.495 | 0 | 0 | 3.12 KB |
#6496 | SendAsync |
net6.0 | 4.58μs | 2ns | 7.76ns | 0.0319 | 0 | 0 | 2.31 KB |
#6496 | SendAsync |
netcoreapp3.1 | 5.29μs | 2.91ns | 10.9ns | 0.0371 | 0 | 0 | 2.85 KB |
#6496 | SendAsync |
net472 | 7.31μs | 1.53ns | 5.92ns | 0.493 | 0 | 0 | 3.12 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.56μs | 0.556ns | 2.08ns | 0.0226 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.3μs | 1.32ns | 4.75ns | 0.0218 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.69μs | 1.45ns | 5.6ns | 0.249 | 0 | 0 | 1.57 KB |
#6496 | EnrichedLog |
net6.0 | 1.56μs | 0.621ns | 2.24ns | 0.0228 | 0 | 0 | 1.64 KB |
#6496 | EnrichedLog |
netcoreapp3.1 | 2.23μs | 1.34ns | 5.17ns | 0.0223 | 0 | 0 | 1.64 KB |
#6496 | EnrichedLog |
net472 | 2.61μs | 1.76ns | 6.59ns | 0.25 | 0 | 0 | 1.57 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 118μs | 128ns | 495ns | 0.0584 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 123μs | 362ns | 1.4μs | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 153μs | 127ns | 494ns | 0.681 | 0.227 | 0 | 4.46 KB |
#6496 | EnrichedLog |
net6.0 | 118μs | 112ns | 433ns | 0.059 | 0 | 0 | 4.28 KB |
#6496 | EnrichedLog |
netcoreapp3.1 | 123μs | 188ns | 728ns | 0 | 0 | 0 | 4.28 KB |
#6496 | EnrichedLog |
net472 | 153μs | 133ns | 517ns | 0.689 | 0.23 | 0 | 4.46 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 3.01μs | 1.69ns | 6.31ns | 0.03 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.18μs | 3.35ns | 13ns | 0.0292 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.87μs | 1.55ns | 5.58ns | 0.32 | 0 | 0 | 2.02 KB |
#6496 | EnrichedLog |
net6.0 | 2.99μs | 1.42ns | 5.52ns | 0.0315 | 0 | 0 | 2.2 KB |
#6496 | EnrichedLog |
netcoreapp3.1 | 4.25μs | 1.56ns | 5.84ns | 0.03 | 0 | 0 | 2.2 KB |
#6496 | EnrichedLog |
net472 | 4.98μs | 1.24ns | 4.64ns | 0.32 | 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.42μs | 1.97ns | 7.62ns | 0.0156 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.78μs | 0.812ns | 3.14ns | 0.0159 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.12μs | 1.56ns | 6.03ns | 0.183 | 0 | 0 | 1.16 KB |
#6496 | SendReceive |
net6.0 | 1.47μs | 0.954ns | 3.69ns | 0.0161 | 0 | 0 | 1.14 KB |
#6496 | SendReceive |
netcoreapp3.1 | 1.78μs | 0.833ns | 3.12ns | 0.015 | 0 | 0 | 1.14 KB |
#6496 | SendReceive |
net472 | 2.2μs | 0.882ns | 3.3ns | 0.183 | 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.78μs | 0.666ns | 2.4ns | 0.0223 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.94μs | 1.44ns | 5.56ns | 0.0219 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.46μs | 7.23ns | 28ns | 0.323 | 0 | 0 | 2.04 KB |
#6496 | EnrichedLog |
net6.0 | 2.78μs | 0.835ns | 3.13ns | 0.0221 | 0 | 0 | 1.6 KB |
#6496 | EnrichedLog |
netcoreapp3.1 | 3.96μs | 1.87ns | 7.25ns | 0.0217 | 0 | 0 | 1.65 KB |
#6496 | EnrichedLog |
net472 | 4.27μs | 2.92ns | 10.9ns | 0.324 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6496
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1
1.130
659.21
744.78
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑netcoreapp3.1 | 1.130 | 659.21 | 744.78 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 391ns | 0.165ns | 0.594ns | 0.00809 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 599ns | 0.905ns | 3.51ns | 0.00774 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 697ns | 0.592ns | 2.29ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 520ns | 0.267ns | 1.04ns | 0.00977 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 660ns | 0.483ns | 1.81ns | 0.00929 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 869ns | 0.66ns | 2.56ns | 0.105 | 0 | 0 | 658 B |
#6496 | StartFinishSpan |
net6.0 | 413ns | 0.218ns | 0.844ns | 0.00807 | 0 | 0 | 576 B |
#6496 | StartFinishSpan |
netcoreapp3.1 | 570ns | 1.74ns | 6.73ns | 0.00788 | 0 | 0 | 576 B |
#6496 | StartFinishSpan |
net472 | 670ns | 0.353ns | 1.37ns | 0.0917 | 0 | 0 | 578 B |
#6496 | StartFinishScope |
net6.0 | 547ns | 0.152ns | 0.55ns | 0.00985 | 0 | 0 | 696 B |
#6496 | StartFinishScope |
netcoreapp3.1 | 745ns | 0.238ns | 0.825ns | 0.00935 | 0 | 0 | 696 B |
#6496 | StartFinishScope |
net472 | 848ns | 0.703ns | 2.72ns | 0.105 | 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 | 646ns | 0.399ns | 1.54ns | 0.00981 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 954ns | 0.985ns | 3.82ns | 0.00959 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.12μs | 0.645ns | 2.5ns | 0.104 | 0 | 0 | 658 B |
#6496 | RunOnMethodBegin |
net6.0 | 617ns | 0.449ns | 1.74ns | 0.00987 | 0 | 0 | 696 B |
#6496 | RunOnMethodBegin |
netcoreapp3.1 | 1.04μs | 0.767ns | 2.97ns | 0.00932 | 0 | 0 | 696 B |
#6496 | RunOnMethodBegin |
net472 | 1.12μs | 0.611ns | 2.37ns | 0.104 | 0 | 0 | 658 B |
a4888af
to
dd65986
Compare
57cccf3
to
078a37d
Compare
8cd9e80
to
b80f73e
Compare
b80f73e
to
8a73064
Compare
Summary of changes
Set the stage of CI System Tests to 75 min.
Reason for change
It was timing out in a bunch of PRs. 75 min seems to be a good compromise of making sure the tests are not taking too much time (in case of an error) and leaves some margin for some tests that can take more than 1 hour.