Return-Path: X-Original-To: apmail-xalan-dev-archive@www.apache.org Delivered-To: apmail-xalan-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4A411029C for ; Tue, 11 Feb 2014 18:01:03 +0000 (UTC) Received: (qmail 24267 invoked by uid 500); 11 Feb 2014 18:01:03 -0000 Delivered-To: apmail-xalan-dev-archive@xalan.apache.org Received: (qmail 24239 invoked by uid 500); 11 Feb 2014 18:01:03 -0000 Mailing-List: contact dev-help@xalan.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@xalan.apache.org Delivered-To: mailing list dev@xalan.apache.org Received: (qmail 24232 invoked by uid 99); 11 Feb 2014 18:01:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 18:01:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 209.85.214.50 as permitted sender) Received: from [209.85.214.50] (HELO mail-bk0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 18:00:59 +0000 Received: by mail-bk0-f50.google.com with SMTP id w16so2326966bkz.37 for ; Tue, 11 Feb 2014 10:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zMu4s5tP/ResMOmQ5RaC+RNoJvdyWMgOESby37dKCNs=; b=ws5hHcduKWCdN1seuuHQCmka/GxmxG02q3alQXyXbqXHkFaiSDhzSspIudZZJlnhUt 0hKUmcAcIbYjl29WAo4ST36a5+JibU17D10e9HZPPQuJqIhYrMayzJcP39hfpURZXXCl nMcn9zhVPSR0BdVLeZCRRuSDC6w4TQmzIb8YJZGzfmeJSz+wuQqTqr3Jxg79YAhX27Cf LOAdNP02ZnTQbZFGGx+sEJtMOfOmtUYkPvGUhND+MnaTHazSrz0kQdi/H6ddIF3NU1BI 2qUJWMkAHu3QfioQaSvWyko5SncOCtQvuW9IAEoPFvrt7S6a0cPZhtZ4bMtjTj9zerjn iWsA== MIME-Version: 1.0 X-Received: by 10.204.69.2 with SMTP id x2mr6295bki.140.1392141637766; Tue, 11 Feb 2014 10:00:37 -0800 (PST) Received: by 10.204.102.201 with HTTP; Tue, 11 Feb 2014 10:00:37 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Feb 2014 13:00:37 -0500 Message-ID: Subject: Re: XalanTransformer.transform() taking too long time to process From: Gary Gregory To: "dev@xalan.apache.org" Content-Type: multipart/alternative; boundary=001a1132ea34cbf53804f2253bf3 X-Virus-Checked: Checked by ClamAV on apache.org --001a1132ea34cbf53804f2253bf3 Content-Type: text/plain; charset=UTF-8 I do not think there is a silver bullet here. You can start from the top: optimize the stylesheet. It might be interesting to see how changing the stylesheet affects performance using different XSL engines. Gary On Tue, Feb 11, 2014 at 3:23 AM, Radhika Ganganna < radhika.ganganna@oracle.com> wrote: > Hello All, > > > > We have an application built using C++ and we use Xalan 1.10 to xml > transformation. > > We find that transform() is taking too long a time to process each file. > > Is there a way to fix the issue? > > > > OS: Windows XP Professional > > Compiler: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version > 12.00.8804 for 80x86 > > Xalan version: 1.10 > > > > Please suggest. > > > > Regards, > > Radhika > > > -- E-Mail: garydgregory@gmail.com | ggregory@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --001a1132ea34cbf53804f2253bf3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I do not think there is a silver bullet here. You can= start from the top: optimize the stylesheet. It might be interesting to se= e how changing the stylesheet affects performance using different XSL engin= es.

Gary


On Tue, Feb 11, 2014 at 3:23 AM, Radhika Ganganna <ra= dhika.ganganna@oracle.com> wrote:

Hello All,=

=C2=A0

We have an application built using C++ an= d we use Xalan 1.10 to xml transformation.

We find that transform() is taking t= oo long a time to process each file.

Is there a way to fix the issue?

<= p class=3D"MsoNormal">=C2=A0

OS: Windows XP Professional

Compiler: Microsoft = (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86=

Xalan version: 1.10

=C2=A0<= /p>

Please suggest.

=C2=A0

Regards,

Radhika

=C2=A0




--
--001a1132ea34cbf53804f2253bf3--