ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: slow compilation?
Date: Mon, 12 Aug 2013 21:55:13 +0200	[thread overview]
Message-ID: <52093DA1.9080205@wxs.nl> (raw)
In-Reply-To: <52090FFB.8020001@web.de>

On 8/12/2013 6:40 PM, Pablo Rodríguez wrote:
> Dear list,
>
> although I cannot find it now, I sent a message to the list describing
> that I suspected ConTeXt wasn’t as fast as it should on my computer.
>
> Here you have a minimal sample:
>
>      \starttext
>      \input knuth
>      \stoptext
>
> It takes about 3.5 seconds total runtime to compile. Is this the
> standard required time?
>
> Actually what I wonder is why the compilation requires three runs to
> output the final document.

mkiv lua stats  > runtime: 0.250 seconds
system          | total runtime: 0.422

luajittex:

mkiv lua stats  > runtime: 0.200 seconds
system          | total runtime: 0.360

Dell Laptop: i7-3840QM @ 2.8G / 16 GB / 256G SSD / windows 8 64 bit

\starttext
     \dorecurse{1000}{test\page}
\stoptext

does 540 pages per second

of course in practice it all depends on what features are used but 3.5 
seconds is way off, unless you remake the format each run (coul dbe the 
case of your luatex doesn't match texlua

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2013-08-12 19:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12 16:40 Pablo Rodríguez
2013-08-12 17:20 ` Wolfgang Schuster
2013-08-12 20:23   ` Pablo Rodríguez
2013-08-12 20:37     ` Aditya Mahajan
2013-08-12 21:23       ` Pablo Rodríguez
2013-08-12 21:38         ` Aditya Mahajan
2013-08-12 22:13         ` Hans Hagen
2013-08-12 19:55 ` Hans Hagen [this message]
2013-08-12 20:36   ` Pablo Rodríguez

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

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

  git send-email \
    --in-reply-to=52093DA1.9080205@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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.
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 NNTP newsgroup(s).