You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/05/17 16:47:39 UTC
svn commit: r538949 -
/lenya/trunk/src/modules/profiling/xslt/profile2xhtml.xsl
Author: nettings
Date: Thu May 17 07:47:38 2007
New Revision: 538949
URL: http://svn.apache.org/viewvc?view=rev&rev=538949
Log:
documentation update. added explicit warning about performance penalty.
Modified:
lenya/trunk/src/modules/profiling/xslt/profile2xhtml.xsl
Modified: lenya/trunk/src/modules/profiling/xslt/profile2xhtml.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/profiling/xslt/profile2xhtml.xsl?view=diff&rev=538949&r1=538948&r2=538949
==============================================================================
--- lenya/trunk/src/modules/profiling/xslt/profile2xhtml.xsl (original)
+++ lenya/trunk/src/modules/profiling/xslt/profile2xhtml.xsl Thu May 17 07:47:38 2007
@@ -96,29 +96,40 @@
<xsl:template name="help">
- <p>
-The <strong>Cocoon profiler</strong> is a great tool to debug and profile your pipelines.<br />
-In order to use it, change the type of the pipeline you want to inspect to "profile-noncaching", like so:
- </p>
-<pre>
-
- <map:pipeline type="profile-noncaching">
- ...
- </map:pipeline>
-</pre>
- <p>
-Once you've done this, and you have sent a couple of requests to the pipeline in question, this page will disply
-useful information about processing and setup time of the individual
-pipeline stages. What's even more interesting, you will be able to view the XML output of all stages!
- </p>
- <p>
-To make profiling work, the profiler block in Cocoon must be included, and the profiling pipeline type needs to be declared.
-Lenya provides both by default.
- </p>
- <p>
-For more information, refer to
-<a href="http://cocoon.apache.org/2.1/userdocs/concepts/profiler.html">the Cocoon documentation</a>.
- </p>
+ <p>
+ The <strong>Cocoon profiler</strong> is a great tool to debug and
+ profile your pipelines.<br />
+ In order to use it, change the type of the pipeline you want to
+ inspect to "profile-noncaching", like so:
+ </p>
+ <p>
+ <code>
+ <map:pipeline type="profile-noncaching"><br />
+ ...<br />
+ </map:pipeline>
+ </code>
+ </p>
+ <p>
+ Once you've done this, and you have sent a couple of requests to
+ the pipeline in question, this page will display useful information
+ about processing and setup time of the individual pipeline components.
+ What's even more interesting, you will be able to view the XML
+ output of all intermediate stages!
+ </p>
+ <p>
+ To make profiling work, the profiler block in Cocoon must be
+ included, and the profiling pipeline type needs to be declared.
+ Lenya provides both by default.
+ </p>
+ <p>
+ For more information, refer to
+ <a href="http://cocoon.apache.org/2.1/userdocs/concepts/profiler.html">the Cocoon documentation</a>.
+ </p>
+ <p>
+ <em><strong>Note:</strong> profiling comes with a substantial
+ performance penalty and should not be left activated on production
+ systems unless you are actively debugging them.</em>
+ </p>
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org