项目作者: MrRacoon

项目描述 :
Perf testing between multiple js-fp solutions
高级语言: JavaScript
项目地址: git://github.com/MrRacoon/jsFPerf.git
创建时间: 2017-03-14T02:41:17Z
项目社区:https://github.com/MrRacoon/jsFPerf

开源协议:

下载


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

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

  1. # run all tests with small samples
  2. jsfperf
  3. # run the find benchmark with wide samples
  4. jsfperf -w find
  5. # run the find and assocPath benchmarks with empty samples
  6. jsfperf --empty find assocPath
  7. # run all tests with deep samples
  8. jsfperf --deep