You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/10/19 16:13:52 UTC
DO NOT REPLY [Bug 31776] New: -
Generator for outputting profiling information
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31776>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31776
Generator for outputting profiling information
Summary: Generator for outputting profiling information
Product: Cocoon 2
Version: Current CVS 2.2
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: johan@hippo.nl
This generator allows for simple profiling of a single pipeline. It will output
the sitemap URI and the time it took to process the pipeline to the debug log.
It is easy to change from the normal generator to the profiling generator. You
only have to change the generator type and add a parameter. Below is the
original generator:
<map:generate type="greeting" src="hello.html">
<map:parameter name="target" value="world"/>
</map:generate>
To profile the pipeline the 'greeting' generator is part of, change it to:
<map:generate type="profiling" src="hello.html">
<map:parameter name="target" value="world"/>
<map:parameter name="generator" value="greeting"/>
</map:generate>