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

Could we increase CPU-bound performance by manually managing the GIL? #169

Open
alxmrs opened this issue Aug 23, 2024 · 2 comments
Open
Labels
enhancement New feature or request P3

Comments

@alxmrs
Copy link
Collaborator

alxmrs commented Aug 23, 2024

I’ve done some research on this for Cubed: cubed-dev/cubed#497

I’m curious that if it would be worth it to add a Cython build step to Xee. From SO and docs that I’ve read, there may be more CPU performance we can squeeze out if we manually manage the GIL when interacting with concurrent ThreadPools.

I suspect @shoyer may know if this is an issue, but measuring is always better than guessing.

@alxmrs
Copy link
Collaborator Author

alxmrs commented Aug 23, 2024

This relates to #29.

@naschmitz naschmitz added enhancement New feature or request P2 labels Sep 17, 2024
@naschmitz
Copy link
Collaborator

Good idea!

We're looking into EE backend improvements first. We'll queue this work up behind those improvements.

@naschmitz naschmitz added P3 and removed P2 labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3
Projects
None yet
Development

No branches or pull requests

2 participants