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.
Code repository
You can find the code of this extension in Git: https://github.com/infrae/Products.PTProfiler
Changes
1.5 (2015-10-30)
Some tests and Travis infra [gotcha]
Added simple sorting option to main profiler view [naro]
Zope 2.12 and above comptatibility [naro]
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 and Return to overview for the introspection screen. Layout tweaks.
Icon for the ZMI.
PTProfiler 1.0b
Initial public release.
Metadata
Release files for Products.PTProfiler 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Products.PTProfiler-1.5.zip | 22.9 kB | Without provenance | Details for Products.PTProfiler-1.5.zip |
Release files / Products.PTProfiler-1.5.zip
| Download URL | Products.PTProfiler-1.5.zip |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7f36405174b8dbe70cb5e087c6fbdea18dae2424498b91a16888d2fc4a6f6f2
|
|
BLAKE2b-256 checksum How to use checksums |
bb9b287b63239994ce21ed9244296276c87c439a90c0881e169e5c5202dc8e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Products.PTProfiler 1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.