Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIcHI-0000gZ-0c for pgsql-docs@arkaria.postgresql.org; Sat, 25 Nov 2017 15:22:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIcHH-0002ys-E8 for pgsql-docs@arkaria.postgresql.org; Sat, 25 Nov 2017 15:21:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eIcHH-0002yd-61 for pgsql-docs@lists.postgresql.org; Sat, 25 Nov 2017 15:21:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eIcHE-0007dz-UJ for pgsql-docs@postgresql.org; Sat, 25 Nov 2017 15:21:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vAPFLsFa000878; Sat, 25 Nov 2017 10:21:54 -0500 From: Tom Lane To: Thomas Munro cc: Alexander Lakhin , pgsql-docs@postgresql.org Subject: Re: MacPorts xsltproc is very slow? In-reply-to: References: <6c7f286d-8803-3884-0638-10f513498464@gmail.com> Comments: In-reply-to Thomas Munro message dated "Sat, 25 Nov 2017 21:03:48 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <876.1511623314.1@sss.pgh.pa.us> Date: Sat, 25 Nov 2017 10:21:54 -0500 Message-ID: <877.1511623314@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > ... 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? If you're suspicious of that, you could try removing those parts of stylesheet-speedup-common.xsl and see what happens ... regards, tom lane