emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: a@xkqr.org
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Painfully Slow Export
Date: Tue, 12 Jun 2018 21:41:17 +0200	[thread overview]
Message-ID: <CAFdBzEp=oeLkV=a8bzZVqowjjuEz-Xz5ZyYdQ=5d7jD1eA7Vmg@mail.gmail.com> (raw)
In-Reply-To: <874li8avoe.fsf@surprise.skruttet>

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

Hi Chris,

Thanks for the hint. I didn't think to profile. This may be useful, but I'm
not sure how to interpret the results, which are:

- command-execute                                               15852  79%
 - call-interactively                                           15852  79%
  - funcall-interactively                                       15666  78%
   - org-export-dispatch                                        15392  77%
    - org-latex-export-to-latex                                 15291  76%
     - org-export-to-file                                       15289  76%
      - org-export-as                                           15245  76%
       - org-babel-exp-process-buffer                           14762  74%
        - org-babel-exp-src-block                               14676  73%
         - org-babel-exp-do-export                              10049  50%
          - org-babel-exp-results                                9324  46%
           - org-babel-expand-noweb-references                   9200  46%
            - org-babel-get-src-block-info                       8247  41%
             - org-babel-params-from-properties                  6799  34%
              - org-entry-get                                    6618  33%
               - org-entry-get-with-inheritance                  6579  33%
                - org-up-heading-safe                            5466  27%



On Tue, Jun 12, 2018 at 5:09 PM Chris <a@xkqr.org> wrote:

> Hello, Ken!
>
> Ken Mankoff (mankoff@gmail.com) 2018-06-12:
> > Is there a way to speed up exporting?
>
> I may be jumping to conclusions here, and if so, please excuse me. Have
> you tried profiling the export? (As in M-x profiler-start, run the
> export, then M-x profiler-report?) This can shed a surprising amount of
> light on why things are slow. (In my case, exporting was slow because of
> a slow hook that got triggered multiple times during the exportage.)
>
> Regards,
> Chris
>

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

  reply	other threads:[~2018-06-12 19:40 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 [this message]
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
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='CAFdBzEp=oeLkV=a8bzZVqowjjuEz-Xz5ZyYdQ=5d7jD1eA7Vmg@mail.gmail.com' \
    --to=mankoff@gmail.com \
    --cc=a@xkqr.org \
    --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).