Why do precompiled shaders run faster than loading the game in general?

Why do precompiled shaders run faster than loading the game in general? - Athletes Running on Track and Field Oval in Grayscale Photography

I've noticed when emulating the 3DS and Wii U that precompiled shaders run faster than just generally playing the game. Moreso on the Wii U than 3DS.

When playing something like Breath of the Wild, it generally runs slower, especially while it's configuring the shaders while I'm playing. However, if I come back to an area that uses the same shaders, it runs perfectly smooth.

3DS is less noticeable since it's a weaker system, but I can easily tell the difference. In general, my emulation settings overclock the 3DS CPU to make it run faster, generally because the more power I give it the better it runs. However, if I have all of the shaders there, I can revert the clock speed to normal, and it runs perfectly.

Does anyone know why precompiled shaders work faster than normal gameplay?

EDIT: In case you were wondering, this is all done legally.






Pictures about "Why do precompiled shaders run faster than loading the game in general?"

Why do precompiled shaders run faster than loading the game in general? - Baseball Player in Gray and Black Uniform Running
Why do precompiled shaders run faster than loading the game in general? - Four Boys Running in Track
Why do precompiled shaders run faster than loading the game in general? - Boys Playing Soccer during Day






Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Pixabay, Pixabay, Jimmy Chan, Patrick Case