nvdv / vprof

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

Profiling long running application #49

Closed Ngo-The-Trung closed 7 years ago

Ngo-The-Trung commented 8 years ago

For long running applications (web server) is it possible to view intermediary results while the application is still running?

nvdv commented 8 years ago

Hi, currently it's not possible.

Ngo-The-Trung commented 8 years ago

I haven't taken a look at the source yet, but do you mean it's not possible (or exceedingly difficult) to implement, or it's implementable, just not part of the current feature set?

nvdv commented 8 years ago

It's doable, but vprof gets it's flame graph stats from cProfile module and it does not seem to support returning intermediate results during profiling. Also it will certainly increase profiling overhead and require some UI adjustments.

nvdv commented 7 years ago

Intermediate results will require serious redesign of the package, so it's out of scope now.