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
It happens since profiling agents are run one after another: memory profiler always runs first and in the same process and others do run in their own processes for isolation. These processes are forked after memory profiler imports the code and child processes inherit that and that's why code is not reimported.
Description
import mod
do not work with memory profile.How to reproduce
mod.py:
print("I'm mod")
main.py:
import mod
Actual results
Expected results
mod.py
should be executed 2 times.Version and platform
vprof 0.37.4
python 3.6.2
Mac OSX
The text was updated successfully, but these errors were encountered: