Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install products.ptprofiler

How to install Products.PTProfiler

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install products.ptprofiler
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.4 Available View build log
Windows (64-bit)
1.4 Available View build log
Mac OS X (10.5+)
1.4 Available View build log
Linux (32-bit)
1.4 Available View build log
Linux (64-bit)
1.4 Available View build log
Lastest release
version 1.4 on Jan 5th, 2011

PTProfiler is a small profiling system for page templates in Zope 2. It times each TAL expression and lists the results in a table ranked by processing time.

Using PTProfiler

Do mind that this product (when enabled, see below) 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.


PTProfiler 1.4 (2009-05-29)
  • Fix deprecation warnings on Zope 2.11.
PTProfiler 1.3 (2008-11-19)
  • Fix documentation, test in Zope 2.11.
PTProfiler 1.2
  • Profiles Five Browser views of Zope 2.8, 2.9.
  • Ported to Zope 2.10.
  • The "Return to overview" button no longer shows up in the overview.
PTProfiler 1.1
  • Usability improvements: added Refresh button for the overview screen

System Message: WARNING/2 (<string>, line 50)

Bullet list ends without a blank line; unexpected unindent.

and Return to overview for the introspection screen. Layout tweaks.

  • Icon for the ZMI.
PTProfiler 1.0b
  • Initial public release.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.