Python profiling可視化工具:RunSnakeRun

jopen 10年前發布 | 22K 次閱讀 Python開發 RunSnakeRun

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
    • </ul>

      • overall data-grid view
      • (all) callers-of-this-function, (all) callees-of-this-function views
      • </ul>

      • squaremap view of call tree
        • size proportional to amount of time spent by the given parent in the given function
        • </ul>

        • squaremap view of packages/modules/functions
 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!