Create a "render" command like Premiere Pro
Rendering in After Effects requires playing the video so the CPU and GPU have to simultaneously display and render the project. In Premiere Pro, there is a "Render" command that allows rendering without displaying the video. It is a lot faster than AE.
Olivier Vanaschen commented
try to press "shift" when rendering in After Effects. It stops the display.
All the best,