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

Re: Benchmarking Dynamic Web XSLT

Subject: Re: Benchmarking Dynamic Web XSLT
From: Paul Tchistopolskii <paul@xxxxxxx>
Date: Tue, 18 Apr 2000 19:19:35 -0700
dynamic tree structure xml xsl

The numbers above are from my experiments with XT
with relatively small files ( web-pages are small, right ;-)

> How much does XT do on each request there? I'm assuming these fundamental
> steps:
> 1. Parse source xml file into a tree structure

Not-that-much-time-consuming. Approx 5-10%. 
Caching looks not like a good idea. What should be cached? 

   DOM ? XT on top of DOM is much slower than XT on 
   top of OM ( internal XT structure, 'similiar' to DOM ).

   OM ? May help, but it will eat plenty of memory, because 
   that's not a plain text file, but some complex tree of different 
Maybe caching is acceptable for some usecases,  but I think it is 
not worth the savings.

> 2. Determine template (from <?xml-stylesheet?> ??)

... well ... the name of the stylesheet could be provided as a parameter ...

> 3. Parse template xml file into a tree structure

Time consuming.  10-30%. But XT allows cloning the stylesheet and 
this works very well.

> 4. Perform XSLT transformations.

Strongly depends on the transformation. Most of transformations 
I have seen are trivial.  HTML-templatish  mode of XSLT 
(no  <xsl:apply-templates> ) could do the trick in most cases. If 
the idea is to produce tonns of sorted parts out of messy 
XML source file - that could be a plain killer.

> Basically you can skip 1, 3 and 4 given caching in the right places
> (unless of course one of either the source or template changes) but I
> don't know how far XT (and the other XSLT implementations) go on this.

XT is very good because it has (3) - realy helps.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.