0.1.2 • Published 5 years ago

@faustbrian/benchmarker v0.1.2

Weekly downloads
1,685
License
MIT
Repository
github
Last release
5 years ago

Benchmarker

A wrapper around Benchmark.js that provides sane defaults and formatting

Installation

$ yarn add @faustbrian/benchmarker --dev

Testing

$ yarn test

Example

import { benchmarker } from "@faustbrian/benchmarker";

benchmarker("utils", [
	{
		name: "map",
		scenarios: require("./map"),
	},
	{
		name: "filter",
		scenarios: require("./filter"),
	},
	{
		name: "reduce",
		scenarios: require("./reduce"),
	},
]);

Security

If you discover a security vulnerability within this package, please send an e-mail to hello@basecode.sh. All security vulnerabilities will be promptly addressed.

Credits

License

MIT © Brian Faust

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago