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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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>

Reply via email to