-
Notifications
You must be signed in to change notification settings - Fork 145
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
[APM] Made native definition lists temporary #6417
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 466798 Passed, 3700 Skipped, 33h 41m 20.48s Total 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 (6417) - mean (69ms) : 65, 72
. : milestone, 69,
master - mean (68ms) : 64, 73
. : milestone, 68,
section CallTarget+Inlining+NGEN
This PR (6417) - mean (983ms) : 955, 1011
. : milestone, 983,
master - mean (974ms) : 948, 999
. : milestone, 974,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6417) - mean (107ms) : 105, 110
. : milestone, 107,
master - mean (106ms) : 104, 108
. : milestone, 106,
section CallTarget+Inlining+NGEN
This PR (6417) - mean (676ms) : 657, 696
. : milestone, 676,
master - mean (674ms) : 660, 689
. : milestone, 674,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6417) - mean (91ms) : 89, 93
. : milestone, 91,
master - mean (90ms) : 88, 92
. : milestone, 90,
section CallTarget+Inlining+NGEN
This PR (6417) - mean (630ms) : 617, 644
. : milestone, 630,
master - mean (629ms) : 614, 644
. : milestone, 629,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6417) - mean (194ms) : 190, 198
. : milestone, 194,
master - mean (194ms) : 190, 198
. : milestone, 194,
section CallTarget+Inlining+NGEN
This PR (6417) - mean (1,097ms) : 1072, 1122
. : milestone, 1097,
master - mean (1,098ms) : 1074, 1123
. : milestone, 1098,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6417) - mean (278ms) : 274, 283
. : milestone, 278,
master - mean (277ms) : 273, 281
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6417) - mean (868ms) : 844, 892
. : milestone, 868,
master - mean (869ms) : 838, 901
. : milestone, 869,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6417) - mean (267ms) : 263, 271
. : milestone, 267,
master - mean (266ms) : 262, 271
. : milestone, 266,
section CallTarget+Inlining+NGEN
This PR (6417) - mean (856ms) : 819, 892
. : milestone, 856,
master - mean (850ms) : 811, 890
. : milestone, 850,
|
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 (6417) (11.255M) : 0, 11254728
master (11.195M) : 0, 11194535
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6417) (7.264M) : 0, 7263509
master (7.216M) : 0, 7216361
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.611M) : 0, 7610504
section Manual
master (11.163M) : 0, 11162548
section Manual + Automatic
This PR (6417) (6.636M) : 0, 6635630
master (6.753M) : 0, 6752572
section DD_TRACE_ENABLED=0
master (10.216M) : 0, 10215642
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6417) (9.598M) : 0, 9598145
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6417) (6.313M) : 0, 6313449
section Manual + Automatic
This PR (6417) (5.834M) : 0, 5833698
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6417) (9.110M) : 0, 9109599
master (9.988M) : 0, 9987589
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6417) (6.095M) : 0, 6095198
master (6.338M) : 0, 6338249
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (7.137M) : 0, 7136842
section Manual
master (9.965M) : 0, 9965094
section Manual + Automatic
This PR (6417) (5.568M) : 0, 5567736
master (5.791M) : 0, 5790893
section DD_TRACE_ENABLED=0
master (9.274M) : 0, 9274318
|
Benchmarks Report for tracer 🐌Benchmarks for #6417 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 - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.RedisBenchmark.SendReceive‑net6.0 | 1.155 | 1,318.88 | 1,522.81 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.32μs | 1.55ns | 5.98ns | 0.0158 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.83μs | 1.73ns | 6.7ns | 0.0153 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.11μs | 1.3ns | 5.03ns | 0.184 | 0 | 0 | 1.16 KB |
#6417 | SendReceive |
net6.0 | 1.52μs | 1.24ns | 4.8ns | 0.016 | 0 | 0 | 1.14 KB |
#6417 | SendReceive |
netcoreapp3.1 | 1.75μs | 4.75ns | 18.4ns | 0.0156 | 0 | 0 | 1.14 KB |
#6417 | SendReceive |
net472 | 2.12μs | 1.67ns | 6.27ns | 0.183 | 0 | 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.74μs | 2.57ns | 9.95ns | 0.022 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 3.81μs | 1.28ns | 4.78ns | 0.021 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.44μs | 0.633ns | 2.19ns | 0.324 | 0 | 0 | 2.04 KB |
#6417 | EnrichedLog |
net6.0 | 2.66μs | 1.02ns | 3.96ns | 0.0226 | 0 | 0 | 1.6 KB |
#6417 | EnrichedLog |
netcoreapp3.1 | 3.79μs | 2.59ns | 9.35ns | 0.0211 | 0 | 0 | 1.65 KB |
#6417 | EnrichedLog |
net472 | 4.38μs | 1.88ns | 7.3ns | 0.323 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Faster 🎉 Same allocations ✔️
Faster 🎉 in #6417
Benchmark
base/diff
Base Median (ns)
Diff Median (ns)
Modality
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0
1.147
559.56
487.75
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.SpanBenchmark.StartFinishScope‑net6.0 | 1.147 | 559.56 | 487.75 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 398ns | 0.261ns | 0.977ns | 0.00814 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 589ns | 0.702ns | 2.72ns | 0.00767 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 649ns | 0.436ns | 1.69ns | 0.0918 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 560ns | 0.241ns | 0.901ns | 0.00982 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 723ns | 0.791ns | 3.06ns | 0.0094 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 875ns | 0.528ns | 2.04ns | 0.104 | 0 | 0 | 658 B |
#6417 | StartFinishSpan |
net6.0 | 392ns | 0.347ns | 1.34ns | 0.00815 | 0 | 0 | 576 B |
#6417 | StartFinishSpan |
netcoreapp3.1 | 624ns | 0.889ns | 3.44ns | 0.00777 | 0 | 0 | 576 B |
#6417 | StartFinishSpan |
net472 | 680ns | 0.873ns | 3.38ns | 0.0915 | 0 | 0 | 578 B |
#6417 | StartFinishScope |
net6.0 | 488ns | 0.464ns | 1.74ns | 0.0098 | 0 | 0 | 696 B |
#6417 | StartFinishScope |
netcoreapp3.1 | 705ns | 0.756ns | 2.93ns | 0.00924 | 0 | 0 | 696 B |
#6417 | StartFinishScope |
net472 | 815ns | 0.941ns | 3.64ns | 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 | 609ns | 0.524ns | 2.03ns | 0.00977 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 927ns | 0.491ns | 1.9ns | 0.00934 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.12μs | 1.19ns | 4.47ns | 0.104 | 0 | 0 | 658 B |
#6417 | RunOnMethodBegin |
net6.0 | 608ns | 0.181ns | 0.678ns | 0.00973 | 0 | 0 | 696 B |
#6417 | RunOnMethodBegin |
netcoreapp3.1 | 960ns | 0.454ns | 1.76ns | 0.00908 | 0 | 0 | 696 B |
#6417 | RunOnMethodBegin |
net472 | 1.16μs | 0.632ns | 2.28ns | 0.104 | 0 | 0 | 658 B |
Benchmarks Report for appsec 🐌Benchmarks for #6417 compared to master:
The following thresholds were used for comparing the benchmark speeds:
Allocation changes below 0.5% are ignored. Benchmark detailsBenchmarks.Trace.Asm.AppSecBodyBenchmark - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody‑netcoreapp3.1 | 1.163 | 229.02 | 197.00 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | AllCycleSimpleBody |
net6.0 | 187μs | 117ns | 437ns | 2.62 | 0 | 0 | 188.52 KB |
master | AllCycleSimpleBody |
netcoreapp3.1 | 281μs | 159ns | 597ns | 2.66 | 0 | 0 | 195.8 KB |
master | AllCycleSimpleBody |
net472 | 250μs | 153ns | 574ns | 35.8 | 2 | 0 | 225.32 KB |
master | AllCycleMoreComplexBody |
net6.0 | 189μs | 80.4ns | 290ns | 2.74 | 0 | 0 | 192.02 KB |
master | AllCycleMoreComplexBody |
netcoreapp3.1 | 298μs | 639ns | 2.48μs | 2.63 | 0 | 0 | 199.22 KB |
master | AllCycleMoreComplexBody |
net472 | 254μs | 425ns | 1.64μs | 36.4 | 2.02 | 0 | 228.83 KB |
master | ObjectExtractorSimpleBody |
net6.0 | 138ns | 0.184ns | 0.69ns | 0.00394 | 0 | 0 | 280 B |
master | ObjectExtractorSimpleBody |
netcoreapp3.1 | 229ns | 0.339ns | 1.31ns | 0.00366 | 0 | 0 | 272 B |
master | ObjectExtractorSimpleBody |
net472 | 163ns | 0.264ns | 1.02ns | 0.0446 | 0 | 0 | 281 B |
master | ObjectExtractorMoreComplexBody |
net6.0 | 2.89μs | 1.4ns | 5.22ns | 0.0522 | 0 | 0 | 3.78 KB |
master | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 3.73μs | 3.7ns | 13.8ns | 0.0508 | 0 | 0 | 3.69 KB |
master | ObjectExtractorMoreComplexBody |
net472 | 3.6μs | 2.19ns | 8.18ns | 0.603 | 0.00543 | 0 | 3.8 KB |
#6417 | AllCycleSimpleBody |
net6.0 | 202μs | 47.3ns | 164ns | 2.61 | 0 | 0 | 188.38 KB |
#6417 | AllCycleSimpleBody |
netcoreapp3.1 | 312μs | 154ns | 578ns | 2.64 | 0 | 0 | 195.66 KB |
#6417 | AllCycleSimpleBody |
net472 | 270μs | 336ns | 1.3μs | 35.7 | 2 | 0 | 225.16 KB |
#6417 | AllCycleMoreComplexBody |
net6.0 | 209μs | 114ns | 427ns | 2.71 | 0 | 0 | 191.88 KB |
#6417 | AllCycleMoreComplexBody |
netcoreapp3.1 | 319μs | 119ns | 443ns | 2.71 | 0 | 0 | 199.07 KB |
#6417 | AllCycleMoreComplexBody |
net472 | 274μs | 222ns | 860ns | 36.3 | 2.06 | 0 | 228.67 KB |
#6417 | ObjectExtractorSimpleBody |
net6.0 | 145ns | 0.164ns | 0.613ns | 0.00394 | 0 | 0 | 280 B |
#6417 | ObjectExtractorSimpleBody |
netcoreapp3.1 | 199ns | 0.917ns | 3.55ns | 0.00375 | 0 | 0 | 272 B |
#6417 | ObjectExtractorSimpleBody |
net472 | 162ns | 0.208ns | 0.805ns | 0.0446 | 0 | 0 | 281 B |
#6417 | ObjectExtractorMoreComplexBody |
net6.0 | 2.91μs | 1.56ns | 6.04ns | 0.0536 | 0 | 0 | 3.78 KB |
#6417 | ObjectExtractorMoreComplexBody |
netcoreapp3.1 | 3.75μs | 2.92ns | 11.3ns | 0.0506 | 0 | 0 | 3.69 KB |
#6417 | ObjectExtractorMoreComplexBody |
net472 | 3.61μs | 5.27ns | 20.4ns | 0.602 | 0.00539 | 0 | 3.8 KB |
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EncodeArgs |
net6.0 | 37.2μs | 26.4ns | 98.6ns | 0.445 | 0 | 0 | 32.4 KB |
master | EncodeArgs |
netcoreapp3.1 | 54.7μs | 56.4ns | 219ns | 0.432 | 0 | 0 | 32.4 KB |
master | EncodeArgs |
net472 | 67.7μs | 43.1ns | 161ns | 5.16 | 0.067 | 0 | 32.5 KB |
master | EncodeLegacyArgs |
net6.0 | 74.2μs | 107ns | 416ns | 0 | 0 | 0 | 2.14 KB |
master | EncodeLegacyArgs |
netcoreapp3.1 | 104μs | 163ns | 630ns | 0 | 0 | 0 | 2.14 KB |
master | EncodeLegacyArgs |
net472 | 154μs | 128ns | 497ns | 0.306 | 0 | 0 | 2.15 KB |
#6417 | EncodeArgs |
net6.0 | 40.2μs | 24.9ns | 96.4ns | 0.456 | 0 | 0 | 32.4 KB |
#6417 | EncodeArgs |
netcoreapp3.1 | 53.9μs | 19.7ns | 76.3ns | 0.431 | 0 | 0 | 32.4 KB |
#6417 | EncodeArgs |
net472 | 68.4μs | 52ns | 195ns | 5.16 | 0.0679 | 0 | 32.5 KB |
#6417 | EncodeLegacyArgs |
net6.0 | 73μs | 52.3ns | 196ns | 0 | 0 | 0 | 2.14 KB |
#6417 | EncodeLegacyArgs |
netcoreapp3.1 | 106μs | 146ns | 567ns | 0 | 0 | 0 | 2.14 KB |
#6417 | EncodeLegacyArgs |
net472 | 153μs | 117ns | 455ns | 0.306 | 0 | 0 | 2.15 KB |
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunWafRealisticBenchmark |
net6.0 | 181μs | 84ns | 291ns | 0 | 0 | 0 | 2.44 KB |
master | RunWafRealisticBenchmark |
netcoreapp3.1 | 192μs | 249ns | 964ns | 0 | 0 | 0 | 2.39 KB |
master | RunWafRealisticBenchmark |
net472 | 209μs | 180ns | 696ns | 0.309 | 0 | 0 | 2.46 KB |
master | RunWafRealisticBenchmarkWithAttack |
net6.0 | 122μs | 119ns | 461ns | 0 | 0 | 0 | 1.47 KB |
master | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 129μs | 162ns | 583ns | 0 | 0 | 0 | 1.46 KB |
master | RunWafRealisticBenchmarkWithAttack |
net472 | 139μs | 56.6ns | 219ns | 0.209 | 0 | 0 | 1.49 KB |
#6417 | RunWafRealisticBenchmark |
net6.0 | 182μs | 134ns | 517ns | 0 | 0 | 0 | 2.44 KB |
#6417 | RunWafRealisticBenchmark |
netcoreapp3.1 | 196μs | 312ns | 1.21μs | 0 | 0 | 0 | 2.39 KB |
#6417 | RunWafRealisticBenchmark |
net472 | 206μs | 47.2ns | 176ns | 0.309 | 0 | 0 | 2.46 KB |
#6417 | RunWafRealisticBenchmarkWithAttack |
net6.0 | 122μs | 46.1ns | 179ns | 0 | 0 | 0 | 1.47 KB |
#6417 | RunWafRealisticBenchmarkWithAttack |
netcoreapp3.1 | 130μs | 146ns | 565ns | 0 | 0 | 0 | 1.46 KB |
#6417 | RunWafRealisticBenchmarkWithAttack |
net472 | 139μs | 45.8ns | 171ns | 0.208 | 0 | 0 | 1.49 KB |
Benchmarks.Trace.Iast.StringAspectsBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #6417
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472
61.66 KB
62.06 KB
400 B
0.65%
Fewer allocations 🎉 in #6417
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0
257.94 KB
254.62 KB
-3.32 KB
-1.29%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 | 61.66 KB | 62.06 KB | 400 B | 0.65% |
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 | 257.94 KB | 254.62 KB | -3.32 KB | -1.29% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StringConcatBenchmark |
net6.0 | 52.3μs | 249ns | 932ns | 0 | 0 | 0 | 43.44 KB |
master | StringConcatBenchmark |
netcoreapp3.1 | 53.4μs | 176ns | 660ns | 0 | 0 | 0 | 42.64 KB |
master | StringConcatBenchmark |
net472 | 36.4μs | 80.4ns | 290ns | 0 | 0 | 0 | 61.66 KB |
master | StringConcatAspectBenchmark |
net6.0 | 310μs | 1.09μs | 3.92μs | 0 | 0 | 0 | 257.94 KB |
master | StringConcatAspectBenchmark |
netcoreapp3.1 | 333μs | 1.74μs | 9.37μs | 0 | 0 | 0 | 253.05 KB |
master | StringConcatAspectBenchmark |
net472 | 284μs | 6.2μs | 59.5μs | 0 | 0 | 0 | 278.53 KB |
#6417 | StringConcatBenchmark |
net6.0 | 59.2μs | 693ns | 6.9μs | 0 | 0 | 0 | 43.44 KB |
#6417 | StringConcatBenchmark |
netcoreapp3.1 | 54.6μs | 262ns | 1.05μs | 0 | 0 | 0 | 42.64 KB |
#6417 | StringConcatBenchmark |
net472 | 37μs | 79ns | 296ns | 0 | 0 | 0 | 62.06 KB |
#6417 | StringConcatAspectBenchmark |
net6.0 | 335μs | 5.98μs | 57.6μs | 0 | 0 | 0 | 254.62 KB |
#6417 | StringConcatAspectBenchmark |
netcoreapp3.1 | 334μs | 1.68μs | 8.04μs | 0 | 0 | 0 | 253.05 KB |
#6417 | StringConcatAspectBenchmark |
net472 | 293μs | 7.45μs | 72.3μs | 0 | 0 | 0 | 278.53 KB |
a4a1e54
to
c7d4b46
Compare
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.
TY!
7b913f7
to
120d29d
Compare
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.
LGTM!
## Summary of changes Move native definitions from a permanent list to a temporary one that gets created and freed on demand ## Reason for change Some crashes were reported in shutdown and it points to definition lists cleanup ## Implementation details Instead of storing the lists as static fields, they get created in the call to GetCallSites and GetCallTargets and destroyed right after they've been read by the profiler ## Test coverage ## Other details <!-- Fixes #{issue} --> <!--⚠️ Note: where possible, please obtain 2 approvals prior to merging. Unless CODEOWNERS specifies otherwise, for external teams it is typically best to have one review from a team member, and one review from apm-dotnet. Trivial changes do not require 2 reviews. -->
Summary of changes
Move native definitions from a permanent list to a temporary one that gets created and freed on demand
Reason for change
Some crashes were reported in shutdown and it points to definition lists cleanup
Implementation details
Instead of storing the lists as static fields, they get created in the call to GetCallSites and GetCallTargets and destroyed right after they've been read by the profiler
Test coverage
Other details