I am wondering about what the bottleneck of the compilation speed of LaTeX is (e.g. MiKTeX/MacTeX/etc). By looking at information on CPU usage, it appears that the compiler uses only a small fraction of the capability of the processor. For a short document (below 100 pages), there is certainly no heavy memory use as well.
So, what is really the bottleneck? Why do we experience a significant compilation time in seconds (compare to other things we experience daily, such as rendering html?), even though making a pdf document does not look like a complicated task? And is there a better optimised compiler to make this process faster?
\tracingallat the top then look in the log to see what latex is doing