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

GCC 4.6, LLVM/Clang 2.9, DragonEgg Five-System Benchmarks

Michael Larabel

Published on 28 March 2011
Written by Michael Larabel
Page 8 of 8 - 10 Comments

With x264 H.264 video encoding, GCC was marginally faster than DragonEgg and Clang on all of the systems.

Where Clang (and DragonEgg) seem to do universally better than GCC is when it comes to measuring the compiling time for the software it builds. Clang and DragonEgg are much faster at compiling than GCC.

In terms of which compiler produces the fastest C / C++ binaries, there is no one dominant compiler. With some applications, using LLVM with the Clang compiler front-end is the fastest where as with others the mature GCC compiler holds its ground, and in others, using GCC but with LLVM's code generator and optimizer via DragonEgg provides a unique advantage. It really depends upon your particular environment and other factors (if doing any compiler tuning, debugging possibilities with different compilers, and other distinct features to GCC and LLVM) as to which compiler is superior.

From the tests today and past benchmarks, LLVM/Clang does appear to almost always compile C / C++ code faster than using GCC, but at the same time, there's still software out there that doesn't build under Clang or is problematic. There are also other compilers out there like Open64, PCC, TCC, and ICC.

Via 1103264-IV-1103253IV95 these results can be further analyzed, exported, and compared against using OpenBenchmarking.org and the Phoronix Test Suite.

8
Next Page >>
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 Linux Hardware Reviews
  1. Btrfs On 4 x Intel SSDs In RAID 0/1/5/6/10
  2. AMD Radeon R9 290 On Ubuntu 14.10: RadeonSI Gallium3D vs. Catalyst
  3. MSI X99S SLI PLUS On Linux
  4. NVIDIA GeForce GTX 970 Offers Great Linux Performance
Latest Linux Articles
  1. 6-Way Ubuntu 14.10 Radeon Gallium3D vs. Catalyst Driver Comparison
  2. NVIDIA vs. Nouveau Drivers On Ubuntu 14.10
  3. Ubuntu 14.10 Offers AMD Radeon Driver Performance Improvements
  4. Btrfs RAID: Linux 3.10 To Linux 3.18 Benchmarks
Latest Linux News
  1. Red Hat Software Collections 1.2 Adds GCC 4.9, Nginx 1.6
  2. GLAMOR Acceleration Continues To Be Cleaned Up
  3. Russia's Yandex Web Browser Finally Released For Linux
  4. Linux Kernel Finally Being Optimized For SSHDs
  5. GPU Profiling Support Lands In Mozilla Firefox
  6. Kubuntu 15.04 Will Use KDE's Plasma 5 By Default
  7. KDBUS Submitted For Review To The Mainline Linux Kernel
  8. An Intel-Based Ubuntu Touch Tablet Is Planning To Launch Soon
  9. MIAOW: An Open-Source GPU Design Based On AMD's Southern Islands
  10. X.Org Server 1.17 RC1 Released, Exciting For GLAMOR & Modesetting
Latest Forum Discussions
  1. Is foolish currently develop in machine code, hexadecimal and assembly?
  2. How to get rid of Linux
  3. Reducing The CPU Usage In Mesa To Improve Performance
  4. Help diagnosing problems with a Readon HD 4670 on Mesa 10.3.2-1
  5. Advertisements On Phoronix
  6. nv and xorg.conf under Debian PPC
  7. Looking for a Open-Source AMD experienced Linux mentor
  8. Bad perfomance in gaming