Skip to content

Conversation

@gleocadie
Copy link
Collaborator

Summary of changes

Reason for change

Implementation details

Test coverage

Other details

@github-actions github-actions bot added the area:profiler Issues related to the continous-profiler label Dec 23, 2025
@dd-trace-dotnet-ci-bot
Copy link

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8005) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration68.23 ± (68.22 - 68.45) ms68.29 ± (68.29 - 68.54) ms+0.1%✅⬆️
.NET Framework 4.8 - Bailout
duration71.92 ± (71.95 - 72.15) ms72.03 ± (71.94 - 72.19) ms+0.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1003.60 ± (1003.70 - 1009.77) ms1004.18 ± (1006.41 - 1013.17) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms21.88 ± (21.86 - 21.91) ms21.84 ± (21.82 - 21.87) ms-0.2%
process.time_to_main_ms78.35 ± (78.22 - 78.47) ms78.73 ± (78.59 - 78.88) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.89 - 10.90) MB10.90 ± (10.90 - 10.91) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.85 ± (21.82 - 21.88) ms21.77 ± (21.75 - 21.80) ms-0.4%
process.time_to_main_ms79.87 ± (79.77 - 79.97) ms79.82 ± (79.73 - 79.91) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.94 - 10.95) MB10.95 ± (10.95 - 10.96) MB+0.0%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms212.36 ± (210.20 - 214.53) ms212.41 ± (211.03 - 213.78) ms+0.0%✅⬆️
process.time_to_main_ms471.24 ± (470.64 - 471.85) ms473.46 ± (472.91 - 474.01) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.05 ± (48.03 - 48.07) MB48.07 ± (48.05 - 48.09) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms20.64 ± (20.61 - 20.66) ms20.65 ± (20.63 - 20.68) ms+0.1%✅⬆️
process.time_to_main_ms68.03 ± (67.91 - 68.16) ms68.26 ± (68.13 - 68.39) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.60) MB10.64 ± (10.63 - 10.64) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.51 ± (20.49 - 20.54) ms20.63 ± (20.61 - 20.65) ms+0.5%✅⬆️
process.time_to_main_ms68.70 ± (68.64 - 68.77) ms69.08 ± (69.03 - 69.13) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.65 ± (10.64 - 10.65) MB10.67 ± (10.67 - 10.68) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms198.29 ± (197.25 - 199.34) ms200.03 ± (198.86 - 201.20) ms+0.9%✅⬆️
process.time_to_main_ms439.45 ± (438.43 - 440.46) ms439.16 ± (438.57 - 439.76) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.25 ± (48.18 - 48.32) MB48.22 ± (48.15 - 48.30) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms18.86 ± (18.84 - 18.88) ms18.88 ± (18.86 - 18.90) ms+0.1%✅⬆️
process.time_to_main_ms67.04 ± (66.93 - 67.15) ms67.25 ± (67.14 - 67.36) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.64 - 7.65) MB7.68 ± (7.68 - 7.69) MB+0.4%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.80 ± (18.77 - 18.83) ms18.84 ± (18.82 - 18.87) ms+0.2%✅⬆️
process.time_to_main_ms67.91 ± (67.86 - 67.97) ms68.17 ± (68.12 - 68.23) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.74 ± (7.73 - 7.75) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms179.27 ± (178.34 - 180.20) ms180.71 ± (179.80 - 181.61) ms+0.8%✅⬆️
process.time_to_main_ms423.92 ± (423.18 - 424.67) ms423.12 ± (422.65 - 423.60) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.29 ± (36.26 - 36.32) MB36.34 ± (36.31 - 36.38) MB+0.2%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration192.99 ± (192.95 - 193.82) ms193.68 ± (193.71 - 194.52) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration195.89 ± (196.03 - 196.62) ms197.68 ± (197.46 - 198.11) ms+0.9%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1105.69 ± (1107.88 - 1114.93) ms1112.15 ± (1114.77 - 1122.57) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms187.50 ± (187.10 - 187.90) ms188.38 ± (187.97 - 188.80) ms+0.5%✅⬆️
process.time_to_main_ms80.55 ± (80.34 - 80.76) ms80.79 ± (80.52 - 81.05) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.03 - 16.09) MB16.13 ± (16.11 - 16.16) MB+0.5%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)-0.2%
.NET Core 3.1 - Bailout
process.internal_duration_ms187.30 ± (186.97 - 187.62) ms187.45 ± (187.07 - 187.82) ms+0.1%✅⬆️
process.time_to_main_ms81.92 ± (81.78 - 82.06) ms82.09 ± (81.96 - 82.23) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.12 - 16.18) MB16.12 ± (16.09 - 16.14) MB-0.2%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.9%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms395.33 ± (392.99 - 397.67) ms399.36 ± (396.49 - 402.22) ms+1.0%✅⬆️
process.time_to_main_ms474.27 ± (473.65 - 474.90) ms474.61 ± (473.95 - 475.27) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.60 ± (58.46 - 58.74) MB58.61 ± (58.48 - 58.75) MB+0.0%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms191.85 ± (191.49 - 192.21) ms192.41 ± (192.01 - 192.81) ms+0.3%✅⬆️
process.time_to_main_ms69.69 ± (69.52 - 69.86) ms70.22 ± (70.03 - 70.41) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.11 ± (15.97 - 16.26) MB16.12 ± (15.98 - 16.25) MB+0.0%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)18 ± (18 - 18)-0.5%
.NET 6 - Bailout
process.internal_duration_ms190.87 ± (190.57 - 191.17) ms191.66 ± (191.30 - 192.02) ms+0.4%✅⬆️
process.time_to_main_ms70.68 ± (70.56 - 70.80) ms70.93 ± (70.78 - 71.07) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.94 ± (15.78 - 16.11) MB16.30 ± (16.20 - 16.40) MB+2.2%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+3.6%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms408.43 ± (406.42 - 410.44) ms406.67 ± (404.69 - 408.65) ms-0.4%
process.time_to_main_ms445.34 ± (444.69 - 445.98) ms444.57 ± (444.04 - 445.09) ms-0.2%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed59.06 ± (58.92 - 59.21) MB59.03 ± (58.89 - 59.18) MB-0.0%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (29 - 30)-0.2%
.NET 8 - Baseline
process.internal_duration_ms189.77 ± (189.42 - 190.13) ms190.79 ± (190.48 - 191.11) ms+0.5%✅⬆️
process.time_to_main_ms69.48 ± (69.32 - 69.65) ms69.43 ± (69.22 - 69.64) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.74 - 11.81) MB11.77 ± (11.74 - 11.80) MB-0.1%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.4%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms189.22 ± (188.88 - 189.56) ms189.87 ± (189.61 - 190.12) ms+0.3%✅⬆️
process.time_to_main_ms70.40 ± (70.30 - 70.49) ms70.66 ± (70.54 - 70.78) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.82 ± (11.76 - 11.89) MB11.83 ± (11.79 - 11.86) MB+0.0%✅⬆️
runtime.dotnet.threads.count19 ± (18 - 19)19 ± (19 - 19)+2.7%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms364.58 ± (363.15 - 366.01) ms365.43 ± (363.75 - 367.12) ms+0.2%✅⬆️
process.time_to_main_ms429.08 ± (428.33 - 429.82) ms430.21 ± (429.46 - 430.97) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.96 ± (47.93 - 47.99) MB47.86 ± (47.84 - 47.89) MB-0.2%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.6%✅⬆️
Comparison explanation

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 highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

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 charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8005) - mean (68ms)  : 67, 70
    master - mean (68ms)  : 67, 70

    section Bailout
    This PR (8005) - mean (72ms)  : 71, 73
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (1,010ms)  : 961, 1058
    master - mean (1,007ms)  : 964, 1050

