forkeys-benchmark
v1.0.1
Published
Benchmarking for forkeys
Downloads
1
Readme
forkeys-benchmark
Benchmarking for forkeys and forkeys-compat against Vanilla JavaScript and popular alternatives.
Results
Function | Ops/sec | % of slowest
--- | --- | ---
forkeys(a, b)
| 687,027 | 107.494 %
forkeys-compat(a, b)
| 675,891 | 105.753 %
Object.keys(a).forEach(b)
| 639,125 | 100.000 %
The results above are benchmarked with Benchmark.js on an ASUS X500D Notebook (4GB RAM, quad-core 2.5 GHz).
Outputs
forkeys(a, b): 687027.1413794049
forkeys-compat(a, b): 675891.2375011845
Object.keys(a).forEach(b): 639124.5415610641
The results above are benchmarked with Benchmark.js on an ASUS X500D Notebook (4GB RAM, quad-core 2.5 GHz).