[luatex] LuaTeX precompilation

Henrik Mannerström henrik.mannerstrom at gmail.com
Wed Dec 20 18:09:45 CET 2023


The following file (currently not "approved by the community”) compiles in 2.2 seconds with lualatex and in 0.3 seconds with pdflatex with a precompiled format. That is over seven times slower. When I add four pages of meaningful content (text and equations) the times are 2.5s and 0.5s, still five times slower. This is meant to be an illustration only, but not so small to be meaningless. The minimal file: \documentclass{minimal}  \begin{document} Hello World! \end{document} still takes 0.7s with lualatex.

\documentclass{article}

\usepackage{lmodern}
\usepackage[protrusion=true,expansion=false]{microtype}
\usepackage{geometry}
\usepackage{mathtools}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{parskip}
\usepackage{enumitem}
\usepackage{biblatex}

\begin{document}
Hello World!
\end{document} 



More information about the luatex mailing list.