Skip to content

tools: improve benchmark build cache reuse - #65859

Open
panva wants to merge 2 commits into
nodejs:mainfrom
panva:share-benchmark-cache
Open

tools: improve benchmark build cache reuse#65859
panva wants to merge 2 commits into
nodejs:mainfrom
panva:share-benchmark-cache

Conversation

@panva

@panva panva commented Sep 6, 2026

Copy link
Copy Markdown
Member

This ought to speed up benchmark runs by reusing the Perfetto-enabled V8 build already cached by shared-library CI on Linux x64. It also fixes the sccache setup while keeping cache access read-only and preserving incremental PR rebuilds.

Match Linux x64 benchmark builds to the Perfetto-enabled V8 configuration already cached by shared-library CI.

Enable the GHA sccache backend in read-only mode for base builds. Retain the compiler wrapper for incremental PR builds, but stop the remote-backed server and use a read-only local cache for PR code.

Assisted-by: GitHub Copilot

Match Linux x64 benchmark builds to the Perfetto-enabled V8
configuration already cached by shared-library CI.

Enable the GHA sccache backend in read-only mode for base builds.
Retain the compiler wrapper for incremental PR builds, but stop the
remote-backed server and use a read-only local cache for PR code.

Assisted-by: GitHub Copilot
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
@panva
panva requested a review from aduh95 September 6, 2026 15:54
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/actions

@nodejs-github-bot nodejs-github-bot added the meta Issues and PRs related to the general management of the project. label Sep 6, 2026
Comment thread .github/workflows/benchmark.yml Outdated
Comment thread .github/workflows/benchmark.yml Outdated
Comment thread .github/workflows/benchmark.yml Outdated
- runner: macos-latest
system: aarch64-darwin
name: '${{ matrix.system }}: with shared libraries'
name: '${{ matrix.system }}: with shared libraries${{ matrix.perfetto && '' and perfetto'' || '''' }}'

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.

FWIW this is going away in #65794

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

Labels

meta Issues and PRs related to the general management of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants