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

Why is spawning a new process per benchmark more accurate? #66

Open
sleighsoft opened this issue May 2, 2020 · 0 comments
Open

Why is spawning a new process per benchmark more accurate? #66

sleighsoft opened this issue May 2, 2020 · 0 comments

Comments

@sleighsoft
Copy link

sleighsoft commented May 2, 2020

I stumpled upon an explanation of the differences between timeit and pyperf here: https://pyperf.readthedocs.io/en/latest/cli.html#timeit-versus-pyperf-timeit

I am wondering why spawning a new process to benchmark is better?

Edit: I assume this has something to do with it? https://vstinner.github.io/journey-to-stable-benchmark-average.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant