[luatex] LuaTeX precompilation
Hans Hagen
j.hagen at xs4all.nl
Wed Dec 20 21:05:44 CET 2023
On 12/20/2023 6:44 PM, blumens at fi.muni.cz wrote:
> Hans Hagen wrote:
>> On 12/20/2023 3:48 PM, Axel Kittenberger wrote:
>>> Sorry, but I have to disagree here, for me the performance
>>> differences were indeed a dealbreaker for me to push lualatex as a
>>> general purpose replacement in my department.
>>
>> In documents of average complexity i normally get 30 page/second
>> performance. On more complex documents pdftex can be slower. I have a
>> 2017 laptop so more modern hardware will gove lower numbers
>
> I agree with Alex here. Performance is the only reason I haven't
> switched to lualatex for all my documents yet.
>
> For instance, I get the numbers
>
> 8 s for pdflatex
> 12 s for lualatex with the same TFM fonts
> 18 s for lualatex using luaotfload and fontspec instead
>
> This was for a math heavy document of about 600 pages using large OTF fonts
Do you need otf fonts? Maybe t1 will do the job as well.
> This performance difference is very noticeable. 8 s compile times are
> fine, but having to wait 18 s interrupts my workflow.
In that case: run chapters when you work on them and not whole books ...
> Note that I did not spend time to figure out what causes the slowdown.
> It might be harfbuzz, but it also might be fontspec, which wouldn't be
> luatex's fault.
mostly being 32 bit which is more memory demanding and memory access is
a bottleneck
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
-----------------------------------------------------------------
More information about the luatex
mailing list.