SOLVED: see bottom of message!
I sensed pdfLaTeX was slower in TeX-Live 2020 and decided to run some benchmarking…
- Computer: MacBook Pro (2018) with SSD
- Document: The "novathesis" thesis template
- LaTeX Version(s): MacTex 2019, 2020, 2021 (all versions up to date)
The chart shows the execution time (as the average of 5 consecutive runs) for pdfLaTeX, XeLaTeX and LuaLaTeX, versions 2019, 2020 and 2021.
My reading of the charts is:
- pdfLaTeX and XeLaTeX go side-by-side on execution times (XeLaTeX is becoming slightly faster);
- pdfLaTeX and XeLaTeX are getting slower with each release (with a huge slowdown for 2020);
- The slowdown in LuaLaTeX is less noticeable and in macTeX 2020 LuaLaTeX is competing with pdfLaTeX and XeLaTeX (by demerit of pdfLaTeX and XeLaTeX that became much slower).
Questions:
- Do you have a similar experience?
- What happened to pdfLaTeX and XeLaTeX to suffer such a slowdown?
UPDATE
Another benchmarking, now with (almost) no additional packages. Used the average of 5 runs, in same computer, with the code below (BTW, the resulting PDF is 545 pages):
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\newcounter{int}
\setcounter{int}{1}
\loop
\lipsum[1-30]
\addtocounter{int}{1}
\ifnum \value{int}<100
\repeat
\end{document}
Execution times below:
My reading from the numbers above is that the pdf/Xe/Lua-LaTeX engines are not getting slower. But as a user, I'm experiencing a considerable slowdown overall… Can it really be from kpsewhich
? How to measure/evaluate that?
kpsewhich tikz.sty
or so? Output ofbench
for that: dpaste.com/2EN4H5LX5 (expires in 10 days)latexmk 58886 (4.72b)
, which when applied made the compiling time of my document increase from 32 to 76 seconds. The current update oflatexmk 59081 (4.73)
solves the issue. 😃