You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a package and I hope the first import times are minimal. I used subprocess.check_output to start a new Python process and import modules. However, I just learned that system calls are not included in the total time, so Popen.communicate is fully ignored, as shown below. Is there a recommended way to test the first import time?
The text was updated successfully, but these errors were encountered:
I have a package and I hope the first import times are minimal. I used
subprocess.check_output
to start a new Python process and import modules. However, I just learned that system calls are not included in the total time, soPopen.communicate
is fully ignored, as shown below. Is there a recommended way to test the first import time?The text was updated successfully, but these errors were encountered: