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

PERF: more optimization at compile time #705

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

cookpa
Copy link
Member

@cookpa cookpa commented Sep 4, 2024

This might affect wheel size, making a PR so I can make some wheels to compare

@cookpa
Copy link
Member Author

cookpa commented Sep 4, 2024

This potentially fixes #703 by adding compile time optimization

@coveralls
Copy link

Coverage Status

coverage: 84.726%. remained the same
when pulling 550400a on build_optimization
into 8911caa on master.

@cookpa
Copy link
Member Author

cookpa commented Sep 4, 2024

Comparing wheel size

https://github.com/ANTsX/ANTsPy/actions/runs/10694558339

vs older

https://github.com/ANTsX/ANTsPy/actions/runs/10676912823

The additional optimization adds a few Mb, but I'd say it's worth it for the speed increase.

@cookpa
Copy link
Member Author

cookpa commented Sep 4, 2024

I haven't tested Windows, but from what I can tell in the scripts it should use default optimization settings in ITK, so hopefully it's good to go. Linux and Mac seem substantially faster, so I'm thinking to merge this.

@cookpa cookpa merged commit 504a43a into master Sep 4, 2024
18 checks passed
@cookpa cookpa deleted the build_optimization branch September 4, 2024 22:57
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.

Speed difference between binaries and python wrappers
2 participants