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 Linux News
  1. NVIDIA/Nouveau PerfKit Implemented Over Gallium3D State Tracker
  2. AMD Catalyst 15.5 Beta Linux Driver Surfaces
  3. GCC's JIT Library Could Soon Be Around 5x Faster
  4. Chromium 44 Beta Brings Improved Notifications, ES6 Additions
  5. Steam Linux Usage Drops Lower... Below 0.9%
  6. Thunderbolt 3 To Offer 40 Gbps Transfers, USB Type-C Connector
  7. Qt 5.4.2 Officially Released
  8. Cinnamon 2.6 Yields Lower CPU Usage
  9. XDC2015 X.Org Conference Announced, CFP Issued
  10. Libinput 0.16 Now Supports Devices Like The Chromebook Pixel
Latest Articles & Reviews
  1. Benchmarking The Latest AMD & NVIDIA Graphics Cards On Ubuntu Linux
  2. Intel Compute Stick Performance Surprises Under Ubuntu Linux
  3. Linux 4.1 Brings Performance Boosts For Some Intel Low-Power Hardware
  4. Radeon OpenGL Benchmarks On Fedora 22
Most Viewed News This Week
  1. Friction Building Around An Ubuntu Community Council Decision
  2. Russia's Baikal Chips End Up Going For A MIPS CPU
  3. GNU Octave 4.0 Released, Includes A GUI & OpenGL
  4. For AMD Users, Linux 4.2 Will Bring The New AMDGPU Driver & VCE1 For Radeon
  5. Bye Bye Mandriva, She's Being Liquidated
  6. Confusion Mounts Over Wayland's Actual License
  7. Ubuntu Community Council Reaffirms Its Decision Against Kubuntu's Leader
  8. Mandriva Linux Was Allegedly Brought Down By Employee Lawsuits