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 · 0 comments
Open

Do some profiling to find overhead for small arrays #16

magnus-nomono opened this issue Jan 16, 2024 · 0 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?

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