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

Do some profiling to find overhead for small arrays #16

Open
magnus-nomono opened this issue Jan 16, 2024 · 2 comments
Open

Do some profiling to find overhead for small arrays #16

magnus-nomono opened this issue Jan 16, 2024 · 2 comments

Comments

@magnus-nomono
Copy link
Contributor

When running benchmarks of a lot of small arrays I see that there is almost no difference in execution time between a 100_000 9 element arrays and a 100_000 23 element arrays. This indicates that we have some constant overhead dominating for small arrays.

I have already tried removing the python loop structure (notorious for being slow) from the measurements without it making much of a difference. Could it be overhead with cffi? Or something on the python side in the init?

@iver56
Copy link
Collaborator

iver56 commented Aug 1, 2024

Not a priority IMO. If you disagree, feel free to reopen.

@iver56 iver56 closed this as completed Aug 1, 2024
@magnus-nomono
Copy link
Contributor Author

Not a priority I agree, but don't think it should be closed before looking closer at it. We have so few issues we can afford to let low priority issues be without worrying about clutter

@magnus-nomono magnus-nomono reopened this Aug 1, 2024
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