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

Published on March 28, 2011
Written by Michael Larabel
Page 3 of 8
Discuss This Article

With C-Ray, one of the multi-threaded test favorites, using GCC 4.5.2 with DragonEgg and LLVM 2.9 produced the fastest binaries overall. The compiler difference for this multi-threaded ray-tracer under the Core i7 990X was not as huge as the slower systems, but the sweet spot did appear to be using GCC but with LLVM's optimizers and code-generators. Using Clang was also faster than GCC on the Intel Core i3 Sandy Bridge system, but slower on the two AMD computers and effectively the same with the Intel Core i7 990X and Intel Core 2 Duo E8400.

With Smallpt, another interesting test, the performance with Clang was horrible in comparison to the GCC compilers. In all tests, LLVM/Clang 2.9 was multiple times slower than GCC. It looks like Clang has issues with Smallpt when it comes to threading with Clang being twice as slow on the Intel Core 2 Duo, more than six times slower on the Intel Core i7 990X, nearly four times slower on the Quad-Core Opteron 2384, etc. In terms of comparing GCC 4.5.2, GCC 4.6.0, and DragonEgg, the performance was not that different between the three.

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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. A New X.Org-Free Wayland LiveCD Released
  2. Intel Shows Off GNOME3-Based Tizen Shell
  3. Is there anyway to improve the performance of the...
  4. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  5. Steam: No used games...
  6. New Intel X.Org Driver Supports All Of Haswell
  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