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

optimize CFLAGS from better performance #39

Open
breznak opened this issue Aug 31, 2015 · 0 comments
Open

optimize CFLAGS from better performance #39

breznak opened this issue Aug 31, 2015 · 0 comments

Comments

@breznak
Copy link

breznak commented Aug 31, 2015

I've noticed this library is built without any performance related compiler flags. Or at least it is not documented anywhere. It would be interesting to investigate performance gain from using eg:
CFLAGS="-Ofast -march=native -fuse-linker-plugin -flto-report -pipe" LDFLAGS="-O3 -flto" python setup.py build
for the source install.
Note: for binary distribution remove -march=native or replace it with some more generic CPU architecture.

I would have tested this, but I'm stuck at #38

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

1 participant