We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importing paramak on the laptop over 1.6 seconds and I was wondering if this can be decreased.
python 3.7 upwards has a inbuild profiler
python3.7 -X importtime -c "import paramak" 2> import.log
and packages like tuna can display the times
pip install tuna tuna import.log
I am wondering if a few import statements can be refactored
e.g
instead of import numpy we could only import the parts used from numpy import linespace
import numpy
from numpy import linespace
this might save a little time as suggested here https://stackoverflow.com/questions/38768129/how-to-reduce-the-time-of-python-import-modules
The text was updated successfully, but these errors were encountered:
No branches or pull requests
importing paramak on the laptop over 1.6 seconds and I was wondering if this can be decreased.
python 3.7 upwards has a inbuild profiler
python3.7 -X importtime -c "import paramak" 2> import.log
and packages like tuna can display the times
I am wondering if a few import statements can be refactored
e.g
instead of
import numpy
we could only import the parts usedfrom numpy import linespace
this might save a little time as suggested here https://stackoverflow.com/questions/38768129/how-to-reduce-the-time-of-python-import-modules
The text was updated successfully, but these errors were encountered: