Skip to content

conformance tests: drop timing information #2070

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

Merged
merged 2 commits into from
Aug 19, 2025

Conversation

JelleZijlstra
Copy link
Member

Timing information is nice to have but the current data is not very reliable,
as it is the timing on whatever machine was used by the person who most recently
regenerated the results. It's also a big source of merge conflicts, basically
meaning that every pair of changes to the conformance suite will merge conflict
with each other.

To make it more pleasant to work with the conformance suite, let's just drop the timings.

Timing information is nice to have but the current data is not very reliable,
as it is the timing on whatever machine was used by the person who most recently
regenerated the results. It's also a big source of merge conflicts, basically
meaning that every pair of changes to the conformance suite will merge conflict
with each other.

To make it more pleasant to work with the conformance suite, let's just drop the timings.
@davidhalter
Copy link
Contributor

I agree that it's a big source of issues with merge conflicts. I have always liked it being there as a user (even before Zuban).

I think the only other option is to add a flag like --change-timings, so that it wouldn't change every time. But it might also be fine to drop it, since it is really unreliable.

@JelleZijlstra
Copy link
Member Author

There is an existing flag, I think it was --skip-timings. But it's not the default, and if we made it the default, we'd probably just end up with really outdated timings.

@davidhalter
Copy link
Contributor

I'm not against removing the timing information. I just always liked that information as a user, even if it was a bit imprecise. For example I would have guessed pyre to be faster than Mypy/Pyright, but that does not seem true at all (at least in in this case).

I don't think the timings need to be that precise, but feel free to merge anyway.

@hauntsaninja hauntsaninja merged commit 9d613b1 into python:main Aug 19, 2025
4 checks passed
@JelleZijlstra JelleZijlstra deleted the drop-timing branch August 19, 2025 04:15
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.

4 participants