-
Notifications
You must be signed in to change notification settings - Fork 150
Add AWS Lamda testing for .NET 9 #6779
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
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 248980 Passed, 2392 Skipped, 20h 48m 46.45s Total Time ⌛ Performance Regressions vs Default Branch (6)
|
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 (6779) - mean (79ms) : 74, 85
. : milestone, 79,
master - mean (69ms) : 65, 74
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6779) - mean (1,085ms) : crit, 1050, 1120
. : crit, milestone, 1085,
master - mean (1,002ms) : 977, 1026
. : milestone, 1002,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6779) - mean (117ms) : 110, 123
. : milestone, 117,
master - mean (102ms) : 100, 104
. : milestone, 102,
section CallTarget+Inlining+NGEN
This PR (6779) - mean (748ms) : crit, 725, 771
. : crit, milestone, 748,
master - mean (686ms) : 665, 706
. : milestone, 686,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6779) - mean (101ms) : 94, 107
. : milestone, 101,
master - mean (89ms) : 87, 91
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (6779) - mean (704ms) : crit, 685, 722
. : crit, milestone, 704,
master - mean (642ms) : 626, 659
. : milestone, 642,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6779) - mean (191ms) : 185, 196
. : milestone, 191,
master - mean (190ms) : 186, 195
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6779) - mean (1,111ms) : 1080, 1143
. : milestone, 1111,
master - mean (1,109ms) : 1078, 1139
. : milestone, 1109,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6779) - mean (270ms) : 266, 273
. : milestone, 270,
master - mean (269ms) : 265, 274
. : milestone, 269,
section CallTarget+Inlining+NGEN
This PR (6779) - mean (877ms) : 842, 913
. : milestone, 877,
master - mean (876ms) : 847, 904
. : milestone, 876,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6779) - mean (262ms) : 259, 266
. : milestone, 262,
master - mean (262ms) : 258, 265
. : milestone, 262,
section CallTarget+Inlining+NGEN
This PR (6779) - mean (862ms) : 829, 896
. : milestone, 862,
master - mean (861ms) : 824, 898
. : milestone, 861,
|
Benchmarks Report for tracer 🐌Benchmarks for #6779 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.156 | 554.09 | 479.33 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 396ns | 0.121ns | 0.471ns | 0.0081 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 592ns | 0.366ns | 1.37ns | 0.00774 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 594ns | 0.319ns | 1.23ns | 0.0916 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 554ns | 0.151ns | 0.523ns | 0.00986 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 722ns | 0.372ns | 1.39ns | 0.00937 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 896ns | 0.264ns | 1.02ns | 0.105 | 0 | 0 | 658 B |
#6779 | StartFinishSpan |
net6.0 | 434ns | 0.443ns | 1.72ns | 0.00803 | 0 | 0 | 576 B |
#6779 | StartFinishSpan |
netcoreapp3.1 | 581ns | 0.734ns | 2.84ns | 0.00785 | 0 | 0 | 576 B |
#6779 | StartFinishSpan |
net472 | 638ns | 0.132ns | 0.495ns | 0.0916 | 0 | 0 | 578 B |
#6779 | StartFinishScope |
net6.0 | 479ns | 0.134ns | 0.519ns | 0.0098 | 0 | 0 | 696 B |
#6779 | StartFinishScope |
netcoreapp3.1 | 764ns | 0.465ns | 1.8ns | 0.00939 | 0 | 0 | 696 B |
#6779 | StartFinishScope |
net472 | 843ns | 0.14ns | 0.505ns | 0.104 | 0 | 0 | 658 B |
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower ⚠️ Same allocations ✔️
Slower ⚠️ in #6779
Benchmark
diff/base
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0
1.135
594.80
674.96
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.135 | 594.80 | 674.96 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 595ns | 0.146ns | 0.526ns | 0.00989 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 938ns | 0.635ns | 2.46ns | 0.00918 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.07μs | 0.232ns | 0.898ns | 0.104 | 0 | 0 | 658 B |
#6779 | RunOnMethodBegin |
net6.0 | 675ns | 0.158ns | 0.592ns | 0.00988 | 0 | 0 | 696 B |
#6779 | RunOnMethodBegin |
netcoreapp3.1 | 886ns | 0.447ns | 1.73ns | 0.00936 | 0 | 0 | 696 B |
#6779 | RunOnMethodBegin |
net472 | 1.11μs | 0.17ns | 0.66ns | 0.104 | 0 | 0 | 658 B |
## Summary of changes Add testing for .NET 9 ## Reason for change We don't currently test on .NET 9... we should 😄 ## Implementation details Added an extra dimension ## Test coverage A bit more now ## Other details I have a sneaking suspicion we _don't_ currently test on ARM64, and we obviously should...
## Summary of changes Add testing for .NET 9 ## Reason for change We don't currently test on .NET 9... we should 😄 ## Implementation details Added an extra dimension ## Test coverage A bit more now ## Other details I have a sneaking suspicion we _don't_ currently test on ARM64, and we obviously should...
Summary of changes
Add testing for .NET 9
Reason for change
We don't currently test on .NET 9... we should 😄
Implementation details
Added an extra dimension
Test coverage
A bit more now
Other details
I have a sneaking suspicion we don't currently test on ARM64, and we obviously should...