- Calculating skeleton animations (updating bone positions, sometimes skinning vertices too)
- Clipping geometry in the scene (finding out what things are inside/outside the camera frustum, etc.)
- Processing game logic, things like AI can be quite costly, so much is game dependent
- Walking through all the geometry that needs drawing and issueing draw calls
- Decompressing streaming audio and sending it to a sound driver buffer/queue
- Stepping the physics world (integrating positions/rotation working and resolving out intersections, etc.)
The difference between a non optimized, and an optimized build, is often 5 FPS and 60 FPS, and optimizing a single hot file or function would not get the game running anywhere near 60 FPS. I think the idea that optimizing compilers aren't required is completely laughable, but then again I only have one perspective from the games development scene - maybe someone else will reply and say they make AAA games in C/C++ and don't need compiler optimizations :)