-
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
Make sure we upload hotfix artifacts to Azure #6667
Conversation
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 (6667) - mean (69ms) : 65, 73
. : milestone, 69,
master - mean (69ms) : 66, 72
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6667) - mean (994ms) : 974, 1014
. : milestone, 994,
master - mean (992ms) : 960, 1024
. : milestone, 992,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6667) - mean (102ms) : 100, 104
. : milestone, 102,
master - mean (102ms) : 100, 104
. : milestone, 102,
section CallTarget+Inlining+NGEN
This PR (6667) - mean (673ms) : 654, 693
. : milestone, 673,
master - mean (674ms) : 659, 690
. : milestone, 674,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6667) - mean (89ms) : 87, 91
. : milestone, 89,
master - mean (89ms) : 87, 91
. : milestone, 89,
section CallTarget+Inlining+NGEN
This PR (6667) - mean (631ms) : 609, 653
. : milestone, 631,
master - mean (630ms) : 615, 645
. : milestone, 630,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6667) - mean (191ms) : 186, 195
. : milestone, 191,
master - mean (191ms) : 188, 195
. : milestone, 191,
section CallTarget+Inlining+NGEN
This PR (6667) - mean (1,105ms) : 1075, 1136
. : milestone, 1105,
master - mean (1,105ms) : 1077, 1133
. : milestone, 1105,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6667) - mean (271ms) : 267, 275
. : milestone, 271,
master - mean (272ms) : 266, 278
. : milestone, 272,
section CallTarget+Inlining+NGEN
This PR (6667) - mean (866ms) : 837, 895
. : milestone, 866,
master - mean (868ms) : 834, 903
. : milestone, 868,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6667) - mean (262ms) : 258, 266
. : milestone, 262,
master - mean (262ms) : 258, 266
. : milestone, 262,
section CallTarget+Inlining+NGEN
This PR (6667) - mean (850ms) : 812, 887
. : milestone, 850,
master - mean (849ms) : 811, 886
. : milestone, 849,
|
Benchmarks Report for tracer 🐌Benchmarks for #6667 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.StartFinishSpan‑net472 | 1.153 | 665.48 | 577.13 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 403ns | 0.44ns | 1.71ns | 0.00802 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 600ns | 0.81ns | 3.14ns | 0.00776 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 665ns | 1.36ns | 5.26ns | 0.0917 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 531ns | 0.752ns | 2.91ns | 0.0098 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 771ns | 1.3ns | 5.05ns | 0.00955 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 857ns | 2.43ns | 9.41ns | 0.104 | 0 | 0 | 658 B |
#6667 | StartFinishSpan |
net6.0 | 447ns | 0.437ns | 1.69ns | 0.00801 | 0 | 0 | 576 B |
#6667 | StartFinishSpan |
netcoreapp3.1 | 630ns | 0.818ns | 3.17ns | 0.0076 | 0 | 0 | 576 B |
#6667 | StartFinishSpan |
net472 | 577ns | 0.831ns | 3.22ns | 0.0916 | 0 | 0 | 578 B |
#6667 | StartFinishScope |
net6.0 | 476ns | 0.497ns | 1.86ns | 0.0097 | 0 | 0 | 696 B |
#6667 | StartFinishScope |
netcoreapp3.1 | 719ns | 0.93ns | 3.48ns | 0.00929 | 0 | 0 | 696 B |
#6667 | StartFinishScope |
net472 | 861ns | 4.59ns | 23.9ns | 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 | 686ns | 0.566ns | 2.19ns | 0.00983 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 1.06μs | 1.21ns | 4.67ns | 0.00952 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.15μs | 0.573ns | 2.14ns | 0.104 | 0 | 0 | 658 B |
#6667 | RunOnMethodBegin |
net6.0 | 634ns | 0.955ns | 3.7ns | 0.00993 | 0 | 0 | 696 B |
#6667 | RunOnMethodBegin |
netcoreapp3.1 | 966ns | 1.74ns | 6.74ns | 0.00931 | 0 | 0 | 696 B |
#6667 | RunOnMethodBegin |
net472 | 1.05μs | 1.96ns | 7.58ns | 0.104 | 0 | 0 | 658 B |
@@ -4573,7 +4573,7 @@ stages: | |||
ne(variables['push_artifacts_to_azure_storage'], 'false'), | |||
or( | |||
eq(variables['push_artifacts_to_azure_storage'], 'true'), | |||
eq(variables.isMainBranch, true) | |||
eq(variables.isMainOrReleaseBranch, true) |
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.
isMainOrReleaseBranch
includes hotfix/*
?
isMainOrReleaseOrHotfixBranch
😅
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.
Haha, yeah, or even just isReleasableBranch
or something 😅
Summary of changes
Make sure we upload the hotfix artifacts to azure
Reason for change
The Serverless release process relies on the artifacts from the build being uploaded to Azure. Currently, we only upload the artifacts on
master
builds. This ensures we upload it on all release branches i.e.hotfix/*
(orrelease/*
) branchesImplementation details
isMainBranch
->isMainOrReleaseBranch
Test coverage
YOLO
Other details
Discovered during the release of 3.10.1