Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 95284 invoked from network); 1 Jun 2009 16:22:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jun 2009 16:22:32 -0000 Received: (qmail 39337 invoked by uid 500); 1 Jun 2009 16:22:44 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 39264 invoked by uid 500); 1 Jun 2009 16:22:44 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 39256 invoked by uid 99); 1 Jun 2009 16:22:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2009 16:22:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2009 16:22:35 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 2E134118BB for ; Mon, 1 Jun 2009 16:22:15 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: docs@cocoon.apache.org Date: Mon, 01 Jun 2009 16:22:14 -0000 Message-ID: <20090601162214.11271.78713@eos.apache.org> Subject: [Cocoon Wiki] Update of "Cocoon 3 Profiling" by StephanTeuschl X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification. The following page has been changed by StephanTeuschl: http://wiki.apache.org/cocoon/Cocoon_3_Profiling ------------------------------------------------------------------------------ We are about to build a suitable data structure for the profiling data, and we are now facing the problem that some of the data we store is redundant. This is because some of our aspects are very generic and intercept calls of the same object (e.g. a PipelineComponent) several times, storing the same information in several ProfilingData objects. I see no way to make the aspects more specific, since we have no information which servlets, sitemaps and pipeline components might be used and which methods are called. Measuring the runtime of servlets, sitemaps and pipeline components is now done at a method basis, which means that we have accurate data on the runtime of the intercepted methods, but no data on the runtime (lifetime) of a specific servlet or pipeline component. + + === HowTo === + + This is a small HowTo which should help you to get the Cocoon 3 Profiling successfully up and running. + + == Profiling == + + == Firebug == + + Getting the Firebug Plugin able to work is really easy. You'll need to install Firebug 1.4X [[http://getfirebug.com/releases/firebug/1.4X]] and then install the Firebug .xpi from cocoon-profiling-firebug (opening it with Firefox should suffice, though). Afterwards, you should have a little bug on the bottom right corner of your Firefox. Clicking will open it, then you can navigate to the net-panel (you might want to get sure its activated) and there open up a request (you might need to refresh). In the request, there should be a tab called "Cocoon 3 Profiling", if you click it, and the Profiling Service works, you should now see the generated profiling data in the form of a tree. === First Examples ===