1.1.0 • Published 7 years ago

jsfperf v1.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

jsFPerf

Build Status

To see the latest results, check the travis build.

Lots of talk about which immutable solution is faster and for what.

I made this repository because I was curious what the stats would be.

Installation

npm i -g jsfperf

Usage

By default, jsfperf will run all of the available tests with small sample sizes.

if You want to alter the size of the samples, you can choose between empty, singleton, small, medium, large.

If you only want to run a subset of the tests, you can append their names to the command.

# run all tests with small samples
jsfperf

# run the find benchmark with medium samples
jsfperf -m find

# run the find and assocPath benchmarks with empty samples
jsfperf --empty find assocPath

# run all tests with large samples
jsfperf --large