Profiling Plone / Zope

What is the current best practice for profiling Plone / Zope applications in Plone 4.1 / Zope 2.13?

Products.ZopeProfiler and CallProfiler Plone.org version work with error:

Traceback (most recent call last):
  File "/home/derek/plone4/buildout-cache/eggs/Zope2-2.13.10-py2.6.egg/OFS/Application.py", line 689, in install_product
    initmethod(context)
  File "/home/derek/plone4/buildout-cache/eggs/Products.ZopeProfiler-2.0.1-py2.6.egg/Products/ZopeProfiler/__init__.py", line 8, in initialize
    control_panel = context._ProductContext__app.Control_Panel
AttributeError: 'NoneType' object has no attribute 'Control_Panel'

z3c.profiler wants to install many obviously incompatible dependencies (not surprising, since it is designed for Zope3).

collect.profiler looks promising and is installing, but it does not allow me to profile the method __call__for presentation, because the method does not have an attribute __dict__.

+5
source share
2 answers

repoze.profile . WSGI, WSGI.

0

ZopeProfiler 2.0.2 Plone 4.1

0

All Articles