[luatex] runtime

luigi scarso luigi.scarso at gmail.com
Fri Feb 25 08:26:48 CET 2022


On Fri, Feb 25, 2022 at 7:43 AM Herbert Voss <Herbert.Voss at fu-berlin.de>
wrote:

>
>
> Am 24.02.22 um 23:56 schrieb luigi scarso:
> >
> >
> > hm
> > what about context test.tex
> > %%%
> > %% test.tex
> > \starttext
> > \dorecurse{950}{\externalfigure[target/buch.pdf][page=\recurselevel]}
> > \stoptext
> >
> > here I have real 0m12.763s for  3 runs (latest luatex with -g0
> > optimization).
>
>
> real    0m4.382s
> user    0m3.712s
> sys    0m0.555s
>
> curious ...
> Why is luatex with context fast and without slow??
>
> Herbert
>


%%test.ctx.tex
\starttext
\dorecurse{100}{\externalfigure[t/PDF32000_2008.pdf][page=\recurselevel]}
\stoptext

$ time context test-ctx.tex &>/dev/null

real 0m1.829s
user 0m1.738s
sys 0m0.089s


$ time contextjit test-ctx.tex &>/dev/null

real 0m1.672s
user 0m1.591s
sys 0m0.079s


%% test-lualtx.tex
\documentclass{article}
\usepackage{pdfpages}

\begin{document}
\includepdf[pages={1-100}]{PDF32000_2008.pdf}
\end{document}

$ time pdflatex test-lualtx.tex  &> /dev/null

real 0m0.995s
user 0m0.967s
sys 0m0.028s


$ time lualatex test-lualtx.tex &>/dev/null

real 0m51.047s
user 0m50.256s
sys 0m0.689s

Note that all tests are done with  -O0  -g -ggdb3  without stripping the
binaries (i.e.: zero optimizations and size 2.5x bigger )
and that lualatex uses luahbtex, but I think that ratios should be the same.

(I need to check optex, btw)

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20220225/6cb9739f/attachment.html>


More information about the luatex mailing list.