From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos 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 Message-ID: <11000.1272336102@gamaville.dokosmarshall.org> References: <87ochkacxm.fsf@gmail.com> <8D636DAF-5D4C-4846-A432-7B544131B50D@gmail.com> <10559.1271390362@gamaville.dokosmarshall.org> <87iq7rm5xh.fsf@gollum.intra.norang.ca> <13511.1271454603@alphaville.usa.hp.com> <14696.1271457757@alphaville.usa.hp.com> <87aat3m28n.fsf@gollum.intra.norang.ca> <23201.1271655020@gamaville.dokosmarshall.org> <24036.1271656972@gamaville.dokosmarshall.org> <1F80CC02-17F0-4136-A95D-37F84EBD0FA3@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6akd-00054c-T2 for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 22:42:19 -0400 Received: from [140.186.70.92] (port=40494 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6akb-00054U-R8 for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 22:42:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6akZ-0006Y8-WA for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 22:42:17 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:21475) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6akZ-0006Xy-QR for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 22:42:15 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L1I00GMTKTI6ZZ0@vms173009.mailsrvcs.net> for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 21:41:43 -0500 (CDT) In-reply-to: Message from Carsten Dominik of "Mon, 26 Apr 2010 16:58:10 +0200." <1F80CC02-17F0-4136-A95D-37F84EBD0FA3@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Bernt Hansen , nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Lucas Peng Carsten Dominik 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