Skip to content

rogeliog/jest-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8a6fa28 · Oct 28, 2018

History

17 Commits
Oct 17, 2018
Oct 17, 2018
Oct 18, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 17, 2018
Oct 28, 2018
Oct 17, 2018
Oct 18, 2018
Oct 18, 2018

Repository files navigation

jest-benchmarks

A simple way to run benchmarks on Jest

npx jest-benchmarks

demo

Options

args

Any arguments provided will be passed to the jest process.

For example

npx jest-benchmarks my-tests

will run only the tests matching my-tests

NUM_RUNS

By default jest-benchmarks runs the tests 10 times. You can modify with the NUM_RUNS environment variable

NUM_RUNS=100 npx jest-benchmarks

JEST_BIN

By default jest-benchmarks uses node_modules/.bin/jest as the Jest binary. You can modify with the JEST_BIN environment variable

JEST_BIN=/usr/local/bin/jest npx jest-benchmarks

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published