Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqos6-0004FD-Uj for pgsql-docs@arkaria.postgresql.org; Tue, 05 Feb 2019 00:45:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gqor6-0005vd-AO for pgsql-docs@arkaria.postgresql.org; Tue, 05 Feb 2019 00:44:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqor6-0005vW-0u for pgsql-docs@lists.postgresql.org; Tue, 05 Feb 2019 00:44:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqoqz-0004vX-8C for pgsql-docs@lists.postgresql.org; Tue, 05 Feb 2019 00:44:50 +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 x150ibvY001106; Mon, 4 Feb 2019 19:44:37 -0500 From: Tom Lane To: "Jonathan S. Katz" cc: Bruce Momjian , Magnus Hagander , Peter Eisentraut , pgsql-docs@lists.postgresql.org Subject: Re: Release note trimming: another modest proposal In-reply-to: References: <19252.1533509841@sss.pgh.pa.us> <20190125233111.GE13803@momjian.us> <16080.1548459680@sss.pgh.pa.us> <20190125234614.GH13803@momjian.us> <8fd2ae88-49de-26f3-def3-e4381cb7e774@postgresql.org> <21920.1548515166@sss.pgh.pa.us> <402d07a0-227b-71b7-0ecd-0b6c379e3cd0@postgresql.org> <18776.1549296730@sss.pgh.pa.us> Comments: In-reply-to "Jonathan S. Katz" message dated "Mon, 04 Feb 2019 11:26:59 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1104.1549327477.1@sss.pgh.pa.us> Date: Mon, 04 Feb 2019 19:44:37 -0500 Message-ID: <1105.1549327477@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Jonathan S. Katz" writes: > On 2/4/19 11:12 AM, Tom Lane wrote: >> Just for the record, this change causes the time to build HEAD's >> HTML documentation to drop from ~120 sec to ~95 sec for me; the >> size of the resulting html/ directory drops from 21MB to 15MB, >> while the PDF output goes from 17MB to 12.2MB. I didn't try to >> measure the impact on tarball size, but it should be noticeable. > Wow, 28-29% reduction in the file sizes, and 20% reduction in build > time! Nice. For amusement's sake (well, and to be sure I'd not broken anything) I ran tarball builds on the various branch heads, and got -rw-r--r-- 1 pgsql pgsql 18929153 Feb 5 00:27 postgresql-10.6.tar.bz2 -rw-r--r-- 1 pgsql pgsql 19703728 Feb 5 00:25 postgresql-11.1.tar.bz2 -rw-r--r-- 1 pgsql pgsql 16858141 Feb 5 00:32 postgresql-9.4.20.tar.bz2 -rw-r--r-- 1 pgsql pgsql 17506811 Feb 5 00:30 postgresql-9.5.15.tar.bz2 -rw-r--r-- 1 pgsql pgsql 18737381 Feb 5 00:29 postgresql-9.6.11.tar.bz2 (The minor numbers are lies, since we've not done a version_stamp.pl run recently.) The last real releases were -rw-r--r--. 1 tgl tgl 20350612 Nov 5 17:11 postgresql-10.6.tar.bz2 -rw-r--r--. 1 tgl tgl 21263173 Nov 6 19:03 postgresql-11.1.tar.bz2 -rw-r--r--. 1 tgl tgl 17905682 Nov 5 17:11 postgresql-9.4.20.tar.bz2 -rw-r--r--. 1 tgl tgl 18707696 Nov 5 17:11 postgresql-9.5.15.tar.bz2 -rw-r--r--. 1 tgl tgl 20009048 Nov 5 17:11 postgresql-9.6.11.tar.bz2 so this change got us about 6%-7% savings in post-compression tarball size. This isn't quite apples to apples of course, since the new builds include code fixes since November ... but patches seldom make things smaller, so if anything this is understating the savings. regards, tom lane