Closed maurerle closed 4 months ago
with only needed packages:
with all packages installed:
running
python3 -X importtime cli.py 2> out.profile
and visualizing it with
tuna out.profile
I don't think that there is anything we can do about this. We should focus on the improvements which can be made in #321
I found that the startup time of assume can be relatively high with multiple seconds. This is due to the time it takes to import packages in python.
resulting in 3.3s vs 0.6s of init duration (if pypsa, torch and pyomo is not installed).
There is nothing we can do about it and its not a major issue. Just keep in mind, that it is faster if those two packages are not installed if you do not need them I am just looking into performance generally and wanted to document this here.