Skip to content
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

Build against macos-13 as macos-12 is going to be deprecated #6138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewlock
Copy link
Member

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-13

Test coverage

This is the test - I will also do a full installer tests run

@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Oct 9, 2024
@andrewlock andrewlock requested review from a team as code owners October 9, 2024 18:44
@andrewlock andrewlock force-pushed the andrew/ci/build-against-macos-13 branch from 07025e1 to 8ff0c25 Compare October 9, 2024 18:44
@datadog-ddstaging
Copy link

datadog-ddstaging bot commented Oct 9, 2024

Datadog Report

Branch report: andrew/ci/build-against-macos-13
Commit report: be163d2
Test service: dd-trace-dotnet

✅ 0 Failed, 365895 Passed, 2072 Skipped, 15h 4m 28.54s Total Time

@andrewlock
Copy link
Member Author

andrewlock commented Oct 9, 2024

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:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

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, 72
     .   : milestone, 70,

    section CallTarget+Inlining+NGEN
    This PR (6138) - mean (1,112ms)  : 1091, 1133
     .   : milestone, 1112,
    master - mean (1,110ms)  : 1085, 1135
     .   : milestone, 1110,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6138) - mean (108ms)  : 105, 111
     .   : milestone, 108,
    master - mean (109ms)  : 105, 112
     .   : milestone, 109,

    section CallTarget+Inlining+NGEN
    This PR (6138) - mean (770ms)  : 753, 788
     .   : milestone, 770,
    master - mean (771ms)  : 757, 786
     .   : milestone, 771,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6138) - mean (92ms)  : 89, 94
     .   : milestone, 92,
    master - mean (92ms)  : 89, 95
     .   : milestone, 92,

    section CallTarget+Inlining+NGEN
    This PR (6138) - mean (725ms)  : 710, 740
     .   : milestone, 725,
    master - mean (727ms)  : 710, 744
     .   : milestone, 727,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6138) - mean (189ms)  : 187, 191
     .   : milestone, 189,
    master - mean (189ms)  : 186, 192
     .   : milestone, 189,

    section CallTarget+Inlining+NGEN
    This PR (6138) - mean (1,199ms)  : 1170, 1227
     .   : milestone, 1199,
    master - mean (1,201ms)  : 1179, 1222
     .   : milestone, 1201,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (6138) - mean (275ms)  : 270, 280
     .   : milestone, 275,
    master - mean (274ms)  : 269, 278
     .   : milestone, 274,

    section CallTarget+Inlining+NGEN
    This PR (6138) - mean (944ms)  : 923, 965
     .   : milestone, 944,
    master - mean (943ms)  : 926, 960
     .   : milestone, 943,

Loading
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 (925ms)  : 906, 944
     .   : milestone, 925,
    master - mean (924ms)  : 908, 940
     .   : milestone, 924,

Loading

@andrewlock
Copy link
Member Author

andrewlock commented Oct 9, 2024

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) (11.120M)   : 0, 11120157
    master (11.252M)   : 0, 11251784
    benchmarks/2.9.0 (11.081M)   : 0, 11080577

    section Automatic
    This PR (6138) (7.201M)   : 0, 7201220
    master (7.466M)   : 0, 7465753
    benchmarks/2.9.0 (7.732M)   : 0, 7732233

    section Trace stats
    master (7.766M)   : 0, 7765791

    section Manual
    master (11.114M)   : 0, 11114354

    section Manual + Automatic
    This PR (6138) (6.756M)   : 0, 6756054
    master (6.846M)   : 0, 6845872

    section DD_TRACE_ENABLED=0
    master (10.389M)   : 0, 10388612

Loading
gantt
    title Throughput Linux arm64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (6138) (9.226M)   : 0, 9226094
    master (9.539M)   : 0, 9539093
    benchmarks/2.9.0 (9.798M)   : 0, 9798067

    section Automatic
    This PR (6138) (6.341M)   : 0, 6341081
    master (6.648M)   : 0, 6647799

    section Trace stats
    master (6.855M)   : 0, 6855301

    section Manual
    master (9.525M)   : 0, 9525425

    section Manual + Automatic
    This PR (6138) (6.059M)   : 0, 6058946
    master (6.161M)   : 0, 6160600

    section DD_TRACE_ENABLED=0
    master (8.832M)   : 0, 8832117

