Hi Danny, You can try to use the requestprofiler.py script in the Zope utilities directory against a "big M" log (a log created by using the -M switch to z2.py) to analyze performance for a period of time. - C Danny William Adair wrote:
Hi!
Is there an easy way to run something like a profiler through my site? The site has grown to a rather big and complex monster. Now I'm trying to do some optimizations. Apart from what I can _see_ (damn, that article is rendering slowly...), I would like to have stats on how time-consuming the different "parts" are. I was thinking of writing a little script that accesses every object in the ZODB and keeps track of the response times. This seems a bit clumsy, though, and reveals only very basic info. Is there something around, zope-specific, or maybe some other tool?
Thank you very much in advance, Danny
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"