Skip to content

Wrapper around Benchmark.js with sane defaults and formatting

License

Notifications You must be signed in to change notification settings

smartholdem/benchmarker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

benchmarker

This package provides a wrapper around Benchmark.js with sane defaults and formatting.

Installation

yarn add @smartholdem/benchmarker --dev

Usage

import { benchmarker } from "@smartholdem/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.

License

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

About

Wrapper around Benchmark.js with sane defaults and formatting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published