From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: Painfully Slow Export Date: Thu, 14 Jun 2018 06:42:18 +0200 Message-ID: References: <73844D54-30A4-48CB-8303-6DA3C932A444@ucsd.edu> <04337B1C-B1CB-4349-87E1-5C7051B38BA7@ucsd.edu> <5817E7AF-A6BB-42A3-93D1-22387C23D618@ucsd.edu> <234D6E4E-7E88-4ABB-9277-BBE80A18D179@ucsd.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007b8890056e92b4f3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTK49-00084u-Ec for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 00:40:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTK48-0000xh-Ii for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 00:40:57 -0400 Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:44954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTK48-0000xY-Cj for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 00:40:56 -0400 Received: by mail-qt0-x234.google.com with SMTP id l33-v6so4633031qta.11 for ; Wed, 13 Jun 2018 21:40:56 -0700 (PDT) In-Reply-To: <234D6E4E-7E88-4ABB-9277-BBE80A18D179@ucsd.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Charles Berry Cc: Org-mode --0000000000007b8890056e92b4f3 Content-Type: text/plain; charset="UTF-8" On Wed, Jun 13, 2018 at 7:56 PM Berry, Charles wrote: > #+RESULTS: > : # of src block names: 3 > : Number of Seconds: 0.0498 > > > #+RESULTS: > : # of src block names: 68 > : Number of Seconds: 2.1021 > > #+RESULTS: > : # of src block names: 200 > : Number of Seconds: 15.4018 > > > #+RESULTS: > : # of src block names: 266 > : Number of Seconds: 26.6689 > > #+RESULTS: > : # of src block names: 332 > : Number of Seconds: 41.2211 > > So my mental count of 10 seconds for 200 blocks was a bit off. > > And the time is very nearly quadratic in the number of named src blocks: > > One more thought - even if your system is significantly faster for some unknown reason - why is export taking ~15 seconds for 200 blocks *when you aren't exporting any of the code*. Why is <> expansion occurring if ":eval never-export" is set? There seems to be something inefficient going on here. -k. --0000000000007b8890056e92b4f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed= , Jun 13, 2018 at 7:56 PM Berry, Charles <ccberry@ucsd.edu> wrote:
#+RESULTS:
: # of src block names: 3
:=C2=A0 Number of Seconds:=C2=A0 =C2=A0 =C2=A00.0498


#+RESULTS:
: # of src block names: 68
:=C2=A0 Number of Seconds:=C2=A0 =C2=A0 =C2=A02.1021

#+RESULTS:
: # of src block names: 200
:=C2=A0 Number of Seconds:=C2=A0 =C2=A0 15.4018


#+RESULTS:
: # of src block names: 266
:=C2=A0 Number of Seconds:=C2=A0 =C2=A0 26.6689

#+RESULTS:
: # of src block names: 332
:=C2=A0 Number of Seconds:=C2=A0 =C2=A0 41.2211

So my mental count of 10 seconds for 200 blocks was a bit off.

And the time is very nearly quadratic in the number of named src blocks:


One more thought - eve= n if your system is significantly faster for some unknown reason - why is e= xport taking ~15 seconds for 200 blocks *when you aren't exporting any = of the code*.
=C2=A0Why is &= lt;<noweb>> expansion occurring if ":eval never-export" = is set? There seems to be something inefficient going on here.
<= div>
=C2=A0 =C2=A0-k.

=C2=A0
--0000000000007b8890056e92b4f3--