You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a low-hanging fruit for speeding up the import of ipyoptimade package.
pandas is currently imported only in src/ipyoptimade/subwidgets/output_summary.py
I've already done the same in AWB, so this win should directly translate into faster app load speed. (locally I see ~200ms difference, would probably be bigger in the Demo container).
I'll just note that the next big offender is optimade.models.
I suspect (but did not verify) that this is due to pydantic models. I wonder if using the defer_build option, as discussed here would improve that. But that would have to be made in the optimade package.
This is a low-hanging fruit for speeding up the import of
ipyoptimade
package.pandas
is currently imported only insrc/ipyoptimade/subwidgets/output_summary.py
I've already done the same in AWB, so this win should directly translate into faster app load speed. (locally I see ~200ms difference, would probably be bigger in the Demo container).
cc @superstar54 @unkcpz
For reference, I benchmark the import time with
To get this
The text was updated successfully, but these errors were encountered: