Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-benchmarks

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-benchmarks

Benchmark Jest test runs

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

jest-benchmarks

A simple way to run benchmarks on Jest

npx jest-benchmarks

Number of runs: 1 Average: 2.879s Max: 2.879s Min: 2.879s

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

FAQs

Package last updated on 18 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc