Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIc5h-00006L-VO for pgsql-docs@arkaria.postgresql.org; Sat, 25 Nov 2017 15:10:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIc5g-0003Tr-Hg for pgsql-docs@arkaria.postgresql.org; Sat, 25 Nov 2017 15:10:00 +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.84_2) (envelope-from ) id 1eIc5g-0003Th-6a for pgsql-docs@lists.postgresql.org; Sat, 25 Nov 2017 15:10:00 +0000 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eIc5b-0007LZ-GY for pgsql-docs@postgresql.org; Sat, 25 Nov 2017 15:09:58 +0000 Received: by mail-lf0-x232.google.com with SMTP id d10so17163464lfj.7 for ; Sat, 25 Nov 2017 07:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=gGeX7PCUUbsA76ChkmZRFiO52ia0q91gqdj1V+m3IK0=; b=dsD84osU0VsVEonfl3wP/buOK9pjzUSnqE9RE+uCYdlMcMEiTnBtDYHvOwTuxnW/h8 3+lpEwN2BLQFdEYfcsK79l0a0gdWX2vzMn2Yxmxc0NmeyH8Lqln0S1r4P0d1JJtWsHZy ldiEI2nyIhDg4Y7/FHKlsQUnotUFJFtYf7ESpa+zwDE+XbBLy+DPw2guCYw050ZaAywK 6dgAWYe33mLGFiCRBSqwBTL0TRiDmrWfkbVJXpvv4xuumNaxDHmtDlCKJZoU7iTU40BD zhsVG2f5jnfLLif9+SWA1U4kyuktaXyfKDzKCvQyvcvkR6kKHIQw0q1JgIBGFzwfjtDq UwrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=gGeX7PCUUbsA76ChkmZRFiO52ia0q91gqdj1V+m3IK0=; b=MlUbRdw2hqXCkYZx7PKU7iZVouWkmz+QUcC9jIakBoQKkz5zdYnLY3Ulkv7sRJ7dsQ tqeA83lWBVpdgxScvAEMCfOUtLEVdbfYMuo+A5FoXZRTK/FA3gT0uNnqm2rbyg77CHtp KtOg2/N3Kppjs2RcddKNZL10G0fsoe/JSfmBbQcJzaws2IN7Dqnvol91j06mQ1Fo3SJU sssRbWQU3Rapr/crdAKs/WNx6fZcvP2n1TWLzqQvdAhYoUD6R2s2q1+PVz1rVx/uyUQ8 3ZYvSD7mTXO6Tfe9n1L7rvhUXJ7PyOm3em0/gVyv/++KvtaDI2QIYH+0R6HWipIkROP0 N56A== X-Gm-Message-State: AJaThX782ueBUHsfltHxcHBNk4KIwXULQYDneFsuyQS+j+bCZ5UmSYpJ jv7WE8PrWcIt37hzumuadoujXg== X-Google-Smtp-Source: AGs4zMZT0aFfuNzmles98JyWvjsIf74VvOhFQsggTkTL7kdA3WgU2iELuMd57Ru36a+aJUjtUQvC3g== X-Received: by 10.46.25.217 with SMTP id 86mr11925746ljz.145.1511622591782; Sat, 25 Nov 2017 07:09:51 -0800 (PST) Received: from [1.0.0.7] ([178.155.4.78]) by smtp.gmail.com with ESMTPSA id r74sm1986415ljb.28.2017.11.25.07.09.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Nov 2017 07:09:50 -0800 (PST) Subject: Re: MacPorts xsltproc is very slow? From: Alexander Lakhin To: Thomas Munro Cc: pgsql-docs@postgresql.org References: <6c7f286d-8803-3884-0638-10f513498464@gmail.com> <5fab84ca-f57b-5f2c-0a6c-3e8c6ed938ff@gmail.com> Message-ID: <3c4965d1-6f78-574c-71d3-a85900c834e2@gmail.com> Date: Sat, 25 Nov 2017 18:09:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <5fab84ca-f57b-5f2c-0a6c-3e8c6ed938ff@gmail.com> Content-Type: multipart/alternative; boundary="------------125D83F7548E881AF470E927" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------125D83F7548E881AF470E927 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 25.11.2017 11:21, Alexander Lakhin wrote: > I wonder, what version of docbook-xsl are you using? >>> (I have 1.79.1+dfsg-1). >>> Can you check with 1.79+ (if yours is older)? >> docbook-xsl version 1.79.2_1. > I'll try to install 1.79.2 version and check the performance on my side. I installed docbook-style-xsl-1.79.2-5 in Fedora 27 and didn't noticed performance drop. In fact in this version I see XSL templates without namespaces ("appendix" instead of "d:appendix"). I looked at the spec of the package and found that it's building from the "https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-nons-%{version}.tar.bz2" nons - is for "no namespace" Indeed, you can see both variations of the source packages at: https://github.com/docbook/xslt10-stylesheets/releases/tag/release%2F1.79.2 It seems that your package is built from "ns" version. (I couldn't find docbook-xsl-nons in Macports.) If it's the only available version for Mac, it seems we need to adjust our XSL templates to work with namespaces too. Best regards, ------ Alexander Lakhin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company --------------125D83F7548E881AF470E927 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
25.11.2017 11:21, Alexander Lakhin wrote:
I wonder, what version of docbook-xsl are you using?
(I have 1.79.1+dfsg-1).
Can you check with 1.79+ (if yours is older)?
docbook-xsl version 1.79.2_1.
I'll try to install 1.79.2 version and check the performance on my side.
I installed docbook-style-xsl-1.79.2-5 in Fedora 27 and didn't noticed performance drop.
In fact in this version I see XSL templates without namespaces ("appendix" instead of "d:appendix").
I looked at the spec of the package and found that it's building from the
"https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F{%version}/docbook-xsl-nons-%{version}.tar.bz2"
nons - is for "no namespace"

Indeed, you can see both variations of the source packages at:
https://github.com/docbook/xslt10-stylesheets/releases/tag/release%2F1.79.2

It seems that your package is built from "ns" version.
(I couldn't find docbook-xsl-nons in Macports.)
If it's the only available version for Mac, it seems we need to adjust our XSL templates to work with namespaces too.

Best regards,
------
Alexander Lakhin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

--------------125D83F7548E881AF470E927--