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

Benchmarks Of GCC 4.5.0 Compiler Performance

Michael Larabel

Published on 19 April 2010
Written by Michael Larabel
Page 1 of 6 - 44 Comments

Last week GCC 4.5.0 entered the world with improvements to the experimental C++0x support, Graphite-powered automatic parallelization support, compatibility with new ARM processors, Intel Atom and AMD Orochi optimizations, link-time optimization, and GCC plug-in support. Over the weekend we decided to benchmark this major update to the GNU Compiler Collection to see how its performance compares to that of GCC 4.3 and 4.4.

GCC 4.4.0 was released in April of 2009 while GCC 4.3.0 made it out in March of 2009. We could not benchmark any release older than GCC 4.3.0 due to build problems on Ubuntu 10.04 LTS. We built GCC 4.3.0, 4.4.0, and 4.5.0 from source on Ubuntu 10.04 with the only configuration being defining the x86_64-linux-gnu target and leaving all other options at their defaults. All three versions of GCC were built using Ubuntu's GCC 4.4.3 installation. For those interested in how LLVM/Clang is now performing against GCC 4.5, we will have such benchmarks of LLVM-GCC and LLVM Clang later this week compared to these GCC 4.3/4.4/4.5 numbers.

The test system was a Lenovo ThinkPad T61 with an Intel Core 2 Duo T9300 "Penryn" processor clocked at 2.50GHz, 4GB of DDR3 system memory, a 100GB Hitachi HTS72201 Serial ATA 2.0 7200RPM hard drive, and NVIDIA Quadro NVS 140M graphics. Our Ubuntu 10.04 development snapshot was the x86_64 version and used the Linux 2.6.32-20-generic kernel, GNOME 2.30.0, X.Org Server 1.7.6, NVIDIA 195.36.15 display driver, and the default EXT4 file-system.

We began our testing by first measuring the time it took each GCC release to build Apache, PHP, and ImageMagick. After comparing the times it took to build these three popular free software programs, the rest of our testing was looking at the performance of different benchmarks being built from source with the respective GCC releases to examine the performance of the generated binaries. These tests included 7-Zip compression, LAME MP3 encoding, x264, Gcrypt, OpenSSL, C-Ray, GraphicsMagick, Bullet Physics Engine, John The Ripper, timed HMMER search, and NAS Parallel Benchmarks. All of this testing was facilitated by the Phoronix Test Suite.

Latest Articles & Reviews
  1. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  2. The Lenovo T450s Is Working Beautifully With Linux
  3. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  4. Linux 4.0 Hard Drive Comparison With Six File-Systems
  5. Lenovo ThinkPad T450s Broadwell Preview
  6. How Open-Source Allowed Valve To Implement VULKAN Much Faster On The Source 2 Engine
Latest Linux News
  1. Red Hat Joins Khronos, The Group Behind OpenGL & Vulkan
  2. NetworkManager Drops WiMAX Support
  3. Wine 1.7.41 Works More On Kernel Job Objects, MSI Patches
  4. Linux 4.1 Has Improvements For The Multi-Queue Block Layer
  5. X.Org Looks To Have Six Summer Projects
  6. DragonFlyBSD Pulls In GCC 5 Compiler
  7. OpenBenchmarking.org Now Ad-Free, Load Times, New Servers & More
  8. Rust 1.0+ To Focus On Better Windows Support, ARM, & Faster Compile Times
  9. Ubuntu 15.04 Now Under Final Freeze
  10. Linux 4.1 Should Work With GCC 6, Future Versions Of GCC
Most Viewed News This Week
  1. Nouveau: NVIDIA's New Hardware Is "VERY Open-Source Unfriendly"
  2. Linux 4.0 Kernel Released
  3. Microsoft Announces An LLVM-Based Compiler For .NET
  4. Linux 4.1 Brings Many Potentially Risky x86/ASM Changes
  5. Encryption Support For EXT4
  6. VirtualBox 5.0 Beta 2 Released
  7. Mozilla Start Drafting Plans To Deprecate Insecure HTTP
  8. Elementary OS 0.3 "Freya" Now Available