[texhax] Throughput

Michael Doob mdoob at ccu.umanitoba.ca
Thu Mar 3 16:55:51 CET 2011


On Thursday 03 March 2011 9:46 am, Philip Taylor (Webmaster, Ret'd) wrote:
> \loop
>      \ifnum \count 0 < 34001
>          \topglue 0 pt
>          \eject
>      \repeat
>      \end

If I use

\loop
     \ifnum \count 0 < 34001
         \leavevmode
         \vfill
         \eject
     \repeat
     \end
\bye

then I get


mdoob at math-desktops:~$ time tex test.tex | more
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
(./test.tex [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]
...
[33996] [33997] [33998] [33999] [34000] )
Output written on test.dvi (34000 pages, 2743032 bytes).
Transcript written on test.log.

real    0m0.647s
user    0m0.450s
sys     0m0.100s

Not much overhead there.

Cheers,
Michael


-- 
------------------------------------------------------------------
Michael Doob                    Telephone: (204) 474-9796
Department of Mathematics       Fax: (204) 474-7606
University of Manitoba          email: Michael_Doob at umanitoba.ca
Winnipeg, MB, Canada R3T 2N2
------------------------------------------------------------------



More information about the texhax mailing list