Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3A82A1337B77 for ; Thu, 4 Nov 2010 15:34:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 95809-02 for ; Thu, 4 Nov 2010 18:34:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 837581337B6D for ; Thu, 4 Nov 2010 15:34:19 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 7B2E7348017; Thu, 4 Nov 2010 11:34:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TybRBd6PCaJZ; Thu, 4 Nov 2010 11:34:16 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [190.95.28.71]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id F2C84348015; Thu, 4 Nov 2010 11:34:15 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id A4E546E8FE; Thu, 4 Nov 2010 15:34:12 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Peter Eisentraut , Josh Kupershmidt , pgsql-docs Subject: Re: Large SGML Cleanup From: Alvaro Herrera To: Alvaro Herrera In-reply-to: <1288893046-sup-7812@alvh.no-ip.org> References: <1288788816-sup-8169@alvh.no-ip.org> <1288794358.20884.3.camel@vanquo.pezone.net> <1288798534.20884.12.camel@vanquo.pezone.net> <1288893046-sup-7812@alvh.no-ip.org> Date: Thu, 04 Nov 2010 15:34:12 -0300 Message-Id: <1288895489-sup-4625@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201011/19 X-Sequence-Number: 6217 Excerpts from Alvaro Herrera's message of jue nov 04 14:51:10 -0300 2010: > Excerpts from Peter Eisentraut's message of mié nov 03 12:35:34 -0300 2010: > > > Here is some data to entertain along the way: > > > > make html 107.85s user 0.57s system 92% cpu 1:56.65 total > > > > make xslthtml 13.98s user 1331.22s system 98% cpu 22:46.46 total > > Ugh, that's horrible :-( This seems like a bug in xsltproc. A bit of strace shows that it's full of this stuff: stat("/usr/lib/libxslt-plugins/nwalsh_com_xslt_ext_com_nwalsh_saxon_UnwrapLinks.so", 0x7fff86f35f40) = -1 ENOENT (No such file or directory) stat("/usr/lib/libxslt-plugins/nwalsh_com_xslt_ext_com_nwalsh_saxon_UnwrapLinks.so", 0x7fff86f357c0) = -1 ENOENT (No such file or directory) stat("/usr/lib/libxslt-plugins/nwalsh_com_xslt_ext_com_nwalsh_saxon_UnwrapLinks.so", 0x7fff86f35f40) = -1 ENOENT (No such file or directory) I didn't let it finish to verify that it's really the time sink, though. But note that user time is a lot lower than with the SGML toolchain; it's system time that's the problem (which is suspicious in itself). -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support