-
Notifications
You must be signed in to change notification settings - Fork 140
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
[Dynamic Instrumentation] Fix type of local in async method #5414
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 328100 Passed, 2047 Skipped, 41m 5.55s Wall 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 (5414) - mean (73ms) : 66, 81
. : milestone, 73,
master - mean (74ms) : 61, 87
. : milestone, 74,
section CallTarget+Inlining+NGEN
This PR (5414) - mean (1,000ms) : 976, 1023
. : milestone, 1000,
master - mean (995ms) : 979, 1010
. : milestone, 995,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5414) - mean (110ms) : 105, 115
. : milestone, 110,
master - mean (109ms) : 105, 113
. : milestone, 109,
section CallTarget+Inlining+NGEN
This PR (5414) - mean (713ms) : 688, 737
. : milestone, 713,
master - mean (715ms) : 689, 741
. : milestone, 715,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5414) - mean (94ms) : 90, 98
. : milestone, 94,
master - mean (93ms) : 90, 96
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5414) - mean (665ms) : 641, 688
. : milestone, 665,
master - mean (665ms) : 642, 689
. : milestone, 665,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5414) - mean (185ms) : 179, 191
. : milestone, 185,
master - mean (187ms) : 185, 190
. : milestone, 187,
section CallTarget+Inlining+NGEN
This PR (5414) - mean (1,068ms) : 1041, 1096
. : milestone, 1068,
master - mean (1,077ms) : 1049, 1105
. : milestone, 1077,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5414) - mean (270ms) : 264, 275
. : milestone, 270,
master - mean (271ms) : 268, 275
. : milestone, 271,
section CallTarget+Inlining+NGEN
This PR (5414) - mean (867ms) : 842, 891
. : milestone, 867,
master - mean (877ms) : 852, 902
. : milestone, 877,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5414) - mean (260ms) : 255, 266
. : milestone, 260,
master - mean (259ms) : 254, 264
. : milestone, 259,
section CallTarget+Inlining+NGEN
This PR (5414) - mean (858ms) : 833, 883
. : milestone, 858,
master - mean (851ms) : 830, 872
. : milestone, 851,
|
Benchmarks Report for tracer 🐌Benchmarks for #5414 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 - Same speed ✔️ Same allocations ✔️Raw results
Benchmarks.Trace.TraceAnnotationsBenchmark - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.140 | 640.77 | 730.16 |
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net472 | 1.148 | 1,167.53 | 1,017.30 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 640ns | 1.19ns | 4.6ns | 0.00941 | 0 | 0 | 672 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 946ns | 1.64ns | 6.35ns | 0.00861 | 0 | 0 | 672 B |
master | RunOnMethodBegin |
net472 | 1.17μs | 3.27ns | 12.7ns | 0.101 | 0 | 0 | 634 B |
#5414 | RunOnMethodBegin |
net6.0 | 730ns | 1.08ns | 4.19ns | 0.0094 | 0 | 0 | 672 B |
#5414 | RunOnMethodBegin |
netcoreapp3.1 | 976ns | 1.97ns | 7.62ns | 0.00877 | 0 | 0 | 672 B |
#5414 | RunOnMethodBegin |
net472 | 1.02μs | 1.86ns | 7.21ns | 0.101 | 0 | 0 | 634 B |
Throughput/Crank Report:zap: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 (5414) (11.288M) : 0, 11287724
master (11.335M) : 0, 11335496
benchmarks/2.9.0 (11.259M) : 0, 11258931
section Automatic
This PR (5414) (7.739M) : 0, 7738591
master (7.719M) : 0, 7718661
benchmarks/2.9.0 (8.404M) : 0, 8403894
section Trace stats
This PR (5414) (8.066M) : 0, 8066032
master (8.251M) : 0, 8251395
section Manual
This PR (5414) (9.739M) : 0, 9739057
master (9.790M) : 0, 9789936
section Manual + Automatic
This PR (5414) (7.370M) : 0, 7370284
master (7.328M) : 0, 7327602
section Version Conflict
This PR (5414) (6.629M) : 0, 6628702
master (6.586M) : 0, 6586053
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5414) (9.579M) : 0, 9578897
master (9.677M) : 0, 9676732
benchmarks/2.9.0 (9.538M) : 0, 9538176
section Automatic
This PR (5414) (6.560M) : 0, 6560317
master (6.700M) : 0, 6700130
section Trace stats
This PR (5414) (6.854M) : 0, 6853847
master (6.891M) : 0, 6891070
section Manual
This PR (5414) (8.169M) : 0, 8169404
master (8.307M) : 0, 8307285
section Manual + Automatic
This PR (5414) (6.145M) : 0, 6144558
master (6.287M) : 0, 6287286
section Version Conflict
This PR (5414) (5.670M) : 0, 5669824
master (5.677M) : 0, 5677039
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5414) (10.052M) : 0, 10052005
section Automatic
This PR (5414) (7.147M) : 0, 7147394
section Trace stats
This PR (5414) (7.493M) : 0, 7493098
section Manual
This PR (5414) (8.869M) : 0, 8869470
section Manual + Automatic
This PR (5414) (7.017M) : 0, 7016555
section Version Conflict
This PR (5414) (6.221M) : 0, 6221261
|
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.
Nice
Summary of changes
Fix incorrect type handling of locals in async methods
Test coverage
BaseLocalWithConcreteTypeInAsyncMethod