node-jest/benchmarks/test-file-overhead
Lu zhiping c0606860b8 Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
..
.gitignore Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
0.test.js Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
README.md Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
package.json Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
prepare.sh Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00
yarn.lock Import Upstream version 27.5.1~ds+~cs69.51.22 2022-07-16 13:02:45 +08:00

README.md

First, run ./prepare.sh to generate the benchmark files. On Windows, use a Bash (WSL, Git, Cygwin …) to do this, but you can use CMD for the actual benchmark run if the CMD environment is what you want to benchmark for.

To run the benchmark, use a benchmarking tool such as hyperfine:

hyperfine -w 3 -m 10 ../../jest /tmp/other-jest-clone-to-compare-against/jest