Can I get %prun format result from line_profiler?
PaleNeutron opened this issue · 0 comments
PaleNeutron commented
I want to profile a function contains multiprocess and if I use %prun
I can only see something like
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
1109 10.339 0.009 10.339 0.009 {method 'acquire' of '_thread.lock' objects}
Functions inside child process will not be profiled.
line_profiler
can get into process but I can only view result for one function line by line so I have to step into hot function using -f
time and time.
Can I get %prun
style result which counting all function called inside one function?