Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
brandtbucher merged 1 commit into
python:mainpython/cpython:mainfrom
brandtbucher:off-by-onebrandtbucher/cpython:off-by-oneCopy head branch name to clipboard
Sep 27, 2024
Merged

GH-118093: Fix off-by-one errors in tier-up thresholds#124447
brandtbucher merged 1 commit into
python:mainpython/cpython:mainfrom
brandtbucher:off-by-onebrandtbucher/cpython:off-by-oneCopy head branch name to clipboard

Conversation

@brandtbucher

@brandtbucher brandtbucher commented Sep 24, 2024

Copy link
Copy Markdown
Member

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
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.