Skip to content

Commit eed8423

Browse files
committed
Clarify runtime cases
1 parent 431d511 commit eed8423

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/instructions/benchmark.instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ applyTo: '**/*.benchmark.ts'
1111
- Use `-t` to get the path, then:
1212
- `npm run benchmark -- -s "<path>" out-test/benchmark/Event.benchmark.js`
1313

14+
When writing instructions, use `RuntimeCase` to measure pure runtime in ms, use `ThroughputRuntimeCase` when measuring throughput in MB/s.
15+
1416
Notes:
1517
- Benchmarks run from built JS in `out-test/benchmark/*.benchmark.js`.
1618
- Keep `NODE_PATH=./out` (handled by the npm script).

0 commit comments

Comments
 (0)