falcon-benchmark

v0.1.1-0
Javascript performance benchmark library

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 benchmark
  • fn - Function to benchmark
  • opts - Options object
    • runs - Number of cycles to execute the funcion, default 50000
npm i falcon-benchmark

Metadata

  • MIT
  • Whatever
  • IagoLast
  • released 7/31/2018

Downloads

Maintainers