The Performance Between GCC Optimization Levels

Written by Michael Larabel in Software on 13 October 2012. Page 4 of 5. 23 Comments

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.

Related Articles