public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alexander Lakhin <[email protected]>
To: Thomas Munro <[email protected]>
Cc: [email protected]
Subject: Re: MacPorts xsltproc is very slow?
Date: Sat, 25 Nov 2017 11:21:23 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAEepm=35=a69q8wQk+KMzHtcY_1wd==stCcPjQKxdRGHDOGPdw@mail.gmail.com>
References: <CAEepm=2HZ+LkTSMtihu61wd63vpLwYE-cE41syf=1FHsO6gybg@mail.gmail.com>
<[email protected]>
<CAEepm=082retOdZbr5hbSs19oYyjMkAtM6Ez=KHa5JgG2Wm=sA@mail.gmail.com>
<[email protected]>
<CAEepm=35=a69q8wQk+KMzHtcY_1wd==stCcPjQKxdRGHDOGPdw@mail.gmail.com>
25.11.2017 11:03, Thomas Munro wrote:
>
> Hmm. Well, this is all new to me but I'd have expected the numbers in
> the "Calls" column to be entirely deterministic.
I think, calls are depending on the XSL templates and it seems we have
different templates.
(I couldn't find 'd:appendix' in my docbook-xsl installation, that's why
I asked about version number.)
Maybe it's another case then, your version is new.
Now I see 'd:appendix' appeared in
https://github.com/docbook/xslt10-stylesheets/blob/master/xsl/html/chunktoc.xsl
> Perhaps that
> business about conditional use of UnwrapLinks and other things like it
> change the numbers. It's interesting that "gentext.template" is in
> the same ballpark on our two systems in terms of calls and CPU time,
> but the top templates are massive outliers on my system. I have no
> idea what I'm even looking at really but I couldn't help noticing that
> templates with match="chapter" and match="appendix" appear in our tree
> in sgml/stylesheet-speedup-common.xsl with a comment
> "Performance-optimized versions of some upstream templates from
> common/ directory". Could it be that whatever performance-enhancing
> trick they perform doesn't work on 1.1.32, or alternatively they are
> not being reached so we're falling back to non-optimised versions
> instead of these?
>
>> I wonder, what version of docbook-xsl are you using?
>> (I have 1.79.1+dfsg-1).
>> Can you check with 1.79+ (if yours is older)?
> docbook-xsl version 1.79.2_1.
I'll try to install 1.79.2 version and check the performance on my side.
------
Alexander Lakhin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
view thread (20+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: MacPorts xsltproc is very slow?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox