cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gernot Koller" <gernot.coc...@gmx.at>
Subject Interpreting Profiler results
Date Thu, 11 Mar 2004 15:42:07 GMT
Hi!

I need some help interpreting results gained from the cocoon profiler:

<profiler:result time="4180" index="7">
  <profiler:component index="0" role="file" source="static/i18ndemo.xml"
setup="0" processing="0" time="0" /> 
  <profiler:component index="1" role="cinclude" setup="1" processing="5"
time="6" /> 
  <profiler:component index="2" role="session" setup="0" processing="4"
time="4" /> 
  <profiler:component index="3" role="xalan"
source="stylesheets/html/i18ndemo.xsl" setup="10" processing="5" time="15" /> 
  <profiler:component index="4" role="rsf_components" setup="0"
processing="53" time="53" /> 
  <profiler:component index="5" role="html" setup="0" processing="4"
time="4" /> 
</profiler:result>

This is a fragment showing the result of a simple rendered html page, using
the cinclude-Transformer, the session-transformer, a xslt stylesheet and a
selfmade transformer called rsf_components.
Normally this kind of requests takes about 50 to 300 ms, so 4 seconds as
shown here is rather slow.

The sitemap for this request looks like this:

				<map:match pattern="i18ndemo">
					<map:generate src="static/i18ndemo.xml" />
					<map:transform type="cinclude" />
					<map:transform type="session" />
					<map:transform src="stylesheets/html/i18ndemo.xsl" />
					<map:transform type="rsf_components" />
					<map:serialize type="html" />
				</map:match>

My Question is: if the generator takes 0 ms, the transformer steps 6, 4, 15,
53 ms and finaly the serializer 4 ms
0 + 6 + 4 + 15 + 53 + 4 = 82, where are the missing 4098 milli seconds ???

Any ideas ?

PS:

The detail view of the profiler looks like this:

- <profiler:profilerinfo
xmlns:profiler="http://apache.org/cocoon/profiler/1.0" date="Mar 11, 2004 9:18:38 AM">
- <profiler:pipeline uri="i18ndemo" count="10" processingTime="7539"
key="-5082074900247180225">
- <profiler:result time="4180" index="7">
- <profiler:environmentinfo>
- <profiler:request-parameters>
  <profiler:parameter name="lang" value="hu" /> 
  </profiler:request-parameters>
  <profiler:session-attributes /> 
  <profiler:uri>i18ndemo</profiler:uri> 
  </profiler:environmentinfo>
  <profiler:component index="0" role="file" source="static/i18ndemo.xml"
setup="0" processing="0" time="0" /> 
  <profiler:component index="1" role="cinclude" setup="1" processing="5"
time="6" /> 
  <profiler:component index="2" role="session" setup="0" processing="4"
time="4" /> 
  <profiler:component index="3" role="xalan"
source="stylesheets/html/i18ndemo.xsl" setup="10" processing="5" time="15" /> 
  <profiler:component index="4" role="rsf_components" setup="0"
processing="53" time="53" /> 
  <profiler:component index="5" role="html" setup="0" processing="4"
time="4" /> 
  </profiler:result>
  </profiler:pipeline>
  </profiler:profilerinfo>

thx,

Gernot

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


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


Mime
View raw message