Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 9th, 2009, 10:23 AM
Authorized User
 
Join Date: Apr 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Performance issue in using XSLT

Hi all,
I am using XSLT transformation to modify the namespace in soap xml request.I am using it in Java. But I am facing performance issues. Because of this I tried to use XSLTC concept of translets. Eventhough the performance has improved a lot I am still lagging in performance. Is there anything else that can be done for increasing the performance
I am doing the transformation in IBM Websphere application server. Pls help
 
Old July 9th, 2009, 10:28 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

There are very many things that could cause your performance problems, but without seeing any of your code, it's quite impossible to suggest what's wrong with it.

Sometimes performance problems are related to document size. You want to avoid having a transformation that takes four times as long when you double the source document size. Try measuring the performance with different input sizes. If this is your problem it can often be solved using keys.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
 
Old July 9th, 2009, 10:36 AM
Authorized User
 
Join Date: Apr 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mhkay,
Thanks for your qucik response. Do you want the xml and xsl alone or the Java code that transforms also.
 
Old July 9th, 2009, 10:38 AM
Authorized User
 
Join Date: Apr 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mhkay,
also pls note that the traffic which we tested for this application is 25tps,70 tps,110 tps
(tps- transactions per second). Is it advisable to use XSLT transformation for this kind of traffic volume
 
Old July 9th, 2009, 10:57 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I can't offer to do a detailed performance analysis for you. That's consultancy which I would charge for. If the XSLT code isn't too long, however, then it's worth posting the code, we can have a quick glance at it to see if there's anything glaring.

I wouldn't normally start by measuring throughput, I would focus first on latency (elapsed time for each transformation). However, always measure multiple transformations to ensure that you eliminate Java VM warmup time. Also, make sure you aren't compiling the stylesheet each time you run it. The throughput targets you cite are quite attainable but of course it depends on the size and complexity of the transformations.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
performance issue keyvanjan Classic ASP Basics 0 May 23rd, 2006 10:57 AM
Performance Issue of Execution bjohnjebastin ASP.NET 1.0 and 1.1 Basics 1 November 14th, 2005 11:18 AM
Transactions and performance issue avanishp General .NET 0 August 25th, 2005 09:07 AM
issue of performance alyeng2000 SQL Server 2000 6 August 20th, 2004 01:17 PM
Performance issue deyakhatib SQL Server 2000 2 June 21st, 2004 10:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.