0.0.2 • Published 1 month ago

@funish/bench v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@funish/bench

npm version npm downloads npm license Contributor Covenant

Programmatically create benchmark tests, powered by Funish.

Getting started

# npm
$ npm install @funish/bench

# yarn
$ yarn add @funish/bench

# pnpm
$ pnpm add @funish/bench

Usage

Bench

import { Bench } from "@funish/bench";

const bench = new Bench({
  times: 1000,
  unit: "ns",
});

bench.add("test", () => {
  // ...
});

bench.print();

Interfaces

See it on JSDoc.

License

0.0.2-edge.5

1 month ago

0.0.2

1 month ago

0.0.2-edge.4

1 month ago

0.0.2-edge.3

2 months ago

0.0.2-edge.2

8 months ago

0.0.2-edge.1

8 months ago

0.0.2-edge.0

10 months ago

0.0.1

1 year ago

0.0.1-edge.1

1 year ago

0.0.1-edge.0

1 year ago

0.0.0

1 year ago