Python profiling可视化工具:RunSnakeRun

jopen 9年前

Python profiling工具,可视化检查程序瓶颈。
pyaccellerate-64.png

RunSnakeRun is a simple program, it doesn't provide all the bells-and-whistles of a program like KCacheGrind, it's intended to allow for profiling your Python programs, and just your Python programs.  What it does provide, for profile viewing:

  • sortable data-grid views for raw profile information
    • identity: function name, file-name, directory name
    • time-spent: cumulative, cumulative-per, local and local-per time
    • overall data-grid view
    • (all) callers-of-this-function, (all) callees-of-this-function views
  • squaremap view of call tree
    • size proportional to amount of time spent by the given parent in the given function
  • squaremap view of packages/modules/functions
    • size proportional to time spent in each package/module/function
  • basic navigation (home, back, up)
  • </ul>

    screenshot-2.0.png

    项目主页:http://www.open-open.com/lib/view/home/1418177782761