Build against macos-13 as macos-12 is going to be deprecated#6138
Conversation
07025e1 to
8ff0c25
Compare
Datadog ReportBranch report: ✅ 0 Failed, 366895 Passed, 2070 Skipped, 15h 3m 28.98s 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 (6138) - mean (70ms) : 67, 73
. : milestone, 70,
master - mean (70ms) : 67, 73
. : milestone, 70,
section CallTarget+Inlining+NGEN
This PR (6138) - mean (1,113ms) : 1087, 1139
. : milestone, 1113,
master - mean (1,115ms) : 1086, 1144
. : milestone, 1115,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6138) - mean (109ms) : 106, 111
. : milestone, 109,
master - mean (110ms) : 105, 114
. : milestone, 110,
section CallTarget+Inlining+NGEN
This PR (6138) - mean (775ms) : 764, 787
. : milestone, 775,
master - mean (771ms) : 753, 789
. : milestone, 771,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6138) - mean (92ms) : 90, 95
. : milestone, 92,
master - mean (92ms) : 89, 95
. : milestone, 92,
section CallTarget+Inlining+NGEN
This PR (6138) - mean (737ms) : 715, 758
. : milestone, 737,
master - mean (727ms) : 712, 742
. : milestone, 727,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6138) - mean (189ms) : 186, 192
. : milestone, 189,
master - mean (189ms) : 185, 193
. : milestone, 189,
section CallTarget+Inlining+NGEN
This PR (6138) - mean (1,195ms) : 1164, 1226
. : milestone, 1195,
master - mean (1,201ms) : 1172, 1230
. : milestone, 1201,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6138) - mean (273ms) : 269, 277
. : milestone, 273,
master - mean (274ms) : 269, 278
. : milestone, 274,
section CallTarget+Inlining+NGEN
This PR (6138) - mean (940ms) : 922, 958
. : milestone, 940,
master - mean (938ms) : 918, 958
. : milestone, 938,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6138) - mean (263ms) : 259, 267
. : milestone, 263,
master - mean (263ms) : 259, 267
. : milestone, 263,
section CallTarget+Inlining+NGEN
This PR (6138) - mean (929ms) : 908, 951
. : milestone, 929,
master - mean (923ms) : 905, 940
. : milestone, 923,
|
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 (6138) (10.970M) : 0, 10969762
master (11.080M) : 0, 11079748
benchmarks/2.9.0 (11.081M) : 0, 11080577
section Automatic
This PR (6138) (7.243M) : 0, 7242599
master (7.315M) : 0, 7315317
benchmarks/2.9.0 (7.732M) : 0, 7732233
section Trace stats
master (7.620M) : 0, 7620483
section Manual
master (10.953M) : 0, 10953313
section Manual + Automatic
This PR (6138) (6.835M) : 0, 6835112
master (6.849M) : 0, 6848847
section DD_TRACE_ENABLED=0
master (10.227M) : 0, 10226857
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6138) (9.441M) : 0, 9440797
master (9.517M) : 0, 9516897
benchmarks/2.9.0 (9.798M) : 0, 9798067
section Automatic
This PR (6138) (6.636M) : 0, 6635884
master (6.590M) : 0, 6589925
section Trace stats
master (6.791M) : 0, 6791127
section Manual
master (9.449M) : 0, 9448954
section Manual + Automatic
This PR (6138) (6.166M) : 0, 6165576
master (6.064M) : 0, 6064287
section DD_TRACE_ENABLED=0
master (8.906M) : 0, 8906146
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6138) (10.021M) : 0, 10021327
benchmarks/2.9.0 (10.067M) : 0, 10067315
section Automatic
This PR (6138) (6.527M) : 0, 6526845
benchmarks/2.9.0 (7.552M) : 0, 7552193
section Manual + Automatic
This PR (6138) (5.967M) : 0, 5967488
|
Benchmarks Report for tracer 🐌Benchmarks for #6138 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 - Faster 🎉 Same allocations ✔️
|
| Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.ILoggerBenchmark.EnrichedLog‑net472 | 1.148 | 2,798.41 | 2,437.99 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | EnrichedLog |
net6.0 | 1.55μs | 1.14ns | 4.28ns | 0.0228 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
netcoreapp3.1 | 2.22μs | 2.39ns | 8.29ns | 0.0219 | 0 | 0 | 1.64 KB |
| master | EnrichedLog |
net472 | 2.8μs | 1.59ns | 6.16ns | 0.25 | 0 | 0 | 1.57 KB |
| #6138 | EnrichedLog |
net6.0 | 1.57μs | 0.566ns | 2.12ns | 0.0228 | 0 | 0 | 1.64 KB |
| #6138 | EnrichedLog |
netcoreapp3.1 | 2.19μs | 1.7ns | 6.14ns | 0.0221 | 0 | 0 | 1.64 KB |
| #6138 | EnrichedLog |
net472 | 2.44μs | 1.35ns | 5.05ns | 0.249 | 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 | 218ns | 846ns | 0 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
netcoreapp3.1 | 120μs | 188ns | 703ns | 0 | 0 | 0 | 4.28 KB |
| master | EnrichedLog |
net472 | 152μs | 174ns | 652ns | 0.682 | 0.227 | 0 | 4.46 KB |
| #6138 | EnrichedLog |
net6.0 | 117μs | 111ns | 431ns | 0.0592 | 0 | 0 | 4.28 KB |
| #6138 | EnrichedLog |
netcoreapp3.1 | 121μs | 288ns | 1.12μs | 0 | 0 | 0 | 4.28 KB |
| #6138 | EnrichedLog |
net472 | 152μs | 160ns | 621ns | 0.684 | 0.228 | 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.05μs | 1.03ns | 3.97ns | 0.0305 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
netcoreapp3.1 | 4.12μs | 1.81ns | 6.51ns | 0.0291 | 0 | 0 | 2.2 KB |
| master | EnrichedLog |
net472 | 4.88μs | 2.73ns | 10.6ns | 0.321 | 0 | 0 | 2.02 KB |
| #6138 | EnrichedLog |
net6.0 | 3.11μs | 0.864ns | 3.35ns | 0.0297 | 0 | 0 | 2.2 KB |
| #6138 | EnrichedLog |
netcoreapp3.1 | 4.26μs | 3.04ns | 11.8ns | 0.0298 | 0 | 0 | 2.2 KB |
| #6138 | EnrichedLog |
net472 | 4.79μs | 1.18ns | 4.57ns | 0.321 | 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.39μs | 0.528ns | 2.05ns | 0.016 | 0 | 0 | 1.14 KB |
| master | SendReceive |
netcoreapp3.1 | 1.75μs | 0.688ns | 2.66ns | 0.0158 | 0 | 0 | 1.14 KB |
| master | SendReceive |
net472 | 2.1μs | 1.24ns | 4.79ns | 0.183 | 0.00104 | 0 | 1.16 KB |
| #6138 | SendReceive |
net6.0 | 1.42μs | 0.851ns | 3.29ns | 0.0156 | 0 | 0 | 1.14 KB |
| #6138 | SendReceive |
netcoreapp3.1 | 1.75μs | 0.632ns | 2.36ns | 0.0157 | 0 | 0 | 1.14 KB |
| #6138 | SendReceive |
net472 | 2.11μs | 0.859ns | 3.33ns | 0.183 | 0.00106 | 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.81μs | 3.25ns | 12.6ns | 0.0223 | 0 | 0 | 1.6 KB |
| master | EnrichedLog |
netcoreapp3.1 | 3.94μs | 1.57ns | 6.1ns | 0.0216 | 0 | 0 | 1.65 KB |
| master | EnrichedLog |
net472 | 4.37μs | 2.2ns | 8.24ns | 0.323 | 0 | 0 | 2.04 KB |
| #6138 | EnrichedLog |
net6.0 | 2.8μs | 0.661ns | 2.56ns | 0.0224 | 0 | 0 | 1.6 KB |
| #6138 | EnrichedLog |
netcoreapp3.1 | 3.87μs | 1.55ns | 5.81ns | 0.0214 | 0 | 0 | 1.65 KB |
| #6138 | EnrichedLog |
net472 | 4.38μs | 1.95ns | 7.55ns | 0.322 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6138
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.116
486.97
543.32
| Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
|---|---|---|---|---|
| Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.116 | 486.97 | 543.32 |
Raw results
| Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---|---|---|---|---|---|---|---|---|---|
| master | StartFinishSpan |
net6.0 | 424ns | 0.206ns | 0.796ns | 0.00803 | 0 | 0 | 576 B |
| master | StartFinishSpan |
netcoreapp3.1 | 592ns | 0.537ns | 2.08ns | 0.00764 | 0 | 0 | 576 B |
| master | StartFinishSpan |
net472 | 699ns | 0.802ns | 3.11ns | 0.0915 | 0 | 0 | 578 B |
| master | StartFinishScope |
net6.0 | 487ns | 0.308ns | 1.19ns | 0.00978 | 0 | 0 | 696 B |
| master | StartFinishScope |
netcoreapp3.1 | 759ns | 1.24ns | 4.47ns | 0.00951 | 0 | 0 | 696 B |
| master | StartFinishScope |
net472 | 880ns | 0.891ns | 3.45ns | 0.104 | 0 | 0 | 658 B |
| #6138 | StartFinishSpan |
net6.0 | 466ns | 0.328ns | 1.27ns | 0.00805 | 0 | 0 | 576 B |
| #6138 | StartFinishSpan |
netcoreapp3.1 | 545ns | 0.416ns | 1.61ns | 0.00766 | 0 | 0 | 576 B |
| #6138 | StartFinishSpan |
net472 | 758ns | 1.36ns | 5.25ns | 0.0915 | 0 | 0 | 578 B |
| #6138 | StartFinishScope |
net6.0 | 544ns | 0.147ns | 0.571ns | 0.00978 | 0 | 0 | 696 B |
| #6138 | StartFinishScope |
netcoreapp3.1 | 811ns | 0.549ns | 2.13ns | 0.00937 | 0 | 0 | 696 B |
| #6138 | StartFinishScope |
net472 | 941ns | 0.659ns | 2.55ns | 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 | 711ns | 0.29ns | 1.12ns | 0.00964 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
netcoreapp3.1 | 962ns | 0.648ns | 2.51ns | 0.00947 | 0 | 0 | 696 B |
| master | RunOnMethodBegin |
net472 | 1.19μs | 1.16ns | 4.48ns | 0.104 | 0 | 0 | 658 B |
| #6138 | RunOnMethodBegin |
net6.0 | 712ns | 0.304ns | 1.18ns | 0.01 | 0 | 0 | 696 B |
| #6138 | RunOnMethodBegin |
netcoreapp3.1 | 1μs | 0.276ns | 1.03ns | 0.00948 | 0 | 0 | 696 B |
| #6138 | RunOnMethodBegin |
net472 | 1.14μs | 0.994ns | 3.85ns | 0.104 | 0 | 0 | 658 B |
8ff0c25 to
be163d2
Compare
be163d2 to
11a8c53
Compare
Summary of changes
Changes CI to build using macos-13 instead of macos-12
Reason for change
Azure Devops are removing macos-12 images and will start running brownouts from November, so we have to update.
Implementation details
macos-12->macos-13Test coverage
This is the test - I will also do a full installer tests run