开发者

Treemap visualisation view for Python profiler output?

开发者 https://www.devze.com 2023-03-08 10:32 出处:网络
Is there a profiler for Python that can render something like Kcachegrind\'s Callee map vie开发者_如何学JAVAw?

Is there a profiler for Python that can render something like Kcachegrind's Callee map vie开发者_如何学JAVAw?

Treemap visualisation view for Python profiler output?


This looks like it might do what you want

http://www.vrplumber.com/programming/runsnakerun/


If you are on Ubuntu (or have access to a host) you can convert the Python hotshot profiler's output into a form that KCachegrind can read. Check out the kcachegrind-converters package hotshot2calltree command.

Here are some pages which reference using it for Python profiling:

  • Profile a script using hotshot and kcachegrind
  • Django profiling with hotshot and kcachegrind
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号