Build and run small JavaScript benchmarks in your browser — compare snippets with real timings.
performance.now()(单调高精度时钟)而非 Date.now()。💡 测试运行期间页面可能短暂卡顿,属正常现象。结果受浏览器/设备影响,仅供参考。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Ops per second | ops/sec = valid cycles / elapsed seconds | Benchmark methodology |
| Error margin | relative standard deviation reported as a percentage | Benchmark methodology |
| Warm-up | JIT warm-up skews early runs; sample after warm-up | Benchmark methodology |