Skip to content

GH-118093: Fix off-by-one errors in tier-up thresholds #124447

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 1 commit into from
Sep 27, 2024

Conversation

brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Sep 24, 2024

Instead of warming up loops at 16 hits and side-exits at 64 hits, we're currently warming them up at 17 hits and 65 hits, respectively. This is just a simple change to fix the thresholds.

No change in stats, perf is 0.7% faster and memory is 0.5% lower, but that's probably just noise.

@brandtbucher brandtbucher added performance Performance or resource usage skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Sep 24, 2024
@brandtbucher brandtbucher self-assigned this Sep 24, 2024
@brandtbucher brandtbucher merged commit 26a7420 into python:main Sep 27, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage skip news sprint
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant