A Linux Compiler Deathmatch: GCC, LLVM, DragonEgg, Open64, Etc...

Published on January 31, 2011
Written by Michael Larabel
Page 1 of 5
Discuss This Article

Started by one of our readers more than a week ago was a compiler deathmatch for comparing the performance of GCC, LLVM Clang, PCC (the Portable C Compiler), TCC (Tiny C Compiler), and Intel's C Compiler under Arch Linux. This user did not stop there with compiling these different x86_64 code compilers, but he also went on to look at the compiler performance with different compiler flags, among other options. The results are definitely worth looking at and here are some more.

If you have not already, check out this forum thread where the results and discussions can be found spread across a few pages with multiple sets of results. The testing was done using the Phoronix Test Suite 2.8 software in conjunction with Phoronix Global, but with Phoronix Test Suite 3.0-Iveland and OpenBenchmarking.org this will end up being even better and more powerful if this compiler testing continues. Many different test profiles are used including the timed Apache compilation, the Apache web-server benchmark itself, 7-Zip compression, MP3 encoding, cryptography, ray-tracing, and much more.

In past months we have looked at the compiler performance on a 32-bit Atom netbook using GCC 4.2.4, GCC 4.3.5, GCC 4.4.5, GCC 4.5.1, GCC 4.6.0-20101120, and LLVM 2.8 with Clang. There also was a more thorough comparison from an Intel 970 Gulftown system where GCC 4.2.1, GCC 4.3, GCC 4.4, GCC 4.5, and GCC 4.6 were pressed against LLVM with Clang 2.8, LLVM-GCC with GCC 4.2.1 and LLVM 2.8, LLVM 2.8 with the DragonEgg plug-in for GCC 4.5.1, and then using LLVM 2.8 with the Clang compiler.

To complement the compiler testing being done right now by the Phoronix community, here are a new set of compiler results but this time from a dual-core Intel 64-bit Atom CPU with Hyper Threading in a ASUS Eee PC 1201N netbook with 2GB of system memory, 250GB Hitachi HTS54502 SATA HDD, and NVIDIA GeForce 9400M graphics. The operating system in use was Ubuntu 10.10 with the Linux 2.6.35 kernel, GNOME 2.32.0, and X Server 1.9.0. The compilers tested were GCC 4.4.5, GCC 4.5.1, LLVM-GCC 4.2.1 with LLVM 2.8, LLVM-GCC with LLVM 2.8 on GCC 4.5.1 via DragonEgg, Open64 4.2.3, and PCC 0.9.9 20110126. All compilers were tested in their "out of the box" configuration without specifying any extra flags.

The tests ran for this complementary compiler testing article included Apache, John The Ripper, BYTE, C-Ray, Himeno, MAFFT, 7-Zip, FLAC, and GraphicsMagick. This testing was done using the latest revision of Phoronix Test Suite 3.0-Iveland / OpenBenchmarking.org.

<< Previous Page
1
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  2. Qt For Tizen Launches, Based On Qt 5.1
  3. KTAP Released For Linux Kernel Dynamic Tracing
  4. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. Handbrake 0.9.9 Supports OpenCL Offloading
  7. Freedreno Gallium3D Now Banging The Adreno A3XX
  8. Jolla Announces Their First Phone
  9. Mageia 3 Released, Still Using Legacy GRUB
  10. NetBSD 6.1 Brings In More Features
  11. Using Six Monitors With AMD's Open-Source Linux Driver
Latest Forum Talk
  1. Microsoft Releases Skype For Linux 4.2, Has...
  2. Jolla Announces Their First Phone
  3. Intel Linux OpenGL Driver Leading Over Apple OS X
  4. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  5. Will Unreal Engine 4 Games Come To Linux?
  6. Modern Intel Gallium3D Driver Still Being Toyed...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite