emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Charles Berry <ccberry@ucsd.edu>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Painfully Slow Export
Date: Wed, 13 Jun 2018 07:32:46 +0200	[thread overview]
Message-ID: <CAFdBzEpewbu838=93d+EW-k0kHeChUbYj4fOXOiJJawUKXDOvA@mail.gmail.com> (raw)
In-Reply-To: <5817E7AF-A6BB-42A3-93D1-22387C23D618@ucsd.edu>

[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]

On Wed, Jun 13, 2018 at 12:12 AM Berry, Charles <ccberry@ucsd.edu> wrote:

> > On Jun 12, 2018, at 2:30 PM, Ken Mankoff <mankoff@gmail.com> wrote:
> >
> > Based on the profiling, I think the reason it takes 1 minute is because
> the code blocks use <<noweb>> blocks?
>
> I do not see this.
>
> It takes a bit longer to run the noweb example you gave with 200 `baz' src
> blocks, but nothing crazy - like 10 seconds versus 5 for your other
> example. I used `C-c C-e l L' for each.
>
> And the profiler gives `org-babel-expand-noweb-references' about 2% of the
> total.
>
> You are using a recent version of org, right?
>

Yes: 9.1.13-elpa or org-20180604.
Emacs-mac 26.1 port on OSX from Macports.
Or Emacs 25.3 downloaded from https://emacsformacosx.com/builds

Are you sure you hd 200 baz blocks? I'm not actually able to test with that
many. 10 takes 1 second. 20 takes 10 seconds. 30 takes 30 seconds. It seems
to grow exponentially. I don't have the patience to debug how long 100
takes.

   -k.

[-- Attachment #2: Type: text/html, Size: 1531 bytes --]

  reply	other threads:[~2018-06-13  5:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-12 14:01 Painfully Slow Export Ken Mankoff
2018-06-12 15:09 ` Chris
2018-06-12 19:41   ` Ken Mankoff
2018-06-12 15:51 ` Berry, Charles
2018-06-12 19:41   ` Ken Mankoff
2018-06-12 21:07     ` Berry, Charles
2018-06-12 21:15       ` Ken Mankoff
2018-06-12 21:30         ` Ken Mankoff
2018-06-12 22:07           ` Berry, Charles
2018-06-13  5:32             ` Ken Mankoff [this message]
2018-06-13 17:55               ` Berry, Charles
2018-06-13 18:32                 ` Ken Mankoff
2018-06-14  4:42                 ` Ken Mankoff
2018-06-14 18:34                   ` BUG? WAS: " Berry, Charles
2018-06-23 21:06                     ` Nicolas Goaziou
2018-06-24  1:53                       ` Berry, Charles
2018-06-25 13:55                         ` Ken Mankoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFdBzEpewbu838=93d+EW-k0kHeChUbYj4fOXOiJJawUKXDOvA@mail.gmail.com' \
    --to=mankoff@gmail.com \
    --cc=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).