diff --git a/.github/workflows/client-nav-benchmarks.yml b/.github/workflows/benchmarks.yml similarity index 98% rename from .github/workflows/client-nav-benchmarks.yml rename to .github/workflows/benchmarks.yml index 3862ea66dce..bbc3a1fa243 100644 --- a/.github/workflows/client-nav-benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -22,10 +22,11 @@ on: - '!packages/**/__tests__/**' - '!packages/**/*.test.*' - 'benchmarks/**' + - '.nvmrc' workflow_dispatch: concurrency: - group: client-nav-benchmarks-${{ github.ref }} + group: benchmarks-${{ github.ref }} cancel-in-progress: false queue: single diff --git a/.nvmrc b/.nvmrc index b4040276043..8a94b991271 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -24.8.0 +26.10.0 diff --git a/benchmarks/README.md b/benchmarks/README.md index 7e9a5f42480..94d2f31802c 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -76,7 +76,7 @@ Node and use `setImmediate` directly. Dispatch the existing `Benchmarks` workflow against an unchanged branch: ```sh -gh workflow run client-nav-benchmarks.yml --ref +gh workflow run benchmarks.yml --ref ``` Wait for each workflow run to finish before dispatching the next repetition at diff --git a/benchmarks/memory/README.md b/benchmarks/memory/README.md index f9aa73e53cb..18b68768f9b 100644 --- a/benchmarks/memory/README.md +++ b/benchmarks/memory/README.md @@ -2,7 +2,7 @@ Dedicated memory benchmarks for TanStack Router / Start, measured with the CodSpeed **memory instrument** (`mode: memory` in -`.github/workflows/client-nav-benchmarks.yml`). The workflow runs on every +`.github/workflows/benchmarks.yml`). The workflow runs on every push to `main` except docs/examples/e2e-only pushes: CodSpeed compares a PR against the run on its merge-base commit, and a main commit without a run makes CodSpeed silently fall back to an older base — a single outlier base run then @@ -258,7 +258,7 @@ WITH_INSTRUMENTATION=1 codspeed run --mode memory -- pnpm nx run @benchmarks/mem Run the benchmark workflow on an experiment branch: ```bash -gh workflow run client-nav-benchmarks.yml --ref +gh workflow run benchmarks.yml --ref ``` Repeat at the same commit, using distinct branch names if runs should overlap