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 Benchmarking Platform
Phoromatic Test Orchestration

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. Radeon Linux Benchmarks: Catalyst 15.3 Beta vs. Linux 4.0 + Mesa 10.6-devel
  2. Trying Out The Modern Linux Desktops With 4 Monitors + AMD/NVIDIA Graphics
  3. Turning A Basement Into A Big Linux Server Room
  4. NVIDIA's $1000+ GeForce GTX TITAN X Delivers Maximum Linux Performance
  5. OS X 10.10 vs. Ubuntu 15.04 vs. Fedora 21 Tests: Linux Sweeps The Board
  6. The New Place Where Linux Code Is Constantly Being Benchmarked
Latest Linux News
  1. Kodi 15 Alpha 2 Released
  2. VirtualBox 5.0 Now In Beta, Adds PV To Windows/Linux Guests
  3. Go Language Improvements Coming For Ubuntu 15.04
  4. The Big SuperTuxKart Update Is Almost Ready
  5. Blender 2.74 Brings Many Improvements
  6. Qt Creator 3.4 Is Near
  7. Allwinner: "We Are Taking Initiative Actions Internally"
  8. It's Been Five Years Since The Phoronix Visit To Chernobyl
  9. Vulkan, The New Linux Server Room & BioShock Won Linux Users In March
  10. Debian 8.0 Jessie Gets A Release Date
Most Viewed News This Week
  1. The Big Features Of The Linux 4.0 Kernel
  2. Systemd Developers Did NOT Fork The Linux Kernel
  3. Improved OpenCL Support For Blender's Cycles Renderer
  4. Open-Source Driver Fans Will Love NVIDIA's New OpenGL Demo
  5. Allwinner Continues Jerking Around The Open-Source Community
  6. GNOME 3.16 Released: It's Their Best Release Yet
  7. Ubuntu 15.04 Final Beta Released
  8. Nuclide: Facebook's New Unified IDE