[Zope-CMF] [Performance] "listFilteredActionsFor" unnecessarily expensive

Andreas Jung lists at andreas-jung.com
Wed Apr 6 01:13:05 EDT 2005



--On Dienstag, 5. April 2005 22:29 Uhr +0200 Dieter Maurer 
<dieter at handshake.de> wrote:

>
> In our case, "listFilteredActionsFor" spends about 70 percent
> of its complete time in the checking of "action in catlist".

I did some profiling last week because Limi complained also about
the slowness of the same method. My profiling (with a fresh
Plone installation) told me that about 70% of the time is spend
within the loop where  all action providers are asked to return
a list of matching actions. However Plone implements its own
listFilteredActionsFor() method which might be different from the
original CMF code.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20050406/555fe025/attachment.bin


More information about the Zope-CMF mailing list