Skip to content

(CI) Migrating benchmark-serverless CI job to short-lived tokens#8219

Draft
rithikanarayan wants to merge 3 commits intomasterfrom
rithika.narayan/APMSVLS-380-token
Draft

(CI) Migrating benchmark-serverless CI job to short-lived tokens#8219
rithikanarayan wants to merge 3 commits intomasterfrom
rithika.narayan/APMSVLS-380-token

Conversation

@rithikanarayan
Copy link
Contributor

Summary of changes

Migrated from use of Gitlab personal access token to short-lived token (using authanywhere) when cloning the serverless-tools repo for the benchmark-serverless CI job.

Reason for change

Keeping up-to-date with current policies about tokens, avoiding token expiry issues.

Implementation details

Test coverage

Other details

@rithikanarayan rithikanarayan changed the title Migrating benchmark-serverless CI job to short-lived tokens (CI) Migrating benchmark-serverless CI job to short-lived tokens Feb 18, 2026
@rithikanarayan rithikanarayan added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Feb 18, 2026
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Feb 18, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8219) 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
duration76.33 ± (76.33 - 76.66) ms75.55 ± (75.53 - 75.93) ms-1.0%
.NET Framework 4.8 - Bailout
duration80.75 ± (80.60 - 80.96) ms80.56 ± (80.46 - 80.87) ms-0.2%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1093.49 ± (1092.42 - 1098.38) ms1090.90 ± (1090.69 - 1096.51) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms23.26 ± (23.21 - 23.32) ms22.79 ± (22.76 - 22.82) ms-2.0%
process.time_to_main_ms89.10 ± (88.89 - 89.30) ms87.06 ± (86.85 - 87.26) ms-2.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.90 - 10.91) MB10.91 ± (10.90 - 10.91) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms23.12 ± (23.06 - 23.17) ms22.74 ± (22.70 - 22.77) ms-1.6%
process.time_to_main_ms89.31 ± (89.08 - 89.54) ms88.68 ± (88.50 - 88.85) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.95) MB10.95 ± (10.95 - 10.96) MB+0.1%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms243.18 ± (239.13 - 247.24) ms237.07 ± (233.22 - 240.92) ms-2.5%
process.time_to_main_ms500.30 ± (499.45 - 501.14) ms496.58 ± (495.78 - 497.38) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.56 ± (47.54 - 47.58) MB47.58 ± (47.56 - 47.60) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.94 ± (21.90 - 21.99) ms21.88 ± (21.84 - 21.93) ms-0.3%
process.time_to_main_ms77.24 ± (77.06 - 77.43) ms76.70 ± (76.52 - 76.88) ms-0.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.62 - 10.63) MB10.64 ± (10.63 - 10.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms22.01 ± (21.94 - 22.07) ms21.81 ± (21.76 - 21.86) ms-0.9%
process.time_to_main_ms78.79 ± (78.61 - 78.97) ms78.02 ± (77.84 - 78.20) ms-1.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.67 ± (10.67 - 10.68) MB10.72 ± (10.71 - 10.73) MB+0.5%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms255.72 ± (251.88 - 259.57) ms254.66 ± (250.98 - 258.35) ms-0.4%
process.time_to_main_ms484.68 ± (483.78 - 485.58) ms479.88 ± (479.16 - 480.59) ms-1.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.39 ± (48.37 - 48.41) MB48.36 ± (48.34 - 48.38) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 8 - Baseline
process.internal_duration_ms20.38 ± (20.33 - 20.43) ms20.03 ± (19.99 - 20.07) ms-1.7%
process.time_to_main_ms77.61 ± (77.45 - 77.77) ms75.52 ± (75.37 - 75.68) ms-2.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.65 - 7.66) MB7.65 ± (7.65 - 7.66) MB-0.0%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms20.38 ± (20.32 - 20.45) ms20.01 ± (19.96 - 20.06) ms-1.8%
process.time_to_main_ms78.56 ± (78.37 - 78.74) ms76.66 ± (76.48 - 76.83) ms-2.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.71 ± (7.71 - 7.72) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms194.69 ± (193.90 - 195.47) ms191.56 ± (190.77 - 192.35) ms-1.6%
process.time_to_main_ms465.75 ± (465.02 - 466.48) ms458.73 ± (457.88 - 459.57) ms-1.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.13 ± (36.09 - 36.18) MB36.06 ± (36.02 - 36.10) MB-0.2%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.3%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration226.75 ± (226.66 - 229.41) ms221.70 ± (221.95 - 224.08) ms-2.2%
.NET Framework 4.8 - Bailout
duration232.92 ± (232.14 - 234.91) ms227.40 ± (227.10 - 228.93) ms-2.4%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1262.57 ± (1257.25 - 1265.98) ms1250.67 ± (1247.34 - 1254.61) ms-0.9%
.NET Core 3.1 - Baseline
process.internal_duration_ms216.37 ± (215.57 - 217.16) ms220.35 ± (219.29 - 221.42) ms+1.8%✅⬆️
process.time_to_main_ms93.87 ± (93.52 - 94.21) ms94.30 ± (93.88 - 94.71) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.89 ± (15.88 - 15.91) MB15.86 ± (15.85 - 15.88) MB-0.2%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms218.48 ± (217.57 - 219.38) ms220.70 ± (219.48 - 221.92) ms+1.0%✅⬆️
process.time_to_main_ms96.05 ± (95.66 - 96.44) ms95.67 ± (95.22 - 96.12) ms-0.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.89 ± (15.87 - 15.90) MB15.84 ± (15.83 - 15.86) MB-0.3%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.2%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms456.21 ± (452.06 - 460.35) ms451.65 ± (447.55 - 455.74) ms-1.0%
process.time_to_main_ms533.34 ± (531.92 - 534.76) ms531.07 ± (529.87 - 532.27) ms-0.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.75 ± (57.57 - 57.93) MB58.09 ± (57.96 - 58.22) MB+0.6%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.5%
.NET 6 - Baseline
process.internal_duration_ms229.71 ± (228.45 - 230.98) ms224.47 ± (223.34 - 225.61) ms-2.3%
process.time_to_main_ms83.30 ± (82.90 - 83.70) ms81.35 ± (81.02 - 81.68) ms-2.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.4%✅⬆️
runtime.dotnet.mem.committed16.05 ± (16.04 - 16.07) MB16.14 ± (16.13 - 16.16) MB+0.6%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)-0.0%
.NET 6 - Bailout
process.internal_duration_ms227.73 ± (226.43 - 229.02) ms219.58 ± (218.67 - 220.48) ms-3.6%
process.time_to_main_ms83.61 ± (83.29 - 83.94) ms81.55 ± (81.24 - 81.85) ms-2.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.09 ± (16.08 - 16.11) MB16.20 ± (16.18 - 16.21) MB+0.6%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)-0.1%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms488.84 ± (482.77 - 494.90) ms486.02 ± (481.27 - 490.78) ms-0.6%
process.time_to_main_ms498.68 ± (497.75 - 499.60) ms495.68 ± (494.58 - 496.77) ms-0.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed57.42 ± (57.26 - 57.57) MB57.11 ± (56.95 - 57.27) MB-0.5%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
.NET 8 - Baseline
process.internal_duration_ms229.61 ± (228.27 - 230.95) ms225.40 ± (224.33 - 226.46) ms-1.8%
process.time_to_main_ms81.05 ± (80.72 - 81.39) ms80.51 ± (80.15 - 80.86) ms-0.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.40 ± (11.38 - 11.42) MB11.45 ± (11.43 - 11.47) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.0%
.NET 8 - Bailout
process.internal_duration_ms232.50 ± (230.95 - 234.05) ms222.46 ± (221.51 - 223.42) ms-4.3%
process.time_to_main_ms82.97 ± (82.59 - 83.36) ms80.84 ± (80.56 - 81.11) ms-2.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.45 ± (11.42 - 11.47) MB11.47 ± (11.46 - 11.49) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.5%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms506.22 ± (503.89 - 508.54) ms505.55 ± (503.61 - 507.48) ms-0.1%
process.time_to_main_ms486.59 ± (485.62 - 487.57) ms483.32 ± (482.32 - 484.33) ms-0.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed49.76 ± (49.72 - 49.79) MB49.70 ± (49.67 - 49.73) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.0%
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 (8219) - mean (76ms)  : 73, 79
    master - mean (76ms)  : 74, 79

    section Bailout
    This PR (8219) - mean (81ms)  : 78, 83
    master - mean (81ms)  : 79, 83

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (1,094ms)  : 1050, 1137
    master - mean (1,095ms)  : 1051, 1140

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 (8219) - mean (117ms)  : 114, 120
    master - mean (120ms)  : 116, 124

    section Bailout
    This PR (8219) - mean (119ms)  : 116, 121
    master - mean (119ms)  : 117, 122

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (767ms)  : 705, 828
    master - mean (783ms)  : 715, 851

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8219) - mean (105ms)  : 102, 108
    master - mean (106ms)  : 102, 110

    section Bailout
    This PR (8219) - mean (107ms)  : 104, 109
    master - mean (108ms)  : 105, 110

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (767ms)  : 698, 836
    master - mean (773ms)  : 700, 845

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8219) - mean (104ms)  : 101, 106
    master - mean (106ms)  : 102, 110

    section Bailout
    This PR (8219) - mean (105ms)  : 102, 108
    master - mean (107ms)  : 105, 109

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (678ms)  : 660, 697
    master - mean (699ms)  : 673, 725

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 (8219) - mean (223ms)  : 207, 239
    master - mean (228ms)  : 208, 248

    section Bailout
    This PR (8219) - mean (228ms)  : 214, 242
    master - mean (234ms)  : 213, 254

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (1,251ms)  : 1199, 1303
    master - mean (1,262ms)  : 1195, 1329

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 (8219) - mean (325ms)  : 304, 346
    master - mean (321ms)  : 303, 339

    section Bailout
    This PR (8219) - mean (327ms)  : 301, 352
    master - mean (326ms)  : 308, 343

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (1,027ms)  : 951, 1104
    master - mean (1,033ms)  : 956, 1110

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8219) - mean (316ms)  : 292, 341
    master - mean (324ms)  : 298, 351

    section Bailout
    This PR (8219) - mean (311ms)  : 293, 330
    master - mean (322ms)  : 302, 342

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (1,019ms)  : 939, 1099
    master - mean (1,038ms)  : 920, 1155

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8219) - mean (317ms)  : 294, 340
    master - mean (324ms)  : 297, 352

    section Bailout
    This PR (8219) - mean (314ms)  : 298, 331
    master - mean (327ms)  : 298, 355

    section CallTarget+Inlining+NGEN
    This PR (8219) - mean (1,023ms)  : 975, 1071
    master - mean (1,029ms)  : 980, 1077

Loading

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

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments