Daniel Mosesson
08/03/2022, 4:09 PMowen
08/03/2022, 4:30 PMDaniel Mosesson
08/04/2022, 12:47 PMowen
08/04/2022, 4:41 PMload_assets_from_package_module
, or load_assets_from_dbt_project
? And did this import time increase significantly recently, or has it always been about this slow? My instinct is that there should definitely be some way to make package import faster.Daniel Mosesson
08/04/2022, 8:54 PMload_assets_from_package_modules
(not sure if the s
is important there, but timing that seems like its pretty fast (< 1 second).
The only thing I have found so far is that from dagster import Field
takes 9 seconds which is surprising. A small amount of investigating shows that it is almost entirely from dagster._check
which may or may not help.
Package import time has been creeping up over time, and we are currently on dagster 0.15.7.Daniel Mosesson
08/04/2022, 9:02 PMowen
08/04/2022, 10:26 PMdagster
package can be slow to import, but that's on the order of like .5-1 second, not 30 🤯). My guess is that there's some weird OS/python installation/machine issue going on, as we haven't seen any other reports of this (and I can replicate), but let me know if I can be useful here. We're also restructuring how our imports work in today's release, but I don't think that's super likely to change anything.Daniel Mosesson
08/05/2022, 12:29 PM_check
import is fast (even on Windows)?owen
08/05/2022, 9:17 PMowen
08/05/2022, 9:17 PMba
08/05/2022, 9:34 PMba
08/05/2022, 9:34 PM