The Performance Between GCC Optimization Levels
To no surprise, as additional optimizations are applied by the GNU Compiler Collection, the build time increases.
The multi-threaded C-Ray ray-tracer is another good test case for highlighting compiler flag differences.
The very small path-tracing benchmark (circa 100 lines of code) saw little improvement beyond the initial optimize level.