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

Utils performance for Nants > 2,147,483,648 #1354

Open
mkolopanis opened this issue Nov 2, 2023 · 1 comment
Open

Utils performance for Nants > 2,147,483,648 #1354

mkolopanis opened this issue Nov 2, 2023 · 1 comment

Comments

@mkolopanis
Copy link
Member

In the largest antennas configuration there is a performance degradation compared to the other utils functions.

This is most likely from the python interactions in the large Nants utility functions.
image

I've tried messing with the cython compiler directives like cdivision but it does not seem to fix this issue.

I first noticed this when toying with writing the utilites in rust and noticed the factor of ~10 slow down
image
compared to the 2048 implementation (and 256)

image

@mkolopanis
Copy link
Member Author

I would have expected switching to cdivision, and casting 2147483648 to a numpy.uint64_t to resolve this issue. It helps but not fully resolved.
image

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