Loading
gantt
    title Throughput Windows x64 (Total requests) 
    dateFormat  X
    axisFormat %s
    section Baseline
    This PR (6138) (10.064M)   : 0, 10063739
    master (10.064M)   : 0, 10064242
    benchmarks/2.9.0 (10.067M)   : 0, 10067315

    section Automatic
    This PR (6138) (6.981M)   : 0, 6980760
    master (6.841M)   : 0, 6841333
    benchmarks/2.9.0 (7.552M)   : 0, 7552193

    section Trace stats
    master (7.427M)   : 0, 7426854

    section Manual
    master (10.084M)   : 0, 10084210

    section Manual + Automatic
    This PR (6138) (6.480M)   : 0, 6480240
    master (6.348M)   : 0, 6347556

    section DD_TRACE_ENABLED=0
    master (9.577M)   : 0, 9576577

Loading

@andrewlock
Copy link
Member Author

andrewlock commented Oct 9, 2024

Benchmarks Report for tracer 🐌

Benchmarks for #6138 compared to master:

  • 1 benchmarks are faster, with geometric mean 1.135
  • All benchmarks have the same allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 7.77μs 44.4ns 327ns 0.0155 0.00774 0 5.43 KB
master StartStopWithChild netcoreapp3.1 10.1μs 50.2ns 230ns 0.0209 0.0105 0 5.62 KB
master StartStopWithChild net472 17μs 46.1ns 179ns 1.01 0.298 0.0828 6.06 KB
#6138 StartStopWithChild net6.0 7.83μs 45ns 345ns 0.0124 0.00825 0 5.43 KB
#6138 StartStopWithChild netcoreapp3.1 9.94μs 52ns 333ns 0.0152 0.00507 0 5.62 KB
#6138 StartStopWithChild net472 16.9μs 70.8ns 274ns 1.01 0.297 0.0848 6.07 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 474μs 114ns 395ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 635μs 560ns 2.1μs 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 867μs 535ns 2.07μs 0.434 0 0 3.3 KB
#6138 WriteAndFlushEnrichedTraces net6.0 472μs 307ns 1.19μs 0 0 0 2.7 KB
#6138 WriteAndFlushEnrichedTraces netcoreapp3.1 639μs 744ns 2.78μs 0 0 0 2.7 KB
#6138 WriteAndFlushEnrichedTraces net472 846μs 561ns 2.1μs 0.422 0 0 3.3 KB
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendRequest net6.0 225μs 1.26μs 8.29μs 0.209 0 0 18.45 KB
master SendRequest netcoreapp3.1 226μs 1.29μs 9.84μs 0.216 0 0 20.61 KB
master SendRequest net472 0.00205ns 0.00102ns 0.00381ns 0 0 0 0 b
#6138 SendRequest net6.0 206μs 1.17μs 9.94μs 0.198 0 0 18.45 KB
#6138 SendRequest netcoreapp3.1 244μs 1.41μs 11.6μs 0.232 0 0 20.61 KB
#6138 SendRequest net472 0.00862ns 0.00169ns 0.00653ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 572μs 2.95μs 13.5μs 0.282 0 0 41.63 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 744μs 4.35μs 41.9μs 0.332 0 0 41.79 KB
master WriteAndFlushEnrichedTraces net472 855μs 2.38μs 8.58μs 8.42 2.66 0.443 53.35 KB
#6138 WriteAndFlushEnrichedTraces net6.0 589μs 2.32μs 8.37μs 0.595 0 0 41.66 KB
#6138 WriteAndFlushEnrichedTraces netcoreapp3.1 681μs 3.74μs 21.8μs 0.349 0 0 41.62 KB
#6138 WriteAndFlushEnrichedTraces net472 877μs 4.38μs 20.5μs 8.13 2.57 0.428 53.33 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteNonQuery net6.0 1.29μs 0.853ns 3.3ns 0.0142 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 1.82μs 1.7ns 6.58ns 0.0136 0 0 1.02 KB
master ExecuteNonQuery net472 2.1μs 1.48ns 5.34ns 0.156 0 0 987 B
#6138 ExecuteNonQuery net6.0 1.23μs 1.35ns 5.25ns 0.0142 0 0 1.02 KB
#6138 ExecuteNonQuery netcoreapp3.1 1.75μs 2.7ns 10.1ns 0.014 0 0 1.02 KB
#6138 ExecuteNonQuery net472 2.13μs 1.92ns 7.42ns 0.156 0 0 987 B
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net6.0 1.21μs 0.6ns 2.24ns 0.0139 0 0 976 B
master CallElasticsearch netcoreapp3.1 1.6μs 4.95ns 19.2ns 0.0132 0 0 976 B
master CallElasticsearch net472 2.41μs 1.27ns 4.41ns 0.158 0 0 995 B
master CallElasticsearchAsync net6.0 1.25μs 0.526ns 1.97ns 0.0131 0 0 952 B
master CallElasticsearchAsync netcoreapp3.1 1.63μs 0.99ns 3.83ns 0.0139 0 0 1.02 KB
master CallElasticsearchAsync net472 2.59μs 1.19ns 4.47ns 0.166 0 0 1.05 KB
#6138 CallElasticsearch net6.0 1.2μs 0.799ns 2.99ns 0.0139 0 0 976 B
#6138 CallElasticsearch netcoreapp3.1 1.53μs 1.07ns 4.15ns 0.0129 0 0 976 B
#6138 CallElasticsearch net472 2.49μs 1.44ns 5.56ns 0.157 0 0 995 B
#6138 CallElasticsearchAsync net6.0 1.29μs 1.24ns 4.82ns 0.0134 0 0 952 B
#6138 CallElasticsearchAsync netcoreapp3.1 1.6μs 1.66ns 5.98ns 0.0138 0 0 1.02 KB
#6138 CallElasticsearchAsync net472 2.61μs 1.76ns 6.82ns 0.166 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.34μs 0.788ns 2.95ns 0.0134 0 0 952 B
master ExecuteAsync netcoreapp3.1 1.66μs 0.345ns 1.24ns 0.0124 0 0 952 B
master ExecuteAsync net472 1.76μs 0.564ns 2.11ns 0.145 0 0 915 B
#6138 ExecuteAsync net6.0 1.24μs 1.12ns 4.2ns 0.0131 0 0 952 B
#6138 ExecuteAsync netcoreapp3.1 1.61μs 1.1ns 4.26ns 0.0128 0 0 952 B
#6138 ExecuteAsync net472 1.77μs 1.38ns 5.35ns 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.2μs 2.3ns 8.6ns 0.0295 0 0 2.22 KB
master SendAsync netcoreapp3.1 5.01μs 3.35ns 13ns 0.0375 0 0 2.76 KB
master SendAsync net472 7.66μs 0.961ns 3.47ns 0.498 0 0 3.15 KB
#6138 SendAsync net6.0 4.14μs 2.12ns 8.21ns 0.031 0 0 2.22 KB
#6138 SendAsync netcoreapp3.1 5.11μs 1.63ns 6.09ns 0.036 0 0 2.76 KB
#6138 SendAsync net472 7.89μs 6.75ns 26.1ns 0.496 0 0 3.15 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.52μs 0.766ns 2.87ns 0.0228 0 0 1.64 KB
master EnrichedLog netcoreapp3.1 2.14μs 1.03ns 3.87ns 0.0225 0 0 1.64 KB
master EnrichedLog net472 2.61μs 0.729ns 2.82ns 0.249 0 0 1.57 KB
#6138 EnrichedLog net6.0 1.53μs 0.652ns 2.44ns 0.0232 0 0 1.64 KB
#6138 EnrichedLog netcoreapp3.1 2.2μs 1.26ns 4.72ns 0.0222 0 0 1.64 KB
#6138 EnrichedLog net472 2.77μs 1.29ns 5.01ns 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 116μs 125ns 469ns 0.0584 0 0 4.28 KB
master EnrichedLog netcoreapp3.1 121μs 194ns 701ns 0.0603 0 0 4.28 KB
master EnrichedLog net472 153μs 117ns 454ns 0.685 0.228 0 4.46 KB
#6138 EnrichedLog net6.0 117μs 166ns 622ns 0.0587 0 0 4.28 KB
#6138 EnrichedLog netcoreapp3.1 123μs 123ns 445ns 0 0 0 4.28 KB
#6138 EnrichedLog net472 153μs 303ns 1.17μs 0.679 0.226 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 2.96μs 0.872ns 3.26ns 0.031 0 0 2.2 KB
master EnrichedLog netcoreapp3.1 4.1μs 1.26ns 4.88ns 0.0288 0 0 2.2 KB
master EnrichedLog net472 4.96μs 1.14ns 4.41ns 0.321 0 0 2.02 KB
#6138 EnrichedLog net6.0 2.9μs 1.29ns 4.82ns 0.0306 0 0 2.2 KB
#6138 EnrichedLog netcoreapp3.1 4.28μs 5.99ns 22.4ns 0.0298 0 0 2.2 KB
#6138 EnrichedLog net472 4.75μs 1.08ns 3.73ns 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.43μs 0.82ns 3.18ns 0.0164 0 0 1.14 KB
master SendReceive netcoreapp3.1 1.76μs 0.655ns 2.54ns 0.0154 0 0 1.14 KB
master SendReceive net472 2.11μs 0.84ns 3.25ns 0.184 0.00105 0 1.16 KB
#6138 SendReceive net6.0 1.36μs 0.542ns 2.1ns 0.0158 0 0 1.14 KB
#6138 SendReceive netcoreapp3.1 1.67μs 0.949ns 3.55ns 0.015 0 0 1.14 KB
#6138 SendReceive net472 2.1μs 2.09ns 8.08ns 0.184 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.8μs 2.58ns 9.65ns 0.0222 0 0 1.6 KB
master EnrichedLog netcoreapp3.1 3.96μs 1.04ns 3.9ns 0.0218 0 0 1.65 KB
master EnrichedLog net472 4.43μs 2.15ns 8.32ns 0.322 0 0 2.04 KB
#6138 EnrichedLog net6.0 2.8μs 1.47ns 5.68ns 0.0225 0 0 1.6 KB
#6138 EnrichedLog netcoreapp3.1 3.93μs 2.41ns 9.32ns 0.0216 0 0 1.65 KB
#6138 EnrichedLog net472 4.49μs 0.999ns 3.46ns 0.323 0 0 2.04 KB
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️

Faster 🎉 in #6138

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.SpanBenchmark.StartFinishSpan‑netcoreapp3.1 1.135 655.37 577.42

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net6.0 404ns 0.213ns 0.824ns 0.0081 0 0 576 B
master StartFinishSpan netcoreapp3.1 655ns 0.38ns 1.47ns 0.00786 0 0 576 B
master StartFinishSpan net472 701ns 0.453ns 1.7ns 0.0917 0 0 578 B
master StartFinishScope net6.0 485ns 0.239ns 0.924ns 0.00976 0 0 696 B
master StartFinishScope netcoreapp3.1 758ns 0.391ns 1.46ns 0.00957 0 0 696 B
master StartFinishScope net472 873ns 0.405ns 1.57ns 0.104 0 0 658 B
#6138 StartFinishSpan net6.0 402ns 0.306ns 1.19ns 0.0081 0 0 576 B
#6138 StartFinishSpan netcoreapp3.1 578ns 0.495ns 1.79ns 0.00773 0 0 576 B
#6138 StartFinishSpan net472 744ns 0.431ns 1.67ns 0.0917 0 0 578 B
#6138 StartFinishScope net6.0 522ns 0.325ns 1.26ns 0.00978 0 0 696 B
#6138 StartFinishScope netcoreapp3.1 794ns 0.203ns 0.787ns 0.00953 0 0 696 B
#6138 StartFinishScope net472 958ns 1.95ns 7.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 671ns 0.323ns 1.25ns 0.00977 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 974ns 1.03ns 3.84ns 0.0092 0 0 696 B
master RunOnMethodBegin net472 1.16μs 0.465ns 1.8ns 0.104 0 0 658 B
#6138 RunOnMethodBegin net6.0 644ns 0.325ns 1.22ns 0.00976 0 0 696 B
#6138 RunOnMethodBegin netcoreapp3.1 977ns 0.62ns 2.4ns 0.00937 0 0 696 B
#6138 RunOnMethodBegin net472 1.13μs 0.989ns 3.83ns 0.105 0 0 658 B

@andrewlock andrewlock force-pushed the andrew/ci/build-against-macos-13 branch from 8ff0c25 to be163d2 Compare October 11, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:builds project files, build scripts, pipelines, versioning, releases, packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant