1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

Trying Link-Time Optimizations On GCC 4.10

Compiler

Published on 23 June 2014 02:12 AM EDT
Written by Michael Larabel in Compiler
30 Comments

This weekend I ran some quick and dirty link-time optimization (LTO) benchmarks from a GCC 4.10 compiler snapshot from earlier this month. Here's the results.

For those unfamiliar with GCC's Link-Time Optimization abilities, read this earlier article and benchmarks from two years ago when testing GCC 4.7 after its LTO abilities were into shape. LTO has the ability to yield faster binaries of large programs by applying optimizations at link-time across multiple source files, but at the cost of longer build times and using greater system resources. With GNU developers continuing to optimize the compiler's LTO performance, out of curiosity I ran some quick benchmarks this weekend of a 4.10 snapshot.


With just being a quick, one-page article, the results aren't too particularly exciting and mostly a data dump of some benchmark numbers, but as GCC 4.10 continues to be developed over the months ahead and gains new abilities ahead of its release that will most likely come in H1'2015, further benchmarks will materialize on Phoronix.


While LTO holds lots of hope, don't get too excited as it won't yield performance improvements for all applications.


For many applications, the performance improvements of LTO are rather small.


The build times are certainly longer...


Find more of these GCC 4.10 LTO tests via this result file but they are rather basic and not particularly exciting -- the more interesting GCC 4.10 compiler tests will come later with a proper, multi-page write-up.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. QEMU 2.3 Officially Released
  2. It's Been Three Years Since The Big Steam Linux Reveal
  3. Debian-Based Distribution Updated With KDE 3.5 Forked Desktop
  4. Intel Is Making Some Progress With Compute Shaders
  5. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  6. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  7. Debian 9.0 Is Codenamed Stretch
  8. AMD Radeon GPUs With Linux 4.0 + Mesa 10.6-devel
  9. The Many Features Of The Linux 4.1 Kernel
  10. HTTPS For Phoronix.com
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  3. Systemd Kills Off Shutdownd
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
  6. AMD Open-Sources "Addrlib" From Catalyst
  7. Debian 8.0 Jessie Is Ready For Release This Weekend
  8. Qt Creator 3.4 Brings C++ Programming Improvements & More