Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1er2j0-00087V-9L for pgsql-docs@arkaria.postgresql.org; Wed, 28 Feb 2018 14:28:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1er2iy-0001zY-Ce for pgsql-docs@arkaria.postgresql.org; Wed, 28 Feb 2018 14:28:52 +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.89) (envelope-from ) id 1er2iy-0001zL-3m for pgsql-docs@lists.postgresql.org; Wed, 28 Feb 2018 14:28:52 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1er2iu-0002K2-Gg for pgsql-docs@postgresql.org; Wed, 28 Feb 2018 14:28:50 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EB20A21DBB for ; Wed, 28 Feb 2018 09:28:46 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Wed, 28 Feb 2018 09:28:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KfXXIu xmB/MhFYv4VuVt2l9uFtahp9nPNqBfBLKWsJo=; b=eNIE38gFSkchAdR65WClJw 6WgOLj2m9iKdAp4+Xyg+9Tzj+xfBlGi18EkG+TmKsBeM0DtUSb8r6vU6ZndD/YW5 r092wEnVk2QAQSLoSCA6CcvQ5k4ZJ5KMiKGOxyo7XPM52ppZlXInwEZtNeYaCz3J y+GgkKVpQy2WUXsDZCEclxHXPxwuyvS86zuIDvg/KIcUgHY/7dtRmbd5FfCLHuJx RkLBkrfpktyYESyiktKRlmKAWveh8S0CJ9E5ehb2juD/KVKsJu7pJyCKmeX6FDlM U88i80EP8dI+crlgC9zBe4KGnRASuXsI7yQsjoAER9cCDn6VXoVBXDDP6Bxpj6ww == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id AFFB97E1A4 for ; Wed, 28 Feb 2018 09:28:46 -0500 (EST) Subject: Re: improve man pages build speed From: Peter Eisentraut To: pgsql-docs References: <0ca26db9-b7d3-2153-bb5b-383b49c5d560@2ndquadrant.com> Organization: 2ndQuadrant Message-ID: <781e0055-3535-2776-d70b-0903b660fc58@2ndquadrant.com> Date: Wed, 28 Feb 2018 09:28:45 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <0ca26db9-b7d3-2153-bb5b-383b49c5d560@2ndquadrant.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/23/18 19:56, Peter Eisentraut wrote: > The attached patch improves the build speed for the man pages on my > system from about 50 seconds to about 15 seconds. > > It looks like the stylesheets are spending a lot of time counting the > links in the man pages so that it can put them into numbered endnotes, > but we don't have anything like that anyway, so we can save a lot of > time by turning this off. (I suppose we'd have to turn it back on if we > have have content like that, but we've never had anything like that > before, so it doesn't seem particularly pressing.) committed -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services