1.0.0 • Published 3 years ago

@konceiver/benchmarker v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@konceiver/benchmarker

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package was created by, and is maintained by Brian Faust, and provides a wrapper around Benchmark.js with sane defaults and formatting.

Installation

yarn add @konceiver/benchmarker --dev

Usage

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

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

Testing

yarn test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

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

Credits

This project exists thanks to all the people who contribute.

Support Us

We invest a lot of resources into creating and maintaining our packages. You can support us and the development through GitHub Sponsors.

License

Benchmarker is an open-sourced software licensed under the MIT.