-
Notifications
You must be signed in to change notification settings - Fork 147
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
Run Azure Functions integration tests on .NET 8 and .NET 9 #6517
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.
Thanks!
Datadog ReportBranch report: ✅ 0 Failed, 243036 Passed, 2139 Skipped, 18h 42m 53.51s Total Time New Flaky Tests (1)
|
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 (6517) - mean (69ms) : 65, 72
. : milestone, 69,
master - mean (69ms) : 66, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6517) - mean (980ms) : 948, 1011
. : milestone, 980,
master - mean (978ms) : 957, 998
. : milestone, 978,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6517) - mean (108ms) : 105, 111
. : milestone, 108,
master - mean (108ms) : 106, 110
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6517) - mean (680ms) : 661, 700
. : milestone, 680,
master - mean (678ms) : 666, 690
. : milestone, 678,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6517) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6517) - mean (635ms) : 620, 650
. : milestone, 635,
master - mean (635ms) : 619, 651
. : milestone, 635,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6517) - mean (194ms) : 188, 201
. : milestone, 194,
master - mean (194ms) : 189, 198
. : milestone, 194,
section CallTarget+Inlining+NGEN
This PR (6517) - mean (1,102ms) : 1075, 1128
. : milestone, 1102,
master - mean (1,107ms) : 1071, 1143
. : milestone, 1107,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6517) - mean (279ms) : 273, 285
. : milestone, 279,
master - mean (280ms) : 276, 284
. : milestone, 280,
section CallTarget+Inlining+NGEN
This PR (6517) - mean (872ms) : 843, 901
. : milestone, 872,
master - mean (871ms) : 842, 900
. : milestone, 871,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6517) - mean (267ms) : 262, 273
. : milestone, 267,
master - mean (267ms) : 263, 270
. : milestone, 267,
section CallTarget+Inlining+NGEN
This PR (6517) - mean (858ms) : 826, 890
. : milestone, 858,
master - mean (852ms) : 819, 886
. : milestone, 852,
|
Benchmarks Report for tracer 🐌Benchmarks for #6517 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 - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.174 | 562.66 | 479.36 | |
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net472 | 1.128 | 883.78 | 783.64 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 402ns | 0.511ns | 1.98ns | 0.0081 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 539ns | 0.687ns | 2.66ns | 0.00777 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 650ns | 1.43ns | 5.56ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 563ns | 0.836ns | 3.24ns | 0.00971 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 713ns | 1.11ns | 4.31ns | 0.00965 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 885ns | 1.17ns | 4.53ns | 0.104 | 0 | 0 | 658 B |
#6517 | StartFinishSpan |
net6.0 | 392ns | 0.46ns | 1.78ns | 0.00819 | 0 | 0 | 576 B |
#6517 | StartFinishSpan |
netcoreapp3.1 | 553ns | 0.988ns | 3.83ns | 0.00775 | 0 | 0 | 576 B |
#6517 | StartFinishSpan |
net472 | 671ns | 1.01ns | 3.91ns | 0.0918 | 0 | 0 | 578 B |
#6517 | StartFinishScope |
net6.0 | 479ns | 0.528ns | 2.04ns | 0.00982 | 0 | 0 | 696 B |
#6517 | StartFinishScope |
netcoreapp3.1 | 723ns | 1.33ns | 5.15ns | 0.00943 | 0 | 0 | 696 B |
#6517 | StartFinishScope |
net472 | 784ns | 1.34ns | 5.19ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6517
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.125
600.43
675.64
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.125 | 600.43 | 675.64 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 600ns | 1.14ns | 4.4ns | 0.00973 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 896ns | 1.28ns | 4.96ns | 0.00933 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.09μs | 1.93ns | 7.46ns | 0.104 | 0 | 0 | 658 B |
#6517 | RunOnMethodBegin |
net6.0 | 676ns | 0.978ns | 3.79ns | 0.00994 | 0 | 0 | 696 B |
#6517 | RunOnMethodBegin |
netcoreapp3.1 | 928ns | 1.6ns | 6.2ns | 0.00935 | 0 | 0 | 696 B |
#6517 | RunOnMethodBegin |
net472 | 1.14μs | 1.61ns | 6.23ns | 0.105 | 0 | 0 | 658 B |
aa1ca3c
to
9c97bc5
Compare
Summary of changes
Run the azure function integration tests on .NET 8 and .NET 9
Reason for change
We currently only run them on .NET 6 and .NET 7, we should run them on all supported frameworks
Implementation details
setThis seemed to cause other issues 🙄 And isn't necessary AFAICT, so reverted itDOTNET_ROOT
to the latest location of our installed SDKs (not technically necessary for this, but probably still a good idea to head off other issues)Test coverage
More now!
Other details
I'm not proud of what I've done