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

Compile Python with optimizations enabled #78

Closed
wants to merge 2 commits into from

Conversation

RealOrangeOne
Copy link
Member

This could give ~30% performance improvement on pure Python workloads. Note that image processing itself is unaffected by this, but much of the position calculations etc will be.

See https://github.com/pyenv/pyenv/blob/master/plugins/python-build/README.md#building-for-maximum-performance

This could give ~30% performance improvement on pure Python workloads. Note that image processing itself is unaffected by this, but much of the position calculations etc will be.
raccube
raccube previously approved these changes Nov 2, 2023
This ensures we can see that the compilation is still running correctly.
@WillB97
Copy link
Contributor

WillB97 commented Nov 2, 2023

Given the impact to build time I would like to see if this actually making a tangible difference before adding it.

@RealOrangeOne
Copy link
Member Author

Strong agreement from me - I was not expecting a ~30x slowdown in build time. I'll see if making some tweaks to the compiler arguments get us some of the benefits with only a slight hit.

@RealOrangeOne RealOrangeOne marked this pull request as draft November 2, 2023 20:43
@RealOrangeOne RealOrangeOne deleted the feature/optimize-python branch July 14, 2024 08:46
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.

3 participants