-
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
[Profiler] Fix possible crash when Agent does not answer namedpipe connection #5437
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 (5437) - mean (70ms) : 67, 72
. : milestone, 70,
master - mean (72ms) : 65, 79
. : milestone, 72,
section CallTarget+Inlining+NGEN
This PR (5437) - mean (1,015ms) : 995, 1034
. : milestone, 1015,
master - mean (1,021ms) : 1002, 1041
. : milestone, 1021,
gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5437) - mean (110ms) : 106, 113
. : milestone, 110,
master - mean (110ms) : 108, 113
. : milestone, 110,
section CallTarget+Inlining+NGEN
This PR (5437) - mean (737ms) : 714, 760
. : milestone, 737,
master - mean (734ms) : 713, 755
. : milestone, 734,
gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5437) - mean (94ms) : 91, 97
. : milestone, 94,
master - mean (93ms) : 90, 95
. : milestone, 93,
section CallTarget+Inlining+NGEN
This PR (5437) - mean (694ms) : 672, 716
. : milestone, 694,
master - mean (684ms) : 660, 707
. : milestone, 684,
gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5437) - mean (187ms) : 183, 191
. : milestone, 187,
master - mean (187ms) : 184, 190
. : milestone, 187,
section CallTarget+Inlining+NGEN
This PR (5437) - mean (1,076ms) : 1051, 1102
. : milestone, 1076,
master - mean (1,079ms) : 1043, 1115
. : milestone, 1079,
gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5437) - mean (272ms) : 266, 277
. : milestone, 272,
master - mean (271ms) : 263, 278
. : milestone, 271,
section CallTarget+Inlining+NGEN
This PR (5437) - mean (870ms) : 841, 900
. : milestone, 870,
master - mean (867ms) : 838, 896
. : milestone, 867,
gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat X
axisFormat %s
todayMarker off
section Baseline
This PR (5437) - mean (261ms) : 257, 265
. : milestone, 261,
master - mean (259ms) : 253, 265
. : milestone, 259,
section CallTarget+Inlining+NGEN
This PR (5437) - mean (851ms) : 824, 879
. : milestone, 851,
master - mean (853ms) : 831, 876
. : milestone, 853,
|
Datadog ReportBranch report: ✅ 0 Failed, 334199 Passed, 1817 Skipped, 41m 20.05s Wall Time |
Benchmarks Report for tracer 🐌Benchmarks for #5437 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 - Faster 🎉 Same allocations ✔️
|
Benchmark | base/diff | Base Median (ns) | Diff Median (ns) | Modality |
---|---|---|---|---|
Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin‑net6.0 | 1.129 | 761.97 | 674.73 |
Raw results
Branch | Method | Toolchain | Mean | StdError | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
---|---|---|---|---|---|---|---|---|---|
master | RunOnMethodBegin |
net6.0 | 762ns | 0.653ns | 2.44ns | 0.0095 | 0 | 0 | 688 B |
master | RunOnMethodBegin |
netcoreapp3.1 | 901ns | 1.05ns | 4.08ns | 0.00934 | 0 | 0 | 688 B |
master | RunOnMethodBegin |
net472 | 1.19μs | 3.23ns | 12.5ns | 0.103 | 0 | 0 | 650 B |
#5437 | RunOnMethodBegin |
net6.0 | 675ns | 1.13ns | 4.39ns | 0.00977 | 0 | 0 | 688 B |
#5437 | RunOnMethodBegin |
netcoreapp3.1 | 968ns | 0.47ns | 1.82ns | 0.00941 | 0 | 0 | 688 B |
#5437 | RunOnMethodBegin |
net472 | 1.1μs | 2.4ns | 9.3ns | 0.103 | 0 | 0 | 650 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 (5437) (11.397M) : 0, 11396551
master (11.265M) : 0, 11265396
benchmarks/2.9.0 (11.505M) : 0, 11505055
section Automatic
This PR (5437) (7.865M) : 0, 7865091
master (7.873M) : 0, 7872843
benchmarks/2.9.0 (8.298M) : 0, 8297530
section Trace stats
This PR (5437) (8.191M) : 0, 8190934
master (8.110M) : 0, 8110433
section Manual
This PR (5437) (9.951M) : 0, 9951082
master (10.010M) : 0, 10009570
section Manual + Automatic
This PR (5437) (7.517M) : 0, 7517081
master (7.428M) : 0, 7427798
section Version Conflict
This PR (5437) (6.808M) : 0, 6807799
master (6.722M) : 0, 6722246
gantt
title Throughput Linux arm64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5437) (9.617M) : 0, 9617179
master (9.626M) : 0, 9626096
benchmarks/2.9.0 (9.448M) : 0, 9448007
section Automatic
This PR (5437) (6.635M) : 0, 6635440
master (6.569M) : 0, 6568518
section Trace stats
This PR (5437) (6.996M) : 0, 6996104
master (6.938M) : 0, 6938241
section Manual
This PR (5437) (8.118M) : 0, 8117907
master (8.120M) : 0, 8120475
section Manual + Automatic
This PR (5437) (6.113M) : 0, 6112738
master (6.268M) : 0, 6267828
section Version Conflict
This PR (5437) (5.557M) : 0, 5556987
master (5.663M) : 0, 5662584
gantt
title Throughput Windows x64 (Total requests)
dateFormat X
axisFormat %s
section Baseline
This PR (5437) (10.069M) : 0, 10069209
master (10.108M) : 0, 10108263
benchmarks/2.9.0 (10.119M) : 0, 10118734
section Automatic
This PR (5437) (7.140M) : 0, 7139563
master (7.267M) : 0, 7266809
benchmarks/2.9.0 (7.382M) : 0, 7381600
section Trace stats
This PR (5437) (7.412M) : 0, 7412145
master (7.464M) : 0, 7464193
section Manual
This PR (5437) (8.769M) : 0, 8768694
master (8.838M) : 0, 8837615
section Manual + Automatic
This PR (5437) (6.985M) : 0, 6984631
master (7.026M) : 0, 7025722
section Version Conflict
This PR (5437) (6.193M) : 0, 6192554
master (6.290M) : 0, 6290404
|
4d8ddfb
to
1ec77cb
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
Reason for change
Possible crash in CI
Implementation details
Test coverage
Crashing test should be valid now
Other details