forkeys-benchmark

1.0.1 • Public • Published

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).

License

The Unlicense (see distributed LICENSE file)

/forkeys-benchmark/

    Package Sidebar

    Install

    npm i forkeys-benchmark

    Weekly Downloads

    1

    Version

    1.0.1

    License

    Unlicense

    Last publish

    Collaborators

    • jameskmonger