nvdv / vprof

Visual profiler for Python
BSD 2-Clause "Simplified" License
3.96k stars 153 forks source link

Support Multiprocessing #21

Open grantjenks opened 8 years ago

grantjenks commented 8 years ago

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.

nvdv commented 8 years ago

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.

somal commented 6 years ago

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

cyberic99 commented 3 years ago

Maybe mtprof could be used instead of cProfile ?

nvdv commented 3 years ago

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