From eed84230302b9ce01a138f517e3240038d9c6d0a Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Sat, 31 Jan 2026 15:30:16 -0800 Subject: [PATCH] Clarify runtime cases --- .github/instructions/benchmark.instructions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/instructions/benchmark.instructions.md b/.github/instructions/benchmark.instructions.md index 94f5c7a7..2e586708 100644 --- a/.github/instructions/benchmark.instructions.md +++ b/.github/instructions/benchmark.instructions.md @@ -11,6 +11,8 @@ applyTo: '**/*.benchmark.ts' - Use `-t` to get the path, then: - `npm run benchmark -- -s "" out-test/benchmark/Event.benchmark.js` +When writing instructions, use `RuntimeCase` to measure pure runtime in ms, use `ThroughputRuntimeCase` when measuring throughput in MB/s. + Notes: - Benchmarks run from built JS in `out-test/benchmark/*.benchmark.js`. - Keep `NODE_PATH=./out` (handled by the npm script).