Layer Profiler - 4
The Layer Profiler is an interface to profile a running program in real time, and browse and compare profile data later.
The Layer Profiler is a standalone or pure-Python importable module to help you profile your programs interactively or offline. It is a single file which has no dependencies beyond PyGTK+. It hooks into your PyGTK, pyglet, or Pygame application with minimum fuss. The only dependencies are on Python 2.4 and PyGTK 2.12. It is licensed under the GNU LGPL
The Layer Profiler can now start a program from the command line, and so can be used to profile applications without an event loop. More documentation has been added to the website.