falcon-benchmark
v0.1.1-0
Published
Javascript performance benchmark library
Downloads
4
Readme
falcon-benchmark
Javascript performance benchmark library
Getting started
Include the script in your html or use it from npm
.
API
benchmark(name, fn, [opts])
Compute stats about the given function.
name
- Name of the benchmarkfn
- Function to benchmarkopts
- Options objectruns
- Number of cycles to execute the funcion, default 50000