Skip to content

perf: skip disabled portable cache compare prep#14484

Draft
hardfist wants to merge 1 commit into
mainfrom
perf/ci-cache-portable-noop
Draft

perf: skip disabled portable cache compare prep#14484
hardfist wants to merge 1 commit into
mainfrom
perf/ci-cache-portable-noop

Conversation

@hardfist

Copy link
Copy Markdown
Contributor

Why

Check Cache Portable currently runs after the Linux and Windows test jobs and still spends time checking out the repo, installing Rust, and downloading linux/windows cache artifacts. The actual compare command is disabled and the job only echoes success, so that preparation work is dead time at the end of the CI required-check path.

Recent main CI runs show this job taking 85s (27733305620) and 71s (27734656396). Moving the placeholder job earlier and removing the unused artifact flow should remove roughly one minute from the CI tail without changing build or test coverage.

What

  • Run Check Cache Portable after check-changed on the mini Linux runner while the compare remains disabled.
  • Remove checkout, Rust setup, and linux/windows cache downloads from the placeholder job.
  • Remove the linux/windows test cache uploads, since the disabled compare no longer consumes those artifacts.
  • Leave a note to restore those artifacts before re-enabling the portable cache compare.

Impact

The portable cache comparison remains disabled before and after this change. Required test/build jobs still gate Test Required Check; only the currently unused preparation work is removed.

Checked locally with prettier --check, git diff --check, actionlint, and an rg sweep for remaining testCase-persistentCache references.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

📝 Benchmark detail: Open

