diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 4fb45d50..52487ae3 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -69,7 +69,7 @@ jobs: codspeed-walltime: name: Run CodSpeed walltime - runs-on: "codspeed-macro" + runs-on: codspeed-macro-x64-ryzen-9950x-ubuntu-24-04 steps: - uses: "actions/checkout@v4" with: @@ -83,7 +83,7 @@ jobs: - name: Restore turbo cache uses: ./.github/actions/turbo-cache # The native addon prebuild links against the host's libstdc++, which - # Turbo does not hash; keep GitHub's arm64 runners' builds out. + # Turbo does not hash; keep GitHub-hosted x64 runners' builds out. with: key-suffix: codspeed-macro - run: pnpm install --frozen-lockfile --prefer-offline @@ -136,7 +136,7 @@ jobs: electron-e2e: name: Run electron inbox e2e - runs-on: codspeed-macro + runs-on: codspeed-macro-x64-ryzen-9950x-ubuntu-24-04 steps: - name: Checkout uses: actions/checkout@v6 @@ -190,4 +190,4 @@ jobs: working-directory: examples/with-electron-and-walltime run: xvfb-run -a pnpm bench:electron mode: walltime - runner-version: v4.17.7-alpha.2 + runner-version: latest diff --git a/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts b/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts index 0ec20d59..9101407a 100644 --- a/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts +++ b/examples/with-electron-and-walltime/apps/electron/test/inbox.e2e.ts @@ -30,6 +30,8 @@ await bench( kind: "electron", appPath: path.join(appRoot, "out/main/index.js"), cwd: appRoot, + // Keep Chromium's shared memory in /tmp: CI runners may lack /dev/shm. + electronArgs: ["--disable-dev-shm-usage"], }, beforeRound: async ({ page }) => { page.setDefaultTimeout(180_000);