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

Consider adding the --enable-optimizations Python configure argument #108

Closed
illia-v opened this issue Nov 29, 2021 · 1 comment
Closed

Comments

@illia-v
Copy link

illia-v commented Nov 29, 2021

Please consider setting CONFIGURE_OPTS="--enable-optimizations" when Python is installed using pyenv, this enables Profile Guided Optimization resulting in a noticeable effect on Python speed.

BTW, official Python Docker images enabled this optimization some time ago, please check docker-library/python#160.
They decided to set PROFILE_TASK in addition to enabling optimizations when Python <= 3.7 is compiled because of some issues.

@FelicianoTech
Copy link
Contributor

Completed: #117

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

No branches or pull requests

2 participants