Benchmark
Produced by bench/runner.js - 7 trials per category, rotation order, trial 1 dropped, median-of-medians with bootstrap 95% CI. Random input from a 64 K-entry ring (xorshift32, deterministic).
System
Head-to-head
Where a direct comparison exists. Ratios are medians; win requires non-overlapping 95% CIs.
All results
| Category | Library | Median op/s | Min | Max | p50 ns | p95 ns | p99 ns | relMAD | CPU % | RSS MB | Sys CPU (start→end) | 95% CI | Status |
|---|
Methodology
- Isolation - every measurement runs in a fresh Node subprocess. No JIT state carries between tests.
- Warm-up - 500 ms minimum, with adaptive chunk sizing, stopping when drift over the last 8 chunks is <1.5 %.
- Sampling - 12 × 500 ms windows per process; median used as the trial result.
- Rotation - trial t starts at position t in the test list. Over 7 trials, every test appears at every position once. Thermal events that strike a position are shared evenly.
- Aggregation - trial 1 is dropped (cold-machine noise), then median-of-medians with MAD and bootstrap 95 % CI from 2000 resamples.
- Input - random coordinates from a 64 K-entry ring buffer, generated by xorshift32 (deterministic, no `Math.random`). This is what distinguishes this benchmark from the previous one, which fed identical inputs to every call and inflated all numbers by ~3×.