Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 78128 invoked from network); 2 Nov 2003 13:42:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Nov 2003 13:42:36 -0000 Received: (qmail 97261 invoked by uid 500); 2 Nov 2003 13:42:29 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 97217 invoked by uid 500); 2 Nov 2003 13:42:29 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 97200 invoked from network); 2 Nov 2003 13:42:28 -0000 Received: from unknown (HELO ags01.agsoftware.dnsalias.com) (216.6.48.60) by daedalus.apache.org with SMTP; 2 Nov 2003 13:42:28 -0000 Received: from ags01.agsoftware.dnsalias.com (localhost [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.8/8.12.8) with ESMTP id hA2DgTIc015575 for ; Sun, 2 Nov 2003 07:42:29 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.8/8.12.8/Submit) id hA2DgSHJ015573; Sun, 2 Nov 2003 07:42:28 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agsoftware.dnsalias.com using -f Received: from 10.0.0.5 (SquirrelMail authenticated user agallardo) by ags01.agsoftware.dnsalias.com with HTTP; Sun, 2 Nov 2003 07:42:28 -0600 (CST) Message-ID: <35647.10.0.0.5.1067780548.squirrel@ags01.agsoftware.dnsalias.com> Date: Sun, 2 Nov 2003 07:42:28 -0600 (CST) Subject: Re: Profiling Pipeline [was Re: [RT] Unit testing and CocoonUnit] From: "Antonio Gallardo" To: In-Reply-To: References: <3FA433DD.8050102@mm.st> X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stefano Mazzocchi dijo: > > On Saturday, Nov 1, 2003, at 23:29 Europe/Rome, Steve K wrote: > >> And finally, on a somewhat unrelated subject, one thing that I've >> always wanted Cocoon to do may be possible if support for collecting >> the XML at each pipeline step is added. To aid in debugging, I think >> it would be very helpful to switch on some kind of debug mode, that >> would cause a trace of what pipeline steps where executed and the >> state of the XML at each step to be printed out at the bottom of each >> page you output to the browser. This way it is easy for a developer >> to see the path though the pipelines the request took, as well as a >> snapshot of the XML each step of the way. > > This is already there, althought somewhat hidden, check into the > "profiler" block. > > BTW, there is something that always bugged me about the profiler: the > time that gives you is almost totally useless, while the exposed view > of the pipeline internals is a *great* debugging tool (some people do > it with views, but sometimes you don't know where the problem is so you > might want to see it all). > > I propose two changes here: > > 1) rename the "profiling" pipeline into "debug" > 2) remove the timings (they don't make any sense) > 3) move the whole thing into core > WTYT? +1 on 1) +- ? 2) What are the timings? Sorry, I don't understand this point. -1 on 3) It is desired to have a very light core. If the core can live without the profiler please don't include them on every distribution. I mean development and production. Best Regards, Antonio Gallardo