GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries

Written by Michael Larabel in Software on 14 April 2014 at 11:16 AM EDT. Page 5 of 5. 22 Comments.

FLAC benefits a lot from the basic optimize level and there were minor benefits in pushing further, including -march=native targeting for the Haswell CPU.

The LAME MP3 encoding performance also benefits a great deal from the increased compiler optimizations.

These findings aren't really different from previous releases of the GNU Compiler Collection, but if you are new to the compiler world or have just been curious what performance advantages can be had by recompiling your performance sensitive workloads with greater optimization flags, here's a lot of fresh real-world data.

When running your own compiler tests you can also use the Phoronix Test Suite and OpenBenchmarking.org to reproduce our findings and/or carry out other open-source compiler performance benchmarks. Have questions? Let us know!

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.