-
Notifications
You must be signed in to change notification settings - Fork 39
import sgkit takes ~1.5s #931
Copy link
Copy link
Open
Description
For tools using the CLI this amount of delay feels excessive. Around 1s of this time is performing imports. Here's the import flame graph:
(0.1s on xarray.tutorial?!?)
I assume some of these could be imported only when they are needed - although given that many of the imports are referenced in typing specifications that might not be possible.
I'm not sure yet what the remaining 0.5s is - a cProfile callgraph is pretty useless on import but I think there is a way around that by profiling the individual sgkit files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
