[NTG-context] suppressing console output

Hans Hagen pragma at wxs.nl
Wed Mar 19 16:54:54 CET 2014


On 3/19/2014 4:46 PM, Lars Huttar wrote:
> On 3/19/2014 11:36 AM, Hans Hagen wrote:
>> On 3/19/2014 4:29 PM, Lars Huttar wrote:
>>>
>>>
>>> Is there any documentation about what kinds of complaints this
>>> suppresses? I couldn't find any in the usual places. Apparently it is a
>>> ConTeXt command rather than a primitive TeX one.
>>
>> \show\dontcomplain
>>
>
> system > tex > error on line 2 in file
> C:/Users/Huttar/Documents/work/tex/test-dontcomplain.tex: ? ...
>
>
> 1 \starttext
>
> 2 >> \show\dontcomplain
>
> 3 \stoptext
>
> 4
>
>
> l.2 \show\dontcomplain
>
>
> ?
>
>
>> if console output is slowing down a run make sure you have an
>> efficient console (i use conemu on windows and on unixes i always make
>> sure that i use a proper font); sometimes you can set delays (standard
>> cmd on windows is char-by-char but there are variants); when one runs
>> from an editor normally the drawbacks are neglectable (at leats in scite)
>>
>
> Thanks, the slowdown is one of our concerns. I will look into
> alternative terminals.

a simple \dorecurse can help to test it


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

% mkiv lua stats  > runtime: 1.949 seconds, 1000 processed pages, 1000 
shipped pages, 513.084 pages/second
% mkiv lua stats  > runtime: 1.906 seconds, 1000 processed pages, 1000 
shipped pages, 524.659 pages/second (--jit)

\starttext
\dorecurse{1000}{\input tufte\page}
\stoptext

% mkiv lua stats  > runtime: 4.918 seconds, 1000 processed pages, 1000 
shipped pages, 200.080 pages/second
% mkiv lua stats  > runtime: 3.500 seconds, 1000 processed pages, 1000 
shipped pages, 285.714 pages/second (--jit)


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


More information about the ntg-context mailing list