It is kind of a short and soft question.
Let me provide some background for my question: I am compiling a latex project, which involves a main tex file and more than 100 other tex files with no figures (except for a few simple diagrams) or pictures. The resulting pdf file has more than 600 pages. Initially, I was using pdflatex and newtxtext for font, and to save time for compilation, I put a % for the tex files whenever I am not typing or editing them. However, recently I am more inclined to use NewComputerModern, in particular I like the slightly thicker font. As we know, to use NewComputerModern, we must either use xelatex or lulatex. I chose the former because it seems to be slightly faster than using lulatex, but it is slower than pdflatex. So I ended up spending more time for compliation, especially when I am editing the tex files for the pages of the end of the pdf file. The packages I am using are:
amsfonts, amsmath, amscd, amssymb, euscript, amsthm, fancyhdr, pgf, tikz, pgfplots, caption, subcaption, enumitem, thmtools, color, centernot, mathtools, afterpage, amsbsy, systeme, sectsty, multirow, float, tikz-cd, etoolbox, microtype, mathrsfs, fontspec, fncychap, xy, appendix
My question is: is there any get around for this problem? I want to minimize the time for compilation while keep looking at NewComputerModern rather than newtxtext.
I considered using pdflatex and newtxtext during editing, and xelatex and NewComputerModern right before finish editing. But I think we should be able to do better than this.
\include/\includeonlymechanism (or subfiles or imports) to focus on a section at a time?