Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1axycz-00052s-Hr for pgsql-docs@arkaria.postgresql.org; Wed, 04 May 2016 15:22:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1axycz-0001Kg-0J for pgsql-docs@arkaria.postgresql.org; Wed, 04 May 2016 15:22:17 +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 1axyZp-0007dU-Q4 for pgsql-docs@postgresql.org; Wed, 04 May 2016 15:19:01 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1axyZn-0002JE-1N for pgsql-docs@postgresql.org; Wed, 04 May 2016 15:19:01 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [216.155.90.98]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id B9E65400D25; Wed, 4 May 2016 08:18:50 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 68577438; Wed, 4 May 2016 12:18:48 -0300 (CLST) Date: Wed, 4 May 2016 12:18:48 -0300 From: Alvaro Herrera To: =?iso-8859-1?Q?J=FCrgen?= Purtz Cc: pgsql-docs@postgresql.org Subject: Re: Docbook 5.x Message-ID: <20160504151848.GA100795@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <572A0AD2.2070909@purtz.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Jürgen Purtz wrote: > I measured following elapsed times on an Intel i5 processor: > > 1. generate all HTML files with dsl script (make html): 0:48 min. > 2. generate all HTML files with xslt script (make xslthtml): 16:01 min. > 3. generate all HTML files with xslt script in the new environment > (pure Docbook5): 4:07 min. > 4. Generating different things via dsl scripts in the new environment > may be possible. But the changelog of the Docbook5 dsl scripts > shows, that the last modification occurred in 2004 - this way is a > dead end. Thanks. The dsl toolchain has a "make html" format which creates the index and a "make draft" that doesn't. You timed the former only. What's the timing for an equivalent of "make draft" in the xslt chain? If it exists and is short enough, it seems acceptable to me that the complete (with index) build takes ~4x as long as today; the draft timing is more critical, I would think. Man pages are already generated using xslt, so I suppose that wouldn't change. PDF creation timing is also critical. FWIW, in my laptop "make draft" takes 1m18.788s and a "make html" takes 1m26.676s. So it's just 8 seconds to generate the SGML file for the index, and no reruns required ... hmm. I think I'm gonna forget about "make draft" in the future. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs