cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: profiling
Date Thu, 07 Feb 2002 19:31:42 GMT
> From: Jozsa Kristof [mailto:dynax@kami.vein.hu]
> 
> Hi,
> 
> Today I've redesigned my sitemap structure, so it's much cleaner (for
humans
> at least;), but since then, page access had slowed down significally.
An
> avarage (cached) page comes up in ~1.8 sec (mesaured with 'time wget
..'),
> and this is horrible slow, even comparing to the yesterday results.
> 
> After switching to Cocoon 2.0.1 about a week ago, I noticed some
profiler
> tool built in. If I would like to profile the page access to find out
what
> got slower, but how do I do it exactly? I switch on the profiler
> uncommenting <profiler/> in cocoon.xconf, and..?

1. Enable profiler (search for profiler in the cocoon.xconf), several
components needs to be configured.
2. Add ProfilerGenerator to the generators in the sitemap.xmap (read
source files if there is no documentation)
3. Have pipeline with the profiler generator to see profiler results
4. Exercise your app
5. Access profiler results (pipeline from (3))
6. Write documentation for the profiler and send to the developers list

PS: Profiler won't help you much with the sitemap, it will show only
execution time for the every step of the every pipeline.

PPS: Profiler slows down the system - which is obvious

Vadim


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message