On 1/19/2024 12:34 AM, Aditya Mahajan wrote:
On Thu, 18 Jan 2024, Hans Hagen wrote:
Of course we'll never be as fast as (pure) plain tex (no layers added) or
latex (which often is advocated as faster than context).
I was curious, so did a quick experiment: typeset \input knuth 500 times. Here
are the results:
pdflatex: 547 pages/sec
lualatex: 308 pages/sec
opentype or type 1 ?
MKIV: 130 pages/sec
LMTX: 147 pages/sec
that is weird as lmtx is always faster here (we loose some 15% on the
backend compared to luatex, maybe even more, but we gain back quite a
bit elsewhere for various reasons)
Interestingly, pdflatex, lualatex, and MkIV all generated pdf with 1112 pages,
while LMTX generated a pdf with 1250 pages. Both MkIV and LMTX take the same
time to run (8.5 sec) but LMTX generates more pages so it is faster.
puzzling
Of course, this is a meaningless experiment from a practical point of view as a
1000 page document will be more complex than just text.
% engine=pdftex 1.2
% engine=luatmetatex 1.6
% engine=luatex 1.8
% engine=xetex 2.4
\starttext
\dorecurse{500} {
\input knuth \par
}
\stoptext
125 pages, so how does your test file look
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | 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 /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________