cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31776] New: - Generator for outputting profiling information
Date Tue, 19 Oct 2004 14:13:52 GMT
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>

Mime
View raw message