minibench
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

MiniBench

Minimal benchmark library for nodejs.

Installation

# npm
npm install --dev  minibench

# yarn
yarn add --dev minibench

Usage

// optional options
const options {
  iterations: 1000,
  logger: console.log,
};

new Benchmark(options) // options are optional
  .add("test1", () => foo())
  .add("test2", () => bar())
  .run()

Readme

Keywords

none

Package Sidebar

Install

npm i minibench

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • marvinhagemeister