-
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
[Profiler] Force waiting for the LibrariesInfoCache
service to be fully started
#6338
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 454938 Passed, 3225 Skipped, 21h 2m 27.58s 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 (6338) - mean (69ms) : 66, 72
. : milestone, 69,
master - mean (69ms) : 66, 71
. : milestone, 69,
section CallTarget+Inlining+NGEN
This PR (6338) - mean (981ms) : 958, 1004
. : milestone, 981,
master - mean (977ms) : 957, 998
. : milestone, 977,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6338) - mean (108ms) : 106, 110
. : milestone, 108,
master - mean (108ms) : 106, 110
. : milestone, 108,
section CallTarget+Inlining+NGEN
This PR (6338) - mean (677ms) : 661, 694
. : milestone, 677,
master - mean (679ms) : 665, 692
. : milestone, 679,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6338) - mean (91ms) : 90, 93
. : milestone, 91,
master - mean (91ms) : 89, 93
. : milestone, 91,
section CallTarget+Inlining+NGEN
This PR (6338) - mean (634ms) : 621, 647
. : milestone, 634,
master - mean (633ms) : 617, 648
. : milestone, 633,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6338) - mean (191ms) : 187, 194
. : milestone, 191,
master - mean (190ms) : 186, 194
. : milestone, 190,
section CallTarget+Inlining+NGEN
This PR (6338) - mean (1,096ms) : 1067, 1126
. : milestone, 1096,
master - mean (1,092ms) : 1055, 1128
. : milestone, 1092,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6338) - mean (278ms) : 271, 285
. : milestone, 278,
master - mean (277ms) : 273, 281
. : milestone, 277,
section CallTarget+Inlining+NGEN
This PR (6338) - mean (873ms) : 842, 903
. : milestone, 873,
master - mean (869ms) : 842, 895
. : milestone, 869,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (6338) - mean (266ms) : 262, 270
. : milestone, 266,
master - mean (265ms) : 261, 269
. : milestone, 265,
section CallTarget+Inlining+NGEN
This PR (6338) - mean (856ms) : 826, 886
. : milestone, 856,
master - mean (852ms) : 818, 886
. : milestone, 852,
|
5e4cd40
to
947f563
Compare
Benchmarks Report for tracer 🐌Benchmarks for #6338 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 - Slower
|
Benchmark | diff/base | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 1.114 | 478,710.46 | 533,141.87 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 479μs | 389ns | 1.45μs | 0 | 0 | 0 | 2.7 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 652μs | 217ns | 839ns | 0 | 0 | 0 | 2.7 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 833μs | 502ns | 1.94μs | 0.419 | 0 | 0 | 3.3 KB |
#6338 | WriteAndFlushEnrichedTraces |
net6.0 | 528μs | 2.97μs | 17.1μs | 0 | 0 | 0 | 2.7 KB |
#6338 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 655μs | 232ns | 838ns | 0 | 0 | 0 | 2.7 KB |
#6338 | WriteAndFlushEnrichedTraces |
net472 | 847μs | 587ns | 2.2μs | 0.425 | 0 | 0 | 3.3 KB |
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendRequest |
net6.0 | 151μs | 864ns | 6.69μs | 0.149 | 0 | 0 | 14.47 KB |
master | SendRequest |
netcoreapp3.1 | 162μs | 903ns | 8.03μs | 0.173 | 0 | 0 | 17.27 KB |
master | SendRequest |
net472 | 0ns | 0ns | 0ns | 0 | 0 | 0 | 0 b |
#6338 | SendRequest |
net6.0 | 150μs | 847ns | 6.39μs | 0.147 | 0 | 0 | 14.47 KB |
#6338 | SendRequest |
netcoreapp3.1 | 174μs | 1.22μs | 11.9μs | 0.154 | 0 | 0 | 17.27 KB |
#6338 | SendRequest |
net472 | 0.003ns | 0.00109ns | 0.00378ns | 0 | 0 | 0 | 0 b |
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ More allocations ⚠️
More allocations ⚠️ in #6338
Benchmark
Base Allocated
Diff Allocated
Change
Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0
41.49 KB
41.77 KB
280 B
0.67%
Benchmark | Base Allocated | Diff Allocated | Change | Change % |
---|---|---|---|---|
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net6.0 | 41.49 KB | 41.77 KB | 280 B | 0.67% |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | WriteAndFlushEnrichedTraces |
net6.0 | 567μs | 1.45μs | 5.02μs | 0.558 | 0 | 0 | 41.49 KB |
master | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 671μs | 1.51μs | 5.23μs | 0.345 | 0 | 0 | 41.68 KB |
master | WriteAndFlushEnrichedTraces |
net472 | 852μs | 4.11μs | 16.5μs | 8.19 | 2.59 | 0.431 | 53.32 KB |
#6338 | WriteAndFlushEnrichedTraces |
net6.0 | 576μs | 2.67μs | 10μs | 0.584 | 0 | 0 | 41.77 KB |
#6338 | WriteAndFlushEnrichedTraces |
netcoreapp3.1 | 693μs | 3.81μs | 23.8μs | 0.349 | 0 | 0 | 41.82 KB |
#6338 | WriteAndFlushEnrichedTraces |
net472 | 871μs | 4.38μs | 19.1μs | 8.87 | 2.53 | 0.422 | 53.29 KB |
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteNonQuery |
net6.0 | 1.31μs | 0.806ns | 3.12ns | 0.0145 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
netcoreapp3.1 | 1.72μs | 3.32ns | 12.9ns | 0.0137 | 0 | 0 | 1.02 KB |
master | ExecuteNonQuery |
net472 | 2.03μs | 2.2ns | 8.53ns | 0.156 | 0.00101 | 0 | 987 B |
#6338 | ExecuteNonQuery |
net6.0 | 1.23μs | 0.814ns | 3.15ns | 0.0142 | 0 | 0 | 1.02 KB |
#6338 | ExecuteNonQuery |
netcoreapp3.1 | 1.74μs | 1.65ns | 6.19ns | 0.0131 | 0 | 0 | 1.02 KB |
#6338 | ExecuteNonQuery |
net472 | 2.1μs | 1.8ns | 6.72ns | 0.157 | 0.00107 | 0 | 987 B |
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | CallElasticsearch |
net6.0 | 1.25μs | 1.28ns | 4.95ns | 0.0137 | 0 | 0 | 976 B |
master | CallElasticsearch |
netcoreapp3.1 | 1.51μs | 0.693ns | 2.59ns | 0.013 | 0 | 0 | 976 B |
master | CallElasticsearch |
net472 | 2.5μs | 1.46ns | 5.67ns | 0.158 | 0 | 0 | 995 B |
master | CallElasticsearchAsync |
net6.0 | 1.32μs | 0.677ns | 2.62ns | 0.0132 | 0 | 0 | 952 B |
master | CallElasticsearchAsync |
netcoreapp3.1 | 1.65μs | 1.1ns | 4.12ns | 0.0133 | 0 | 0 | 1.02 KB |
master | CallElasticsearchAsync |
net472 | 2.6μs | 2.17ns | 8.41ns | 0.167 | 0 | 0 | 1.05 KB |
#6338 | CallElasticsearch |
net6.0 | 1.21μs | 0.516ns | 2ns | 0.0133 | 0 | 0 | 976 B |
#6338 | CallElasticsearch |
netcoreapp3.1 | 1.58μs | 0.797ns | 2.98ns | 0.0127 | 0 | 0 | 976 B |
#6338 | CallElasticsearch |
net472 | 2.68μs | 2.6ns | 10.1ns | 0.158 | 0 | 0 | 995 B |
#6338 | CallElasticsearchAsync |
net6.0 | 1.25μs | 0.537ns | 2.01ns | 0.0131 | 0 | 0 | 952 B |
#6338 | CallElasticsearchAsync |
netcoreapp3.1 | 1.67μs | 0.693ns | 2.5ns | 0.0142 | 0 | 0 | 1.02 KB |
#6338 | CallElasticsearchAsync |
net472 | 2.69μs | 0.709ns | 2.56ns | 0.166 | 0 | 0 | 1.05 KB |
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | ExecuteAsync |
net6.0 | 1.29μs | 1.63ns | 6.31ns | 0.0133 | 0 | 0 | 952 B |
master | ExecuteAsync |
netcoreapp3.1 | 1.75μs | 0.6ns | 2.32ns | 0.0131 | 0 | 0 | 952 B |
master | ExecuteAsync |
net472 | 1.86μs | 0.532ns | 2.06ns | 0.145 | 0 | 0 | 915 B |
#6338 | ExecuteAsync |
net6.0 | 1.22μs | 0.614ns | 2.38ns | 0.0134 | 0 | 0 | 952 B |
#6338 | ExecuteAsync |
netcoreapp3.1 | 1.62μs | 1.88ns | 7.27ns | 0.0123 | 0 | 0 | 952 B |
#6338 | ExecuteAsync |
net472 | 1.81μs | 0.453ns | 1.76ns | 0.145 | 0 | 0 | 915 B |
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendAsync |
net6.0 | 4.36μs | 1.56ns | 5.82ns | 0.0329 | 0 | 0 | 2.31 KB |
master | SendAsync |
netcoreapp3.1 | 5.45μs | 2.53ns | 9.79ns | 0.0381 | 0 | 0 | 2.85 KB |
master | SendAsync |
net472 | 7.36μs | 1.88ns | 7.28ns | 0.495 | 0 | 0 | 3.12 KB |
#6338 | SendAsync |
net6.0 | 4.48μs | 0.791ns | 2.96ns | 0.0313 | 0 | 0 | 2.31 KB |
#6338 | SendAsync |
netcoreapp3.1 | 5.21μs | 1.98ns | 7.65ns | 0.0393 | 0 | 0 | 2.85 KB |
#6338 | SendAsync |
net472 | 7.34μs | 1.85ns | 7.16ns | 0.494 | 0 | 0 | 3.12 KB |
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 1.49μs | 1ns | 3.76ns | 0.0232 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
netcoreapp3.1 | 2.3μs | 0.827ns | 3.09ns | 0.0217 | 0 | 0 | 1.64 KB |
master | EnrichedLog |
net472 | 2.74μs | 1.64ns | 6.34ns | 0.25 | 0 | 0 | 1.57 KB |
#6338 | EnrichedLog |
net6.0 | 1.43μs | 0.557ns | 2.16ns | 0.0229 | 0 | 0 | 1.64 KB |
#6338 | EnrichedLog |
netcoreapp3.1 | 2.26μs | 0.956ns | 3.7ns | 0.0222 | 0 | 0 | 1.64 KB |
#6338 | EnrichedLog |
net472 | 2.7μs | 1.71ns | 6.38ns | 0.249 | 0 | 0 | 1.57 KB |
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 118μs | 243ns | 941ns | 0 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
netcoreapp3.1 | 124μs | 133ns | 517ns | 0.0623 | 0 | 0 | 4.28 KB |
master | EnrichedLog |
net472 | 150μs | 127ns | 474ns | 0.675 | 0.225 | 0 | 4.46 KB |
#6338 | EnrichedLog |
net6.0 | 119μs | 163ns | 633ns | 0.0592 | 0 | 0 | 4.28 KB |
#6338 | EnrichedLog |
netcoreapp3.1 | 123μs | 157ns | 609ns | 0 | 0 | 0 | 4.28 KB |
#6338 | EnrichedLog |
net472 | 150μs | 157ns | 609ns | 0.673 | 0.224 | 0 | 4.46 KB |
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | EnrichedLog |
net6.0 | 3.03μs | 0.798ns | 3.09ns | 0.0304 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.1μs | 1.44ns | 5.4ns | 0.0287 | 0 | 0 | 2.2 KB |
master | EnrichedLog |
net472 | 4.85μs | 1.34ns | 5.19ns | 0.319 | 0 | 0 | 2.02 KB |
#6338 | EnrichedLog |
net6.0 | 2.98μs | 0.801ns | 3.1ns | 0.0313 | 0 | 0 | 2.2 KB |
#6338 | EnrichedLog |
netcoreapp3.1 | 4.32μs | 0.943ns | 3.65ns | 0.03 | 0 | 0 | 2.2 KB |
#6338 | EnrichedLog |
net472 | 4.77μs | 0.994ns | 3.58ns | 0.32 | 0 | 0 | 2.02 KB |
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | SendReceive |
net6.0 | 1.43μs | 1.34ns | 5.21ns | 0.0157 | 0 | 0 | 1.14 KB |
master | SendReceive |
netcoreapp3.1 | 1.8μs | 4.4ns | 17ns | 0.0153 | 0 | 0 | 1.14 KB |
master | SendReceive |
net472 | 2.26μs | 3.5ns | 13.6ns | 0.183 | 0 | 0 | 1.16 KB |
#6338 | SendReceive |
net6.0 | 1.42μs | 0.899ns | 3.48ns | 0.0156 | 0 | 0 | 1.14 KB |
#6338 | SendReceive |
netcoreapp3.1 | 1.76μs | 1.14ns | 4.42ns | 0.015 | 0 | 0 | 1.14 KB |
#6338 | SendReceive |
net472 | 2.1μs | 0.713ns | 2.67ns | 0.184 | 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.75μs | 1.22ns | 4.73ns | 0.0221 | 0 | 0 | 1.6 KB |
master | EnrichedLog |
netcoreapp3.1 | 4.12μs | 4.86ns | 18.8ns | 0.0225 | 0 | 0 | 1.65 KB |
master | EnrichedLog |
net472 | 4.32μs | 1.18ns | 4.26ns | 0.323 | 0 | 0 | 2.04 KB |
#6338 | EnrichedLog |
net6.0 | 2.79μs | 1.1ns | 4.13ns | 0.0222 | 0 | 0 | 1.6 KB |
#6338 | EnrichedLog |
netcoreapp3.1 | 3.88μs | 1.28ns | 4.95ns | 0.0211 | 0 | 0 | 1.65 KB |
#6338 | EnrichedLog |
net472 | 4.33μs | 2.57ns | 9.94ns | 0.323 | 0 | 0 | 2.04 KB |
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | StartFinishSpan |
net6.0 | 511ns | 0.7ns | 2.71ns | 0.00805 | 0 | 0 | 576 B |
master | StartFinishSpan |
netcoreapp3.1 | 619ns | 0.898ns | 3.48ns | 0.00777 | 0 | 0 | 576 B |
master | StartFinishSpan |
net472 | 676ns | 1.7ns | 6.57ns | 0.0918 | 0 | 0 | 578 B |
master | StartFinishScope |
net6.0 | 492ns | 0.499ns | 1.93ns | 0.00971 | 0 | 0 | 696 B |
master | StartFinishScope |
netcoreapp3.1 | 798ns | 0.928ns | 3.59ns | 0.00954 | 0 | 0 | 696 B |
master | StartFinishScope |
net472 | 881ns | 1.12ns | 4.34ns | 0.104 | 0 | 0 | 658 B |
#6338 | StartFinishSpan |
net6.0 | 461ns | 0.654ns | 2.53ns | 0.00822 | 0 | 0 | 576 B |
#6338 | StartFinishSpan |
netcoreapp3.1 | 595ns | 0.697ns | 2.7ns | 0.00768 | 0 | 0 | 576 B |
#6338 | StartFinishSpan |
net472 | 634ns | 1.08ns | 4.2ns | 0.0916 | 0 | 0 | 578 B |
#6338 | StartFinishScope |
net6.0 | 490ns | 0.883ns | 3.42ns | 0.00979 | 0 | 0 | 696 B |
#6338 | StartFinishScope |
netcoreapp3.1 | 805ns | 1.46ns | 5.64ns | 0.0093 | 0 | 0 | 696 B |
#6338 | StartFinishScope |
net472 | 867ns | 1.88ns | 7.02ns | 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 | 671ns | 1.15ns | 4.44ns | 0.00967 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 885ns | 1.57ns | 6.07ns | 0.00921 | 0 | 0 | 696 B |
master | RunOnMethodBegin |
net472 | 1.18μs | 3.02ns | 11.7ns | 0.104 | 0 | 0 | 658 B |
#6338 | RunOnMethodBegin |
net6.0 | 608ns | 1.05ns | 4.08ns | 0.00977 | 0 | 0 | 696 B |
#6338 | RunOnMethodBegin |
netcoreapp3.1 | 899ns | 2.16ns | 8.38ns | 0.00953 | 0 | 0 | 696 B |
#6338 | RunOnMethodBegin |
net472 | 1.11μs | 2.43ns | 9.43ns | 0.105 | 0 | 0 | 658 B |
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
947f563
to
2ff9105
Compare
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 (6338) (11.328M) : 0, 11328039
master (11.163M) : 0, 11163279
benchmarks/2.9.0 (11.033M) : 0, 11032866
section Automatic
This PR (6338) (7.341M) : 0, 7341299
master (7.379M) : 0, 7378518
benchmarks/2.9.0 (7.786M) : 0, 7785853
section Trace stats
master (7.698M) : 0, 7697685
section Manual
master (11.208M) : 0, 11207970
section Manual + Automatic
This PR (6338) (6.732M) : 0, 6732156
master (6.848M) : 0, 6847878
section DD_TRACE_ENABLED=0
master (10.300M) : 0, 10300258
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6338) (9.531M) : 0, 9530816
master (9.614M) : 0, 9613662
benchmarks/2.9.0 (9.495M) : 0, 9494821
section Automatic
This PR (6338) (6.431M) : 0, 6430961
master (6.420M) : 0, 6420484
section Trace stats
master (6.620M) : 0, 6620303
section Manual
master (9.598M) : 0, 9598372
section Manual + Automatic
This PR (6338) (6.072M) : 0, 6072031
master (5.968M) : 0, 5968390
section DD_TRACE_ENABLED=0
master (8.911M) : 0, 8911128
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (6338) (10.132M) : 0, 10132311
master (9.949M) : 0, 9949075
benchmarks/2.9.0 (10.020M) : 0, 10019592
section Automatic
This PR (6338) (6.562M) : 0, 6561671
master (6.538M) : 0, 6537814
benchmarks/2.9.0 (7.255M) : 0, 7255257
section Trace stats
master (7.075M) : 0, 7075474
section Manual
master (9.758M) : 0, 9757921
section Manual + Automatic
This PR (6338) (5.867M) : 0, 5866936
master (6.151M) : 0, 6151047
section DD_TRACE_ENABLED=0
master (9.404M) : 0, 9403695
|
2ff9105
to
26305c4
Compare
26305c4
to
ec52ff4
Compare
Summary of changes
LibrariesInfoCache
service must be fully started before starting other services.Reason for change
LibrariesInfoCache
builds a cache of libraries info and provides a custom implementation ofdl_iterate_phdr
to libunwind. This prevent the profiler ending in deadlock situation (mainly lock inversion).If the service is not fully started (callback not set for libunwind, cache not populated...), we can have issue to unwind but also be back in deadlock situation.
So we must make sure this service is fully started before starting the other services.
Implementation details
StartImpl
, pass anAutoResetEvent
to the worker thread and wait for 2s for the call toSet
Work
, call once thestartEvent
once the cache is populated.Test coverage
Other details
Example of deadlock we face in CI