https://github.com/mrracoon/jsfperf
Perf testing between multiple js-fp solutions
https://github.com/mrracoon/jsfperf
immutablejs javascript lodash performance ramda
Last synced: 6 months ago
JSON representation
Perf testing between multiple js-fp solutions
- Host: GitHub
- URL: https://github.com/mrracoon/jsfperf
- Owner: MrRacoon
- Created: 2017-03-14T02:41:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T09:52:56.000Z (almost 9 years ago)
- Last Synced: 2025-06-17T05:06:25.888Z (7 months ago)
- Topics: immutablejs, javascript, lodash, performance, ramda
- Language: JavaScript
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jsFPerf
=======
[](https://travis-ci.org/MrRacoon/jsFPerf)
**To see the latest results, check the [travis build](https://travis-ci.org/MrRacoon/jsFPerf).**
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
------------
```shell
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`, `deep`, `wide`.
If you only want to run a subset of the tests, you can append their names to the command.
```shell
# run all tests with small samples
jsfperf
# run the find benchmark with wide samples
jsfperf -w find
# run the find and assocPath benchmarks with empty samples
jsfperf --empty find assocPath
# run all tests with deep samples
jsfperf --deep
```