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.org

Compiler Benchmarks Of GCC, LLVM-GCC, DragonEgg, Clang

Michael Larabel

Published on 8 November 2010
Written by Michael Larabel
Page 7 of 7 - 62 Comments

For our last two tests we looked at the time it took for these compilers to build software. While the LLVM solutions were not the fastest when running the binaries they generated, they were certainly the fastest at building the software. LLVM-GCC / DragonEgg / Clang all took around the same amount of time to build the Apache server on all three Ubuntu Linux systems, which is well ahead of GCC. Interestingly, there is a major slowdown in compilation performance for the latest GCC 4.6 development snapshot. This is interesting as GCC 4.6 is supposed to have faster compile times.

When building ImageMagick, GCC 4.6 continued to be horrifically slower while LLVM-GCC and Clang were the fastest. With this test though LLVM-GCC was the fastest where it is just plugging-in LLVM's generators and optimizers into GCC. GCC with DragonEgg could not successfully build ImageMagick.

While the Low-Level Virtual Machine and Clang continue hitting new milestones, such as feature-complete C++ support and separately now being able to now compile the Linux kernel, it is not yet in a position to fully replace the mature GCC stack. Some of our common Linux benchmarks could not even be built under Clang or even GCC when using the in-development DragonEgg plug-in. In other tests, the performance of LLVM/Clang and DragonEgg was worse off, but there were areas where this open-source compiler was able to shine.

LLVM could not outdo GCC when it came to John The Ripper, MAFFT, HMMer, 7-Zip, LAME MP3, GraphicsMagick, and others. Clang/DragonEgg/LLVM-GCC results were favorable over GCC when it came to C-Ray and Himeno (with only the AMD Opteron workstation) and then the faster compilation times. In other instances, the performance of the LLVM-leveraged compilers was just on par with the GNU Compiler Collection for its C/C++ performance. Worth noting from these results were also the performance improvements found with the GCC 4.6 development snapshot we tested, which will be something to look forward to in 2011.

While LLVM/Clang is not yet decisively faster than GCC, it is continuing to make great progress and does boast a different feature-set and focus from the GNU Compiler Collection. The DragonEgg plug-in also shows great potential for speeding-up GCC and as an optimization solution for languages not supported by Clang or other LLVM-based compilers. Going into 2011 we will continue to monitor the compiler performance.

7
Next Page >>
Latest Linux Hardware Reviews
  1. Overclocking The AMD AM1 Athlon & Sempron APUs
  2. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  3. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
  4. AMD Athlon 5350 APU On Linux
Latest Linux Articles
  1. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  2. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
  3. GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries
  4. DDR3 Memory Scaling Performance With AMD's Athlon 5350
Latest Linux News
  1. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  2. Red Hat Releases Its RHEL 7 Release Candidate
  3. New Features Coming To Xubuntu 14.04 LTS
  4. NVIDIA Officially Releases CUDA 6
  5. Google Releases An AutoFDO Converter For Perf In LLVM
  6. Fedora 21 To Evaluate Remote Journal Logging, 64-bit ARM Emulation
  7. Star Citizen Will Be Coming To Linux
  8. Ubuntu 14.10 Convergence To Focus On Replacing Core Apps
  9. The Results Of Optimizing Radeon's VRAM Behavior
  10. Kernel Developers Discuss Improving Kernel Configurations
  11. Apple, LLVM Developers Figure Out Their 64-Bit ARM Approach
  12. NVIDIA GeForce GTX 750 Maxwell GPUs Light Up On Linux 3.15
Latest Forum Discussions
  1. The GNOME Foundation Is Running Short On Money
  2. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  3. Bye bye BSD, Hello Linux: A Sys Admin's Story
  4. New tool for undervolt/overclock AMD K8L and K10 processors
  5. How to enable opengl 3.3 on r9 270?
  6. R290x sound problems
  7. radeon-profile: tool for changing profiles and monitoring some GPU parameters
  8. Torvalds Is Unconvinced By LTO'ing A Linux Kernel