Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 59836 invoked by uid 500); 5 Sep 2001 12:17:47 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 59822 invoked from network); 5 Sep 2001 12:17:47 -0000 Message-ID: <20010905121748.84005.qmail@web12806.mail.yahoo.com> Date: Wed, 5 Sep 2001 05:17:48 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: more docs To: cocoon-dev@xml.apache.org In-Reply-To: <17a7ae179dc8.179dc817a7ae@i-one.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bernhard, Thanks for taking the time to submit patches. Checked in. Please cross-check. -- dims --- Bernhard Huber wrote: > I have forgotten to include profile-generator.xml!!! sorry > > > > >
> Profile Generator > in @doctitle@ > 0.9 > Technical document > > > > This document describes the profile generator of > @docname@. >
> > >

> The profile generator creates xml from the current profiler > measurement > results of cocoon. >

>

> The information is surrounded by the root element > profilerinfo > and grouped with the elements pipeline, > average, result and > element. >

>

> The profilerinfo element has the attribute > date. > The pipeline element has the attributes > uri, count and time. > The average element has the attribute > time. > The element element has the attributes > role, source and time. >

>

> A pipeline summarizes profile information of a > pipeline > as specified in the sitemap. > Each pipeline element consists of > an average, and a result element. > The average element describes the average time > values, > whereas the result element describes each pipeline > processing. >

>

> The element element describes the timing values > for each stage of > the pipeline processing. >

>

> All elements have the namespace > http://apache.org/cocoon/profiler/1.0. >

>
    >
  • Name : profile
  • >
  • Class: > org.apache.cocoon.components.profiler.ProfilerGenerator
  • >
  • Cacheable: no.
  • >
> >

Edit cocoon.xconf >

> ... > > > ... > > ]]> >
> >

Edit sitemap.xmap >

> > ... > src="org.apache.cocoon.components.profiler.ProfilerGenerator" > label="content"/> > ... > > > > > > > ]]> >
>

> You may try http://localhost/cocoon/profile > several times. >

>
> >

The following parameter can be specified in the pipeline for > the generate command: >

>
    >
  • > sort (optional) : Sets how Profile Generator sorts > pipeline elements. You may set sort to > uri > to sort pipeline element by its uri > attribute, > setting sort to time sorts > pipeline elements by its time > attribute, > finally setting sort to count sorts > pipeline elements > by its count attribute. >
  • >
>
> >

XML generated by status generator uses namespace > http://apache.org/cocoon/status/2.0. The DTD of XML > generated by status generator: >

> > date CDATA #IMPLIED > > > > > uri CDATA #REQUIRED > count CDATA #REQUIRED > time CDATA #REQUIRED > > > > time CDATA #REQUIRED > > > > > time CDATA #REQUIRED > > > > > role CDATA #REQUIRED > source CDATA #IMPLIED > time CDATA #REQUIRED > > > > ]]> >
> >

The profile generator may output information: >

> date="01.09.2001 21:50:00"> > > > time="250"/> > time="171"/> > time="60"/> > > > time="250"/> > time="171"/> > time="60"/> > > > > > > time="180"/> > time="211"/> > > > > time="180"/> > time="211"/> > > > > ]]> >
> === message truncated ===> --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org> begin:vcard > n:Huber;Bernhard > fn:Bernhard Huber > version:2.1 > email;internet:bh22351@i-one.at > end:vcard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org ===== Davanum Srinivas, JNI-FAQ Manager http://www.jGuru.com/faq/JNI __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org