With pdflatex, I used to write \pdfcompresslevel 0 and \pdfobjcompresslevel 0 before the \documentclass command. This would disable the PDF compression which in turn speeds up the generation of the PDF file.
However, these commands do not seem to work with LuaLaTeX. Is there a way to speed up the generation of the PDF file, e.g., by also disabling compression?
{\pdfvariable compresslevel}? See TUGboat, Volume 37 (2016), No. 1. Hans Hagen’s article on LuaTEX 0.90 backend changes. – Thérèse Feb 03 '21 at 20:02