PTProfiler
Supported versions
Zope 2.5, 2.6, 2.7, 2.8, 2.9, 2.10
Kudos to Godefroid Chapelle for the Five and 2.10 work.
A simple profiling tool for TAL expressions within page
templates. This monkey-patches Zope 2's TAL machinery to time all the
expressions, and provides a frontend to view both total rendering
time of all page templates and the time each individual TAL expression
takes. This makes bottlenecks in page templates easy to find.
Using PTProfiler
Note that this product requires some extra processing time for page templates, so isn't recommended for production sites.
To enable and view the results, place a PTProfiler Viewer object somewhere in the Zope tree, and press the Enable button. After some page templates are viewed, you will see a list of paths to each of those page templates (or, in the rare case the path isn't known, the id). When you click one of the items, you will see a list of all the expression calls in the template, ordered by total time spent on that expression.
PyPI
PTProfiler is also available on the Python Package Index:
http://pypi.python.org/pypi/PTProfiler
| Release version | Release date | Release files |
|---|---|---|
| PTProfiler 1.4 | 29 may 2009 13:02 |
Products.PTProfiler-1.4-py2.4.egg Products.PTProfiler-1.4.tar.gz |
| PTProfiler 1.3 | 19 nov 2008 16:52 |
Products.PTProfiler-1.3-py2.4.egg Products.PTProfiler-1.3.tar.gz |
| PTProfiler 1.2 | 28 mar 2007 17:50 |
PTProfiler-1.2.tgz |
| PTProfiler 1.1 | 09 mar 2007 12:57 |
PTProfiler-1.1.tgz |
| PTProfiler 1.0 | 11 sep 2006 10:50 |
PTProfiler-0.2.tar.gz |
| PTProfiler 1.0b | 11 sep 2006 10:48 |
PTProfiler-1.0b.tar.gz |
License: New BSD