Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: don't perform V8 instrumenting if !collectCoverage #13282

Merged
merged 3 commits into from Oct 8, 2022

Commits on Oct 3, 2022

  1. Don't perform V8 instrumenting if !collectCoverage

    If `coverageProvider: "v8"` is provided in the Jest config, then the
    overhead of V8 instrumenting occurs, even if `collectCoverage: false`.
    
    This saves about ~100ms of Jest-invocation-time on my machine.
    
    Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
    mitchhentgesspotify committed Oct 3, 2022
    Copy the full SHA
    a8e5994 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
    mitchhentgesspotify committed Oct 3, 2022
    Copy the full SHA
    60e10d6 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2022

  1. Copy the full SHA
    4636e69 View commit details
    Browse the repository at this point in the history