Skip to content
A wrapper around Benchmark.js that provides sane defaults and formatting
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
__tests__
src
.editorconfig
.gitignore
.prettierignore
.prettierrc.json
CHANGELOG.md
LICENSE
README.md
jest.config.js
package.json
renovate.json
tsconfig.json
tslint-project.json
tslint.json
yarn.lock

README.md

Benchmarker

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

Installation

$ yarn add @typeskrift/benchmarker --dev

Testing

$ yarn test

Example

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

This project exists thanks to all the people who contribute.

License

Mozilla Public License Version 2.0 (MPL-2.0).

You can’t perform that action at this time.