Skip to content

william-cheung/ProfViz

Repository files navigation

ProfViz

ProfViz is a pstats viewer developed using PyQt.

Pstats files are generated by profilers (cProfile and profile) in Python Standard Library. ProfViz can be used to view pstats files and can display useful diagrams for optimizing your Python code. You may need a [GraphViz] (www.graphviz.org) installation on your system for displaying callgraph. Enjoy it ! :)

Main Window

The column headings:

  • func function name
  • file:ln position of the definition
  • ncall the number of calls
  • tottime the total time spent in the given function (and excluding time made in calls to sub-functions)
  • percall the quotient of tottime divided by ncall
  • cumtime the cumulative time spent in this and all subfunctions (from invocation till exit)
  • percall the quotient of cumtime divided by ncall
  • pct overall percentage of the cumtime

Pie Chart

Callgraph

About

A pstats viewer developed using PyQt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages