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

Re: Unix Philosophy Applied to XSLT Development

Subject: Re: Unix Philosophy Applied to XSLT Development
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Jul 2022 17:06:37 -0000
Re:  Unix Philosophy Applied to XSLT Development
If these are simple transformations run directly from the command line using a
Java XSLT processor, then it's quite likely that each step in the pipeline is
taking:

2000ms Java VM warm-up time
 300ms XSLT compile time
 100ms XML parsing time for source document
   10ms XSLT transformation time
   90ms Serialization time

Total 2500ms, which can be cut down to 10ms if you adopt a more efficient
execution platform -- without changing a line of code.

Michael Kay
Saxonica

> On 23 Jul 2022, at 16:17, Norm Tovey-Walsh ndw@xxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> To recap: Identify general tools. Implement the tools. Use the tools
>> to solve many problems, not just one specific problem. Arrange the
>> tools in any order.
>
> Therebs a certain elegant simplicity to running everything through pipes
> on the Unix command line, but be aware that youbre serializing at the
> end of each step and parsing again at the beginning of each step.
>
> This can be expensive and may involve loss of information (schema types,
> for example, from a validated instance in the first step wonbt be
> preserved in the second unless you re-validate after re-parsing).
>
> What you want is an XProc pipeline :-)
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Tovey-Walsh <ndw@xxxxxxxxxx>
> https://nwalsh.com/
>
>> It is as easy for the strong man to be strong, as it is for the weak to
>> be weak.--Emerson

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.