This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL 1.52.2 Performance
- From: Bob Stayton <bobs at caldera dot com>
- To: Jeff Beal <jeff dot beal at ansys dot com>,"DocBook Mailing List (E-mail)" <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 19 Jul 2002 12:00:28 -0700
- Subject: Re: DOCBOOK-APPS: XSL 1.52.2 Performance
- References: <E08C8F26F6901D42B1201763D125853815AFC5@ntdevexc.win.ansys.com>
On Fri, Jul 19, 2002 at 09:15:27AM -0400, Jeff Beal wrote:
> I just upgraded my XSL stylesheets from 1.48 to 1.52.2, and my build time
> went through the roof. With 1.48, the build would take about 5 hours. I
> came in this morning, it had been running for 17 hours, and was only about
> 1/3 of the way through.
>
> Here's what I'm using:
> XSL Stylesheets 1.52.2
> Saxon
>
> Here's my machine:
> Dual Pentium 1.4 GHz processors
> 2 GB RAM
>
> Has anyone else seen this sort of performance hit?
That adds up to a factor of 10 increase in time.
I was curious, so I ran some timed runs on a six chapter
book with two XSL processors and several html stylesheet
versions, with these results (all times in seconds).
This was on a 500 Mhz Linux box with 256 MB.
Saxon version is 6.5.2.
saxon xsltproc
1.48 docbook.xsl 64 9
1.49 docbook.xsl 72 10
1.50.0 docbook.xsl 87 11
1.51.1 docbook.xsl 102 11
1.52.2 docbook.xsl 93 12
1.48 chunk.xsl 91 14
1.49 chunk.xsl 105 15
1.50.0 chunk.xsl 106 16
1.51.1 chunk.xsl 161 27
1.52.2 chunk.xsl 217 29
Looks like the biggest change was in chunking
between 150 and 151. But I don't see anything like a
factor of 10 increase, only about 2 for saxon chunking.
Maybe your documents are much bigger, but
you also have much more memory.
If I had that much doc to build, I'd figure how to
use xsltproc instead of saxon. 8^)
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com