Skip to content

python3: enable compiler optimizations#41

Merged
jamesturton merged 1 commit intoOpenCentauri:mainfrom
timiv:python3-enable-lto-pgo
Mar 29, 2026
Merged

python3: enable compiler optimizations#41
jamesturton merged 1 commit intoOpenCentauri:mainfrom
timiv:python3-enable-lto-pgo

Conversation

@timiv
Copy link
Copy Markdown
Contributor

@timiv timiv commented Mar 29, 2026

Enable CPython link-time and profile-guided optimization for the target build.

This reduces interpreter-heavy workload time by roughly one fifth overall in Klipper-relevant hot paths such as arc generation.

Enable CPython link-time and profile-guided optimization for the target build.

This reduces interpreter-heavy workload time by roughly one fifth overall
in Klipper-relevant hot paths such as arc generation.
@timiv timiv temporarily deployed to approval-needed March 29, 2026 19:01 — with GitHub Actions Inactive
@jamesturton
Copy link
Copy Markdown
Collaborator

Well this is pretty awesome! Great find! 😃

@jamesturton jamesturton merged commit a5885f5 into OpenCentauri:main Mar 29, 2026
2 of 3 checks passed
@timiv timiv deleted the python3-enable-lto-pgo branch March 29, 2026 19:54
@timiv timiv mentioned this pull request Apr 3, 2026
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