I worked on a codebase a few years ago that took over 44 minutes to compile... a change you would think should take 10 minutes took 3 days. RSS was still a big thing at the time, and did a LOT of reading while waiting.
I used to be happy with Java and .NET builds, until I got to deal with Android builds.
Android is probably the only platform that in almost every conference has at least one talk related to how to improve build speed, thanks Gradle + Android Studio.
My build times aren't as long, because I'm working with Java-based microservices, so each service takes a minute or so to build (with tests) but even that delay can break concentration. Turning off tests helps, but then you don't always have the immediate feedback of the test results (and don't worry, I always run the tests before committing).