-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
The time that it takes for STUMPY to get imported has been growing. This is assessed via:
$ python -X importtime -c "import stumpy"
Which shows the bulk of the import time being spent here:
...
import time: 1476386 | 1820531 | stumpy.core
import time: 1137810 | 1137810 | stumpy.aamp
import time: 2498991 | 3636800 | stumpy.stump
import time: 342 | 342 | stumpy.aamped
import time: 476 | 817 | stumpy.stumped
import time: 844657 | 844657 | stumpy.maamp
import time: 718504 | 1563161 | stumpy.mstump
import time: 351 | 351 | stumpy.maamped
import time: 472 | 823 | stumpy.mstumped
import time: 301 | 301 | stumpy.aampi
import time: 195 | 195 | stumpy.chains
import time: 205 | 205 | stumpy.floss
import time: 254 | 254 | stumpy.aamp_ostinato
import time: 291 | 544 | stumpy.ostinato
import time: 1209154 | 1209154 | stumpy.scraamp
import time: 794046 | 2003200 | stumpy.scrump
import time: 1048 | 1048 | stumpy.stumpi
import time: 160 | 160 | stumpy.aampdist
import time: 199 | 358 | stumpy.mpdist
import time: 290 | 290 | stumpy.aamp_motifs
import time: 183 | 473 | stumpy.motifs
import time: 146 | 146 | stumpy.aampdist_snippets
import time: 174 | 320 | stumpy.snippets
import time: 236 | 236 | stumpy.stimp
import time: 6004 | 9125575 | stumpy
It would be great to figure out how to reduce this import time down. It appears that it has something to do with how we are importing functions into __init__.py
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed