Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eITnH-00086z-HZ for pgsql-docs@arkaria.postgresql.org; Sat, 25 Nov 2017 06:18:27 +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 1eITnG-0002hH-Ee for pgsql-docs@arkaria.postgresql.org; Sat, 25 Nov 2017 06:18:26 +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 1eITnG-0002h7-45 for pgsql-docs@lists.postgresql.org; Sat, 25 Nov 2017 06:18:26 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eITn8-0004g3-Lq for pgsql-docs@postgresql.org; Sat, 25 Nov 2017 06:18:24 +0000 Received: by mail-lf0-x231.google.com with SMTP id i14so27446111lfc.1 for ; Fri, 24 Nov 2017 22:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=u0GMbDr1wUxUpGGCl71M0vLNVOPWxsiY2mfzmVouMdM=; b=tRUlFqXYj5aeJ8OMb3TMx5MDNGDbbh6uFYpM3sE3rUQ9CsooScRkZFz+5J6kpsH+ZF QuQ2dOtDuhUvc+JSD9IkZrv8g4ofmax44aOyLw+oEsFPAE1IX6++c4E/3++DxrAync8b rdGBzPGPdHdkPDtK2BLOVDtDFVH1PulD5p4kqS0EyUWJRuw876hwu7xswR1gBAluc40a bNEHc+jzei+9e4o+j7JIQXtp9JmZE2l2uzEJYbVHfoJGZJJfa6ezT450Oi29fT37aGXv xnVhc+YhJ8oPG5Zts8I3Q76UJe5TMFgMbISDz+IxIq/n4olW+/VkHnF5sJ6tTl4KHui8 pfOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=u0GMbDr1wUxUpGGCl71M0vLNVOPWxsiY2mfzmVouMdM=; b=fODZLJYAE8X0ol7nDIPKxEmi6LqfnhVg7m86ao6XiVR2/Z/zNLnAbFFd++6l2Gveov B9yZjlDle6GOWnZ9q4w5NZvPqB13vNnBnBu75r7FBlGU+MIeqn8WsmyI381R2kfVeqGy hkAXgGTWKOLw10jgPJ7TtyQQaYGKGVD5/a7kA8g5OLVpk55Q9V4NVicuMubSlzLemHy1 xt2pr02CNQOszY4tuarYQUiXurpkrgoIwOMfDKBrqMsa81laccNm+YXV6fql5WPTAfwc r3jRnV/5ECbSYC/RCvNOPsk6qSXcrECn+JeeolyFOkBq/s9gYCAufJufaKailxkYIH59 MBzQ== X-Gm-Message-State: AJaThX6re1HWPFWu9Mc6H308cEwG+cxH+G1fGxpTQf1vHq/q+zWGi1Nm VIWTNzlUDbczFACEyX/ANo1+9A== X-Google-Smtp-Source: AGs4zMZIslLHiUiIb1Y6/AD88VRPr+fw3fXWVEtRnS2hZhmfnYorQA7f2rgyhFFXTkG+7D/4IjYYqg== X-Received: by 10.25.17.170 with SMTP id 42mr9558070lfr.184.1511590696337; Fri, 24 Nov 2017 22:18:16 -0800 (PST) Received: from [1.0.0.7] ([178.155.4.142]) by smtp.gmail.com with ESMTPSA id d29sm3981410lfj.61.2017.11.24.22.18.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Nov 2017 22:18:15 -0800 (PST) Subject: Re: MacPorts xsltproc is very slow? To: Thomas Munro Cc: pgsql-docs@postgresql.org References: <6c7f286d-8803-3884-0638-10f513498464@gmail.com> From: Alexander Lakhin Message-ID: Date: Sat, 25 Nov 2017 09:18:14 +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: Content-Type: multipart/alternative; boundary="------------2B8FC2B767ED3BFD514D556A" 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. --------------2B8FC2B767ED3BFD514D556A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 25.11.2017 07:49, Thomas Munro wrote: > On Sat, Nov 25, 2017 at 4:57 PM, Alexander Lakhin > wrote: >> Can you show the output of make XSLTPROCFLAGS="--profile" -C >> doc/src/sgml/html or make XSLTPROCFLAGS="--profile" docs ? > Hi Alexander, please see attached. Thanks! Just to compare your results with my: number               match                name      mode  Calls Tot 100us  Avg     0               d:appendix             label.markup 22503 70018988  3111     1               chunk-all-sections 1394 36361616 26084     2               d:chapter              label.markup 24918 20792834   834     3                                      href.target    23895 18556477   776     4                                   footer.navigation  1394 5276429  3785     5                        header.navigation             1394 5095535  3655     6                         gentext.template           237071 857659     3 vs number               match                name      mode  Calls Tot 100us Avg     0                         gentext.template 247659    742878    2     1                       chunk-all-sections 1394    705195  505     2                              href.target 35446    663090   18 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)? ------ Alexander Lakhin Postgres Professional: http://www.postgrespro.com The Russian Postgres Company --------------2B8FC2B767ED3BFD514D556A Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
25.11.2017 07:49, Thomas Munro wrote:
On Sat, Nov 25, 2017 at 4:57 PM, Alexander Lakhin <exclusion@gmail.com> wrote:
Can you show the output of make XSLTPROCFLAGS="--profile" -C doc/src/sgml/html or make XSLTPROCFLAGS="--profile" docs ?
Hi Alexander, please see attached.
Thanks! Just to compare your results with my:
number               match                name      mode  Calls Tot 100us  Avg
    0               d:appendix             label.markup   22503 70018988  3111
    1               chunk-all-sections                     1394 36361616 26084
    2               d:chapter              label.markup   24918 20792834   834
    3                                      href.target    23895 18556477   776
    4                                   footer.navigation  1394  5276429  3785
    5                        header.navigation             1394  5095535  3655
    6                         gentext.template           237071   857659     3

vs

number               match                name      mode  Calls Tot 100us Avg

    0                         gentext.template           247659    742878    2
    1                       chunk-all-sections             1394    705195  505
    2                              href.target            35446    663090   18

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)?

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

--------------2B8FC2B767ED3BFD514D556A--