emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>,
	nicholas.dokos@hp.com, emacs-orgmode@gnu.org,
	Lucas Peng <lucasp0927@gmail.com>
Subject: Re: Re: Bug: create latex png while export to HTML become very slow [6.35i]
Date: Mon, 26 Apr 2010 22:41:42 -0400	[thread overview]
Message-ID: <11000.1272336102@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Carsten Dominik <carsten.dominik@gmail.com> of "Mon, 26 Apr 2010 16:58:10 +0200." <1F80CC02-17F0-4136-A95D-37F84EBD0FA3@gmail.com>

Carsten Dominik <carsten.dominik@gmail.com> wrote:

> Nick,
> 
> do you have time to do the following exercise?
> 
> Remove the entries in org-export-latex-default-packages-alist
> one by one to see which packages are the worst offenders?
> 
> That would be a great help.
> 

Carsten,

hyperref is the culprit: without it, the time for org-export-as-html
drop from about 9-9.5s to about 3.8s. I also tried a couple of combinations
(omit hyperref and inputenc, hyperref and inputenc and \tolerance) but the
difference there is in the noise. 


| Package omitted    | Time for org-export-as-html |
|--------------------+-----------------------------|
| none (before)      |                       13.49 |
| amssymb            |                        9.13 |
| latexsym           |                        9.33 |
| wasysym            |                        9.32 |
| marvosym           |                        9.32 |
| textcomp           |                        9.25 |
| t1enc              |                        9.43 |
| soul               |                        9.30 |
| wrapfig            |                        9.48 |
| float              |                        9.65 |
| longtable          |                        9.53 |
| graphicx           |                        9.45 |
| fixltx2e           |                        9.45 |
| hyperref           |                        3.84 |
| fontenc            |                        9.59 |
| inputenc           |                        9.08 |
| \tolerance         |                        9.07 |
| none (after)       |                        9.68 |
| none (after - 2nd) |                        9.77 |


The first "none" entry probably takes longer because of cold caches. The
"none" entries at the end of the table are more typical (and also give
an idea of typical variances). I repeated the no-hyperref measurement a
few times just to make sure: it always was around 3.8s. The rest of the
times are single-shot.

HTH,
Nick

  parent reply	other threads:[~2010-04-27  2:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15 16:38 Bug: create latex png while export to HTML become very slow [6.35i] Lucas Peng
2010-04-16  2:58 ` Carsten Dominik
2010-04-16  3:59   ` Nick Dokos
2010-04-16 11:51     ` Lucas Peng
2010-04-16 21:41       ` Bernt Hansen
2010-04-16 21:50         ` Nick Dokos
2010-04-16 21:52           ` Carsten Dominik
2010-04-16 22:42             ` Nick Dokos
2010-04-16 23:00               ` Bernt Hansen
2010-04-17  7:48                 ` Lucas Peng
2010-04-19  5:30                   ` Nick Dokos
2010-04-19  6:02                     ` Nick Dokos
2010-04-26 14:58                       ` Carsten Dominik
2010-04-26 16:46                         ` Nick Dokos
2010-04-26 16:54                           ` Carsten Dominik
2010-04-27  2:41                         ` Nick Dokos [this message]
2010-04-16 21:54         ` Sebastian Rose
2010-04-27  5:51 ` Carsten Dominik

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=11000.1272336102@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=bernt@norang.ca \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=lucasp0927@gmail.com \
    /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).