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

Reduce the variability of the mypy benchmark #14

Merged
merged 2 commits into from
Jan 27, 2023
Merged

Conversation

mdboom
Copy link
Collaborator

@mdboom mdboom commented Jan 27, 2023

The first 2 runs of mypy read data from disk into a mypy-internal in-memory
cache. This change attempts to reduce the impact of that I/O, which otherwise
causes the results to have an excessively wide range.

Additionally, since this makes the benchmark read as significantly "faster",
this renames the benchmark so it would be accidentally compared with baselines
against the old version.

There is more discussion here: faster-cpython/ideas#543

The first 2 runs of mypy read data from disk into a mypy-internal in-memory
cache.  This change attempts to reduce the impact of that I/O, which otherwise
causes the results to have an excessively wide range.

Additionally, since this makes the benchmark read as significantly "faster",
this renames the benchmark so it would be accidentally compared with baselines
against the old version.

There is more discussion here: faster-cpython/ideas#543
@kmod kmod merged commit b387f4c into pyston:main Jan 27, 2023
@kmod
Copy link
Contributor

kmod commented Jan 27, 2023

Ah ok, good catch!

@kmod
Copy link
Contributor

kmod commented Jan 27, 2023

I gave you access to this repo so you can merge your own PRs; I don't think I need to be a step in the process

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

Successfully merging this pull request may close these issues.

2 participants