vprof icon indicating copy to clipboard operation
vprof copied to clipboard

Support Multiprocessing

Open grantjenks opened this issue 10 years ago • 4 comments

Cool project. I really like the web interface and the different profile types: flame, memory, line.

In one of my test scripts, I use multiprocessing and vprof didn't pick up any stats for flame and line profiles when that happened. Is multiprocessing supported?

Thanks for pushing the UI of Python profilers ahead.

grantjenks avatar Feb 13 '16 21:02 grantjenks

Thanks! Currently vprof is limited by what cProfile can do and cProfile does not work with multiprocessing. As workaround I can suggest isolating code you want to profile in single process and profiling it then.

nvdv avatar Feb 15 '16 09:02 nvdv

This feature is really needed for me. Id very grateful for implementing

somal avatar Aug 07 '18 15:08 somal

Maybe mtprof could be used instead of cProfile ?

cyberic99 avatar Feb 11 '21 08:02 cyberic99

Looks cool, but I am hesitant to use not a standard dependency at this point.

nvdv avatar Feb 24 '21 11:02 nvdv