Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cHZFj-0007Go-Kx for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Dec 2016 16:51:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cHZFj-0004pe-6R for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Dec 2016 16:51:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cHZFi-0004ou-2o for pgsql-hackers@postgresql.org; Thu, 15 Dec 2016 16:51:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cHZFf-0002FO-HY for pgsql-hackers@postgresql.org; Thu, 15 Dec 2016 16:51:29 +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 uBFGpO77032426; Thu, 15 Dec 2016 11:51:24 -0500 From: Tom Lane To: Alexander Law cc: Alvaro Herrera , Pavel Stehule , Peter Eisentraut , PostgreSQL Hackers Subject: Re: Re: [COMMITTERS] pgsql: Build HTML documentation using XSLT stylesheets by default In-reply-to: References: <20161201164925.poqw4zrnlbj5ex7a@alvherre.pgsql> Comments: In-reply-to Alexander Law message dated "Thu, 15 Dec 2016 12:30:17 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32424.1481820684.1@sss.pgh.pa.us> Date: Thu, 15 Dec 2016 11:51:24 -0500 Message-ID: <32425.1481820684@sss.pgh.pa.us> X-Pg-Spam-Score: -5.0 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alexander Law writes: > Hello Alvaro, > It's caused by the condition > ... > in the simple.xlink template > (docbook/stylesheet/docbook-xsl/xhtml/inline.xsl). (This test executed > for each xlink (~ 90000 times)). > Yes, it's inefficient but it doesn't affect build time (for me). > You can try to apply the attached patch and measure the time with it. For me, that reduces the "make html" time from 1m44s to 1m43s. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers