[Profiler] Fix coding issue#8721
Conversation
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (8721) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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 highlighted 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). Duration chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (73ms) : 70, 75
master - mean (74ms) : 70, 77
section Bailout
This PR (8721) - mean (77ms) : 74, 79
master - mean (77ms) : 75, 79
section CallTarget+Inlining+NGEN
This PR (8721) - mean (1,108ms) : 1050, 1166
master - mean (1,104ms) : 1052, 1156
FakeDbCommand (.NET Core 3.1)gantt
title Execution time (ms) FakeDbCommand (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (114ms) : 109, 118
master - mean (114ms) : 111, 117
section Bailout
This PR (8721) - mean (119ms) : 114, 124
master - mean (116ms) : 110, 122
section CallTarget+Inlining+NGEN
This PR (8721) - mean (795ms) : 768, 821
master - mean (792ms) : 766, 817
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (102ms) : 98, 105
master - mean (102ms) : 98, 106
section Bailout
This PR (8721) - mean (102ms) : 99, 104
master - mean (105ms) : 101, 109
section CallTarget+Inlining+NGEN
This PR (8721) - mean (956ms) : 918, 993
master - mean (953ms) : 912, 994
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (104ms) : 98, 110
master - mean (100ms) : 96, 103
section Bailout
This PR (8721) - mean (101ms) : 98, 105
master - mean (103ms) : 97, 109
section CallTarget+Inlining+NGEN
This PR (8721) - mean (826ms) : 790, 861
master - mean (825ms) : 783, 868
HttpMessageHandler (.NET Framework 4.8)gantt
title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (198ms) : 193, 202
master - mean (197ms) : 192, 202
section Bailout
This PR (8721) - mean (203ms) : 199, 207
master - mean (201ms) : 197, 206
section CallTarget+Inlining+NGEN
This PR (8721) - mean (1,199ms) : 1159, 1240
master - mean (1,195ms) : 1153, 1237
HttpMessageHandler (.NET Core 3.1)gantt
title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (285ms) : 277, 293
master - mean (286ms) : 280, 291
section Bailout
This PR (8721) - mean (288ms) : 283, 294
master - mean (286ms) : 280, 292
section CallTarget+Inlining+NGEN
This PR (8721) - mean (962ms) : 943, 981
master - mean (970ms) : 952, 988
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (278ms) : 272, 284
master - mean (277ms) : 272, 283
section Bailout
This PR (8721) - mean (278ms) : 273, 283
master - mean (277ms) : 273, 281
section CallTarget+Inlining+NGEN
This PR (8721) - mean (1,162ms) : 1134, 1191
master - mean (1,158ms) : 1123, 1193
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8721) - mean (277ms) : 269, 284
master - mean (274ms) : 269, 279
section Bailout
This PR (8721) - mean (277ms) : 271, 284
master - mean (275ms) : 269, 281
section CallTarget+Inlining+NGEN
This PR (8721) - mean (1,038ms) : 999, 1076
master - mean (1,033ms) : 991, 1076
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmark execution time: 2026-06-01 12:18:19 Comparing candidate commit b6e139d in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 61 known flaky benchmarks, 65 flaky benchmarks without significant changes.
|
Summary of changes
Fix potential issue in
TimerCreateCpuProfiler.Reason for change
Do not store raw pointer in a
std::unique_ptr.Implementation details
std::unique_ptrwhen storing a point inTimerCreateCpuProfiler.Test coverage
Other details
Thanks to korniltsev-grafanista for pointing this out