Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 56608 invoked by uid 500); 11 Jul 2002 08:57:13 -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 56596 invoked from network); 11 Jul 2002 08:57:13 -0000 From: "Koen Pellegrims" To: Subject: RE: Performance of XSLTC Date: Thu, 11 Jul 2002 11:01:12 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3D2D4323.7010706@anyware-tech.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N -----Oorspronkelijk bericht----- Van: Sylvain Wallez [mailto:sylvain.wallez@anyware-tech.com] Verzonden: donderdag 11 juli 2002 10:35 Aan: cocoon-dev@xml.apache.org Onderwerp: Re: Performance of XSLTC Reinhard Poetz wrote: >Hi, > >Today I tried to find out how much faster XSLTC compared to Xalan is. My >result: there is hardly any difference in performance (maybe XSLTC is >slightly faster). > > Just some thoughts : XSLTC translates a stylesheet to a class, and this process is time consuming. Are we sure this happens only the first time the stylesheet is used by Cocoon ? My sentiments exactly! I haven't used XSLTC in Cocoon yet, but I use it stand-alone all the time. In a real-world set-up with a complex (six files, 40 template) stylesheet and large (up to 2MB) documents, XSLTC really blows away Xalan. This needs to be checked, since regenerating the class file each time certainly ruins any performance benefits. Also, considering this compile-once stuff is ok, measurements should not take into account the *first* execution of the stylesheet in order to really measure the transformation time. Sylvain -- Sylvain Wallez Anyware Technologies Apache Cocoon http://www.anyware-tech.com mailto:sylvain@apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org