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

Testing LLVM Clang 3.5's Code Generation Optimizations

Michael Larabel

Published on 28 June 2014
Written by Michael Larabel
Page 1 of 5 - 3 Comments

For those curious about the performance of LLVM Clang in its current development form when testing the common code generation options for optimizing the performance (and in some cases size) of the resulting binaries, here's some fresh compiler benchmarks.

Just as some extra benchmarks for the weekend while finishing out the month, I ran some new benchmarks comparing common optimization levels for LLVM/Clang with the latest 3.5 development code as of earlier this month. The configurations tested for this article included:

-O0
-O1
-O2
-Os
-Oz
-O3
-Ofast
-O3 -march=native

There aren't any breakthrough changes with the code generation optimizations for Clang 3.5 on x86_64, but simply here's some fresh benchmark results with an array of open-source C/C++ tests done from an Intel Core i7 4790K Devil's Canyon system running Ubuntu 14.04 with the Linux 3.16 development kernel. The code generation options were controlled through the CFLAGS/CXXFLAGS.

Take these reference compiler results as you wish or feel free to run your own compiler benchmarks using the Phoronix Test Suite.

Latest Articles & Reviews
  1. NVIDIA's Latest Maxwell Line-Up Against AMD With Catalyst On Linux
  2. Preliminary Tests Of Intel Sandy Bridge & Ivy Bridge vs. Broadwell
  3. AMD FX-8320E Performance On Linux
  4. Linux Compiler Benchmarks Of LLVM Clang 3.5 vs. LLVM Clang 3.6-rc1
  5. Intel Broadwell HD Graphics 5500: Windows 8.1 vs. Linux
  6. Linux Benchmarks Of NVIDIA's Early 2015 GeForce Line-Up
Latest Linux News
  1. Intel Broadwell-U P-State vs. ACPI CPUFreq Scaling Linux Performance
  2. DragonFlyBSD Is Almost To Linux 3.10 Era Intel Graphics Support
  3. New Beta Of Witcher 2 Aims For Greater Performance
  4. NVIDIA Tegra DRM Driver Supports Atomic Mode-Setting In Linux 3.20
  5. Linux "GHOST" Vulnerability Hits Glibc Systems
  6. Linux Game Publishing Remains Offline, Three Years After The CEO Shakeup
  7. PlayStation 4 System Compiler Support Landing In LLVM
  8. Now-Closed KDE Vulnerabilities Remind Us X11 Screen Locks / Screensavers Are Insecure
  9. Vivaldi: A New Chromium-Powered, Multi-Platform Browser
  10. KDE Plasma 5.2 Officially Released
Most Viewed News This Week
  1. Windows 10 To Be A Free Upgrade: What Linux Users Need To Know
  2. LibreOffice 4.4 Is Coming Soon With New Features
  3. TraceFS: The Newest Linux File-System
  4. My Initial Intel Broadwell Linux Experience With The ThinkPad X1 Carbon
  5. Broadwell Linux Ultrabook Running MUCH Cooler Than Haswell
  6. Interstellar Marines On Linux With Catalyst: Bull S*#@
  7. LZHAM 1.0 Lossless Data Compression Codec Released
  8. Linux Users Upset By Chromium's Busted HiDPI Support