Loading
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 (8005) - mean (106ms)  : 103, 108
    master - mean (105ms)  : 103, 108

    section Bailout
    This PR (8005) - mean (107ms)  : 105, 108
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (713ms)  : 683, 743
    master - mean (712ms)  : 677, 747

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8005) - mean (94ms)  : 92, 96
    master - mean (93ms)  : 92, 95

    section Bailout
    This PR (8005) - mean (94ms)  : 93, 95
    master - mean (94ms)  : 93, 95

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (665ms)  : 646, 684
    master - mean (671ms)  : 624, 719

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8005) - mean (92ms)  : 90, 95
    master - mean (92ms)  : 89, 95

    section Bailout
    This PR (8005) - mean (93ms)  : 92, 94
    master - mean (93ms)  : 91, 94

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (631ms)  : 617, 645
    master - mean (631ms)  : 617, 644

Loading
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 (8005) - mean (194ms)  : 190, 198
    master - mean (193ms)  : 189, 198

    section Bailout
    This PR (8005) - mean (198ms)  : 195, 201
    master - mean (196ms)  : 194, 199

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (1,119ms)  : 1063, 1174
    master - mean (1,111ms)  : 1061, 1162

Loading
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 (8005) - mean (278ms)  : 272, 284
    master - mean (277ms)  : 272, 281

    section Bailout
    This PR (8005) - mean (278ms)  : 273, 282
    master - mean (277ms)  : 274, 281

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (911ms)  : 862, 960
    master - mean (907ms)  : 867, 948

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8005) - mean (271ms)  : 266, 275
    master - mean (269ms)  : 265, 274

    section Bailout
    This PR (8005) - mean (270ms)  : 266, 275
    master - mean (270ms)  : 266, 273

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (886ms)  : 842, 930
    master - mean (888ms)  : 850, 926

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8005) - mean (270ms)  : 265, 275
    master - mean (269ms)  : 264, 274

    section Bailout
    This PR (8005) - mean (270ms)  : 267, 273
    master - mean (269ms)  : 265, 273

    section CallTarget+Inlining+NGEN
    This PR (8005) - mean (827ms)  : 809, 844
    master - mean (826ms)  : 802, 849

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants