ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: slow compilation?
Date: Mon, 12 Aug 2013 19:20:11 +0200	[thread overview]
Message-ID: <842272D3-45FF-46D4-A368-44693986942A@gmail.com> (raw)
In-Reply-To: <52090FFB.8020001@web.de>


Am 12.08.2013 um 18:40 schrieb Pablo Rodríguez <oinos@web.de>:

> 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?

Your minimal example takes for me on the first 1.8 (terminal) to 2 seconds (editor)
and each consecutive run about 0.6 seconds.

> Actually what I wonder is why the compilation requires three runs to
> output the final document.

When you process a new document the first time context takes three runs
to store and read data in the temp files (references and roc etc. values).

After this context takes in most cases only a single run unless references
have changed (e.g. the reference is now on a new page) or new entries
are written to the temp files (e.g. when you add a additional heading).

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2013-08-12 17:20 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 [this message]
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
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=842272D3-45FF-46D4-A368-44693986942A@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).