15 Aug
2001
15 Aug
'01
5:05 p.m.
Kamon Ayeva wrote:
That's actually what I need. On the rendering of every URL, I have some presentation DTML methods calling each other (including a recursive DTML call). So I would like to know the percentage of time spent by each of
these
methods within the global page rendering time.
I suggest you hack the __call__ method of OFS/DTMLMethod.py to print out the time it takes, along with the physical path of the method that is running. You could do this by a hotfix-style runtime patch. Do the same for DTMLDocument too if you need it. -- Steve Alexander Software Engineer Cat-Box limited