WSGI Profiler for Python Paste
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/keas Support Python 3 Mar 29, 2013
CHANGES.rst Back to development: 0.3.1 Mar 29, 2013 Add tox.ini to Mar 29, 2013
tox.ini Support Python 3 Mar 29, 2013


Profiler middleware

This package provides middleware for profiling of the application. It's based on paste.debug.profile, but uses cProfile instead of hotshot.

If you use PasteScript, enabling the profiler is as simple as adding

use = egg:keas.profile#profiler
next = main

to your paster configuration file and passing --app-name=profile to paster. When you access your web application, every page will have the profiler output appended to the end of the document body.