Name Base (bea2896) Current Change
10000_big_production-mode_disable-minimize + exec 12.2 s ± 452 ms 12.1 s ± 370 ms -0.53 %
10000_development-mode + exec 903 ms ± 29 ms 883 ms ± 14 ms -2.22 %
10000_development-mode_hmr + stats 159 ms ± 3.5 ms 163 ms ± 17 ms +2.65 %
10000_development-mode_noop-loader + exec 1.81 s ± 52 ms 1.8 s ± 25 ms -0.84 %
10000_production-mode + exec 1.03 s ± 56 ms 1.02 s ± 58 ms -1.24 %
10000_production-mode_persistent-cold + exec 1.2 s ± 35 ms 1.17 s ± 15 ms -2.28 %
10000_production-mode_persistent-hot + exec 628 ms ± 15 ms 621 ms ± 8.8 ms -1.15 %
10000_production-mode_source-map + exec 1.19 s ± 50 ms 1.16 s ± 25 ms -2.67 %
arco-pro_development-mode + exec 1.28 s ± 88 ms 1.25 s ± 81 ms -2.37 %
arco-pro_development-mode_hmr + stats 33 ms ± 0.84 ms 33 ms ± 0.65 ms 0.00 %
arco-pro_production-mode + exec 2.36 s ± 144 ms 2.32 s ± 113 ms -1.70 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 2.43 s ± 80 ms 2.44 s ± 152 ms +0.23 %
arco-pro_production-mode_persistent-cold + exec 2.41 s ± 88 ms 2.42 s ± 98 ms +0.54 %
arco-pro_production-mode_persistent-hot + exec 351 ms ± 10 ms 345 ms ± 7.5 ms -1.71 %
arco-pro_production-mode_source-map + exec 2.76 s ± 96 ms 2.8 s ± 111 ms +1.39 %
arco-pro_production-mode_source-map_persistent-cold + exec 2.88 s ± 137 ms 2.81 s ± 54 ms -2.24 %
arco-pro_production-mode_source-map_persistent-hot + exec 564 ms ± 6 ms 560 ms ± 9.6 ms -0.78 %
arco-pro_production-mode_traverse-chunk-modules + exec 2.4 s ± 106 ms 2.37 s ± 67 ms -1.40 %
bundled-threejs_development-mode + exec 179 ms ± 3.4 ms 179 ms ± 5.7 ms +0.11 %
bundled-threejs_production-mode + exec 209 ms ± 6.5 ms 209 ms ± 6.2 ms -0.10 %
large-dyn-imports_development-mode + exec 1.18 s ± 52 ms 1.17 s ± 12 ms -0.93 %
large-dyn-imports_production-mode + exec 1.25 s ± 27 ms 1.25 s ± 33 ms -0.61 %
threejs_development-mode_10x + exec 796 ms ± 25 ms 786 ms ± 24 ms -1.21 %
threejs_development-mode_10x_hmr + stats 110 ms ± 4 ms 111 ms ± 5.8 ms +0.59 %
threejs_production-mode_10x + exec 2.85 s ± 21 ms 2.83 s ± 24 ms -0.51 %
threejs_production-mode_10x_persistent-cold + exec 2.97 s ± 39 ms 2.96 s ± 12 ms -0.49 %
threejs_production-mode_10x_persistent-hot + exec 377 ms ± 7.9 ms 375 ms ± 19 ms -0.74 %
threejs_production-mode_10x_source-map + exec 3.66 s ± 245 ms 3.65 s ± 271 ms -0.34 %
10000_big_production-mode_disable-minimize + rss memory 2204 MiB ± 43.1 MiB 2199 MiB ± 38.7 MiB -0.25 %
10000_development-mode + rss memory 548 MiB ± 5.72 MiB 537 MiB ± 6.96 MiB -2.12 %
10000_development-mode_hmr + rss memory 793 MiB ± 33.8 MiB 775 MiB ± 42.7 MiB -2.22 %
10000_development-mode_noop-loader + rss memory 820 MiB ± 10.4 MiB 817 MiB ± 8.89 MiB -0.46 %
10000_production-mode + rss memory 466 MiB ± 14.1 MiB 470 MiB ± 3.91 MiB +0.83 %
10000_production-mode_persistent-cold + rss memory 665 MiB ± 10.4 MiB 663 MiB ± 6.46 MiB -0.35 %
10000_production-mode_persistent-hot + rss memory 657 MiB ± 64.3 MiB 636 MiB ± 23.1 MiB -3.24 %
10000_production-mode_source-map + rss memory 480 MiB ± 22.3 MiB 457 MiB ± 25.7 MiB -4.76 %
arco-pro_development-mode + rss memory 400 MiB ± 5.27 MiB 413 MiB ± 26.3 MiB +3.24 %
arco-pro_development-mode_hmr + rss memory 427 MiB ± 13.8 MiB 433 MiB ± 8.32 MiB +1.53 %
arco-pro_production-mode + rss memory 573 MiB ± 7.95 MiB 579 MiB ± 11.8 MiB +1.14 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 592 MiB ± 7.48 MiB 597 MiB ± 11.5 MiB +0.96 %
arco-pro_production-mode_persistent-cold + rss memory 657 MiB ± 8.17 MiB 667 MiB ± 6.45 MiB +1.52 %
arco-pro_production-mode_persistent-hot + rss memory 297 MiB ± 9.89 MiB 297 MiB ± 15.2 MiB -0.07 %
arco-pro_production-mode_source-map + rss memory 670 MiB ± 10.5 MiB 685 MiB ± 17.9 MiB +2.19 %
arco-pro_production-mode_source-map_persistent-cold + rss memory 801 MiB ± 13.2 MiB 809 MiB ± 13.6 MiB +1.03 %
arco-pro_production-mode_source-map_persistent-hot + rss memory 446 MiB ± 10.7 MiB 449 MiB ± 8.3 MiB +0.74 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 577 MiB ± 8.02 MiB 578 MiB ± 52.3 MiB +0.26 %
bundled-threejs_development-mode + rss memory 125 MiB ± 4.82 MiB 134 MiB ± 4.36 MiB +7.07 %
bundled-threejs_production-mode + rss memory 141 MiB ± 1.5 MiB 148 MiB ± 2.33 MiB +5.02 %
large-dyn-imports_development-mode + rss memory 547 MiB ± 11 MiB 556 MiB ± 20.5 MiB +1.64 %
large-dyn-imports_production-mode + rss memory 411 MiB ± 6.98 MiB 413 MiB ± 1.66 MiB +0.43 %
threejs_development-mode_10x + rss memory 437 MiB ± 7.05 MiB 436 MiB ± 7.19 MiB -0.20 %
threejs_development-mode_10x_hmr + rss memory 594 MiB ± 15.6 MiB 594 MiB ± 13.4 MiB -0.01 %
threejs_production-mode_10x + rss memory 616 MiB ± 11.4 MiB 618 MiB ± 12.3 MiB +0.27 %
threejs_production-mode_10x_persistent-cold + rss memory 581 MiB ± 14.5 MiB 581 MiB ± 15.6 MiB -0.00 %
threejs_production-mode_10x_persistent-hot + rss memory 376 MiB ± 9.22 MiB 374 MiB ± 4.3 MiB -0.52 %
threejs_production-mode_10x_source-map + rss memory 723 MiB ± 18.3 MiB 725 MiB ± 9.13 MiB +0.27 %

Base persistent cache hit rate: 👍

Current persistent cache hit rate: 👍

@github-actions

Copy link
Copy Markdown
Contributor

📦 Binary Size-limit

Comparing 6b6988a to ci: disable debuginfo for the windows ci binding build (#14479) by pshu

❌ Size increased by 15.16MB from 52.77MB to 67.93MB (⬆️28.73%)

@codspeed-hq

codspeed-hq Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 50 untouched benchmarks
⏩ 38 skipped benchmarks1


Comparing perf/ci-cache-portable-noop (6b6988a) with main (bea2896)

Open in CodSpeed

Footnotes

  1. 38 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant