Caution!
This repository has been archived. If you want to work on it please open a ticket in https://github.com/zopefoundation/meta/issues requesting its unarchival.
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
[filter-app:profile] 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.