[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Saxon performance difference in eClipse and App S

Subject: Re: Saxon performance difference in eClipse and App Server
From: Fraser Goffin <goffinf@xxxxxxxxx>
Date: Thu, 16 Dec 2010 09:29:13 +0000
 Re: Saxon performance difference in eClipse and App  S
MK> Beware of phrases like "native language performance advantage". You're
MK> making assumptions, and assumptions are often wrong unless they're
MK> backed up by measurements.

Yes you're absolutley right. But I *do* have measurements that using
the language of the integration platform (its called eSQL in this
case) *is* more performant than running the equivalent transformation
using XSLT but ... I want to see how close I can get to that such that
*other* advantages of using XSLT may in some cases influence our
implementation choice. When the difference was as it was when I first
looked at this (50ms (eSQL) versus 700ms (XSLT)) the choice was clear.
Now it is 50ms vs 150 it is less so.

I am trying to remove the '..simple avoidable mistakes' that you
(rightly) mention.

This code is being used for ALL XSLT processing in this particular
application. That is, developers specifiy the stylesheet and provide
the input XML only.

The XSLT a developer creates can obviously have a significant impact
on performance, and it that sense its the equivalent of writing the
corresponding transformation in eSQL. We are addressing that issue
separately.

What I am trying to do is ensure that the general code used for
*executing* XSLT it is as efficient as it can be.

Is it likely that I would get any performance advantage from using the S9 API ?

FRG> I wondered about pre-compiling the stylesheets and caching them
FRG> instead,

MK>I don't understand the difference - the Templates object is a "compiled"
MK>stylesheet.

I meant, using the java  net.sf.saxon.Compile command line to create
the compiled stylesheet as a pre- execution step and then

sheet = PreparedStylesheet.loadCompiledStylesheet(config, styleFileName)

in the code ?

Am I mis-understanding this too ?

Thanks for you patience

Fraser.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.