diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 65d14b4..115e00c 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -4,7 +4,7 @@ ## Environment -- **Date**: 2026-09-23 +- **Date**: 2026-09-22 - **Commit**: daf0fed - **Node**: v22.22.2 - **OS**: linux diff --git a/bench/results.json b/bench/results.json index 87368b8..cba5976 100644 --- a/bench/results.json +++ b/bench/results.json @@ -1,6 +1,6 @@ { "env": { - "date": "2026-09-23", + "date": "2026-09-22", "commit": "daf0fed", "node": "v22.22.2", "os": "linux", diff --git a/bench/run.ts b/bench/run.ts index d913849..9255d8d 100644 --- a/bench/run.ts +++ b/bench/run.ts @@ -212,7 +212,10 @@ async function main(): Promise { const commit = execSync('git rev-parse --short HEAD').toString().trim(); const data: RenderData = { env: { - date: new Date().toISOString().slice(0, 10), + // Project time, not the runner's. A benchmark is often driven over ssh against a box that + // keeps UTC, and a run made on the evening of the 22nd then dates itself the 23rd — which + // reads as a day of drift against the commit and the changelog entry beside it. + date: new Date().toLocaleDateString('en-CA', { timeZone: 'America/Chicago' }), commit, node: process.version, os: os.platform(), diff --git a/bench/tsconfig.json b/bench/tsconfig.json index 09614f5..ce8d75c 100644 --- a/bench/tsconfig.json +++ b/bench/tsconfig.json @@ -1,5 +1,14 @@ { "extends": "../tsconfig.json", - "compilerOptions": { "experimentalDecorators": true, "emitDecoratorMetadata": true, "noEmit": true }, + "compilerOptions": { + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "noEmit": true, + // The bench servers are ES modules, run by tsx, Deno and Bun rather than by the CommonJS build + // the root config describes. `serveDeno`/`serveBun` became async in 26.9.0-beta.2, so two of + // them now open with a top-level `await`, which `module: commonjs` rejects outright. + "module": "es2022", + "moduleResolution": "bundler" + }, "include": ["."] }