<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 25, 2022 at 7:43 AM Herbert Voss <<a href="mailto:Herbert.Voss@fu-berlin.de">Herbert.Voss@fu-berlin.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Am 24.02.22 um 23:56 schrieb luigi scarso:<br>
><br>
><br>
> hm<br>
> what about context test.tex<br>
> %%%<br>
> %% test.tex<br>
> \starttext<br>
> \dorecurse{950}{\externalfigure[target/buch.pdf][page=\recurselevel]}<br>
> \stoptext<br>
><br>
> here I have real 0m12.763s for 3 runs (latest luatex with -g0 <br>
> optimization).<br>
<br>
<br>
real 0m4.382s<br>
user 0m3.712s<br>
sys 0m0.555s<br>
<br>
curious ...<br>
Why is luatex with context fast and without slow??<br>
<br>
Herbert<br>
</blockquote></div><div><br></div><div><br></div><div>%%test.ctx.tex</div>\starttext<br>\dorecurse{100}{\externalfigure[t/PDF32000_2008.pdf][page=\recurselevel]}<br>\stoptext <br clear="all"><div><br></div><div>$ time context test-ctx.tex &>/dev/null<br><br>real 0m1.829s<br>user 0m1.738s<br>sys 0m0.089s<br></div><div><br></div><div><br></div><div>$ time contextjit test-ctx.tex &>/dev/null<br><br>real 0m1.672s<br>user 0m1.591s<br>sys 0m0.079s<br></div><div><br></div><div><br></div><div>%% test-lualtx.tex</div><div>\documentclass{article}<br>\usepackage{pdfpages}<br><br>\begin{document}<br>\includepdf[pages={1-100}]{PDF32000_2008.pdf}<br>\end{document}</div><div> </div><div>$ time pdflatex test-lualtx.tex &> /dev/null<br><br>real 0m0.995s<br>user 0m0.967s<br>sys 0m0.028s<br></div><div><br></div><div><br></div><div>$ time lualatex test-lualtx.tex &>/dev/null<br><br>real 0m51.047s<br>user 0m50.256s<br>sys 0m0.689s<br></div><div><br></div><div>Note that all tests are done with -O0 -g -ggdb3 without stripping the binaries (i.e.: zero optimizations and size 2.5x bigger )</div><div>and that lualatex uses luahbtex, but I think that ratios should be the same.</div><div><br></div><div>(I need to check optex, btw)</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>