Layer Profiler - 1
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