I know that I can significantly speed up LaTeX compilation times by using a format file. However there seem to be multiple options to create a format file:
Just using the
inioption ofpdflatex(in the sensepdflatex -ini -jobname="preamble" "&pdflatex preamble.tex\dump"Use mylatexformat to create the format file
How do both approaches compare? What are the differences and advantages/disadvantages of one over the other? Or is there a third approach you should prefer in 2023? If so, why?