On which stage (lexical analysis, syntax analysys, and so on) is most of the compilation time spent?
For a few compilers I've seen compilation times was reduced 3+ fold when optimization was disabled, so otherwise they spent most time on optimization passes.