Skip to content

test: Benchmark Windows node_modules cache formats - #333627

Closed
Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
mainfrom
agents/windows-node-modules-cache-benchmark
Closed

test: Benchmark Windows node_modules cache formats#333627
Dmitriy Vasyura (dmitrivMS) wants to merge 1 commit into
mainfrom
agents/windows-node-modules-cache-benchmark

Conversation

@dmitrivMS

Copy link
Copy Markdown
Collaborator

Benchmark only — do not merge

Runs a one-off A/B comparison on the Windows Electron smoke runner using the restored production node_modules cache:

  • current solid 7-Zip extraction
  • native Windows bsdtar with zstd archive creation and extraction

The step verifies both formats extract the same number of files and prints archive sizes and durations. This PR will be closed after collecting the result; the production change will be prepared separately.

Temporarily compare the current 7-Zip cache with tar.zst on the Windows Electron smoke runner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 31, 2026 19:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

Review tier: Balanced
Findings: None

What changed in this PR

Adds a benchmark-only Windows smoke-runner comparison of 7-Zip and native bsdtar/zstd cache formats.

Changes:

  • Runs the benchmark on Electron smoke cache hits.
  • Measures archive size, creation/extraction duration, and validates file counts.
File Description
.github/​workflows/​pr-win32-test.yml Invokes the benchmark on eligible Windows jobs.
.github/​workflows/​node_modules_cache/​benchmark.ps1 Implements archive creation, extraction, validation, and reporting.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 752a80ff Current: 4a1244f7

Changed (1)

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersSearch/Light
Before After
before after

@dmitrivMS

Copy link
Copy Markdown
Collaborator Author

Closing the benchmark: Windows Server 2022 bsdtar 3.5.2 did not finish creating the tar.zst archive after 2h07m. The run was cancelled, so this format is not viable for the production cache.

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.

2 participants