-
Notifications
You must be signed in to change notification settings - Fork 2
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
Integration of asv benchmark #21
base: main
Are you sure you want to change the base?
Conversation
Float32 fail and CI runs through. Need to find a way that a failure in benchmarks results in a failure of CI |
Because the computation of the input for the code that is benchmarked is very slow (30s on CI), we need to cache it on disk (class variables don't work, they are also multiple times initialized). Main problem for caching the inputs is that one needs to pickle them. The current Spline is not pickable, because it uses local definition of functions (equistore.Labels is also not pickable, but the workaround is rather simple). I would proceed when metatensor/featomic#212 is merged and then using the same Spliner to also not have duplicated code in the two repos. That introduces a dependency on rascaline, but so be it. |
Draft of asv benchmark. Can be run with
tox -e benchmarks