Hey all, I just installed Zope Profiler to check out the performance of my pages and I noticed that I have a few bottlenecks on TALInterpreter calls that I'd like to clean up. The issue is that the per call time seems a bit high on some of these. Granted, I've got a lot more TAL statements in my page templates than I would like (eventually I will pull these out into scripts), but are these numbers unusually high? ncalls tottime percall cumtime percall filename:lineno(function) 11618/29 0.265 0.000 91.736 3.163 TALInterpreter.py:390(do_optTag) 12242/29 0.282 0.000 91.736 3.163 TALInterpreter.py:382(no_tag) 26 0.000 0.000 88.941 3.421 ZopePageTemplate.py:192(_exec) 34/25 0.000 0.000 64.615 2.585 TALInterpreter.py:632(do_defineMacro) Thanks for any advice.
Robert Hill wrote:
Hey all,
I just installed Zope Profiler to check out the performance of my pages and I noticed that I have a few bottlenecks on TALInterpreter calls that I'd like to clean up. The issue is that the per call time seems a bit high on some of these. Granted, I've got a lot more TAL statements in my page templates than I would like (eventually I will pull these out into scripts), but are these numbers unusually high?
ncalls tottime percall cumtime percall filename:lineno(function) 11618/29 0.265 0.000 91.736 3.163 TALInterpreter.py:390(do_optTag) 12242/29 0.282 0.000 91.736 3.163 TALInterpreter.py:382(no_tag) 26 0.000 0.000 88.941 3.421 ZopePageTemplate.py:192(_exec) 34/25 0.000 0.000 64.615 2.585 TALInterpreter.py:632(do_defineMacro)
It all depends how complex you page templates are. You need to find the slow/complicated bits and make them faster, if you're experiencing slow page load. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
Robert Hill