GCC 4.8 vs. LLVM Clang 3.3 SVN Compiler Benchmarking

GCC 4.7.2 versus GCC 4.8.0 versus LLVM Clang 3.2 versus LLVM Clang 3.3 SVN compiler benchmarking from an Intel Core i7 990X Gulftown system running Ubuntu 13.04 Linux. Compiler GCC benchmarks for a future article on Phoronix.com.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 1303255-FO-GCC48LLVM06
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results
Show Result Confidence Charts
Allow Limiting Results To Certain Suite(s)

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Toggle/Hide
Result
Result
Identifier
View Logs
Performance Per
Dollar
Date
Run
  Test
  Duration
GCC 4.7.2
March 20 2013
 
GCC 4.8.0
March 20 2013
 
LLVM Clang 3.2
March 25 2013
 
LLVM Clang 3.3 SVN
March 25 2013
 
Invert Behavior (Only Show Selected Data)
 

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


GCC 4.8 vs. LLVM Clang 3.3 SVN Compiler BenchmarkingOpenBenchmarking.orgPhoronix Test SuiteIntel Core i7 990X @ 3.47GHz (12 Cores)MSI X58M (MS-7593) v1.0Intel 5520/5500/X58 + ICH10R12288MB1000GB Western Digital WD1003FBYX-0NVIDIA GeForce 8400 GS 512MB (500/333MHz)Realtek ALC889Realtek RTL8111/8168BUbuntu 13.043.8.0-12-generic (x86_64)Unity 6.6.0X Server 1.13.2NVIDIA 313.263.3.0 NVIDIA 313.26GCC 4.7.2GCC 4.7Clang 3.2 + LLVM 3.2svnClang 3.3 (SVN 177878) + LLVM 3.3svnext41920x1080ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilersFile-SystemScreen ResolutionGCC 4.8 Vs. LLVM Clang 3.3 SVN Compiler Benchmarking PerformanceSystem Logs- GCC 4.7.2: --enable-checking=release --enable-languages=c,c++,fortran --enable-lto- GCC 4.8.0: --build=x86_64-linux-gnu --disable-cloog-version-check --disable-ppl-version-check --disable-werror --enable-checking=release --enable-clocale=gnu --enable-cloog-backend=ppl --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-cloog --with-multilib-list=m32,m64,mx32 --with-tune=generic -v - LLVM Clang 3.2: Optimized build; Built Mar 25 2013 (15:48:44); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7 - LLVM Clang 3.3 SVN: Optimized build; Built Mar 25 2013 (12:54:43); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7 - Scaling Governor: ondemand- GCC 4.8.0: GPU Compute Cores: 8- GCC 4.8.0: GPU Compute Cores: 8.

GCC 4.7.2GCC 4.8.0LLVM Clang 3.2LLVM Clang 3.3 SVNLogarithmic Result OverviewPhoronix Test SuiteSmallptN-QueensPrimesieveTimed ImageMagick CompilationC-RayLAMMPS Molecular Dynamics SimulatorBotanFLAC Audio EncodingBLAKE2Himeno BenchmarkTimed MAFFT AlignmentMinionLAME MP3 EncodingFFmpeg

GCC 4.8 vs. LLVM Clang 3.3 SVN Compiler Benchmarkingn-queens: Elapsed Timeminion: Quasigroupminion: Solitaireminion: Gracefulffmpeg: H.264 HD To NTSC DVencode-mp3: WAV To MP3encode-flac: WAV To FLACsmallpt: Global Illumination Renderer; 100 Samplesprimesieve: 1e12 Prime Number Generationc-ray: Total Timebuild-imagemagick: Time To Compilehimeno: Poisson Pressure Solverjohn-the-ripper: MD5john-the-ripper: Traditional DESjohn-the-ripper: Blowfishbotan: X9.19-MACbotan: CAST-256botan: Twofishbotan: AES-256botan: KASUMIbotan: Tigerblake2: Phoronix Test Suite v4.4.1mafft: Multiple Sequence Alignmentlammps: Rhodopsin ProteinGCC 4.7.2GCC 4.8.0LLVM Clang 3.2LLVM Clang 3.3 SVN28.82157.81107.4471.5819.0617.236.993266.6723.7858.051527.0277.1285.71175.13154.6039.35360.435.965.6749.3629.66153.93103.0572.4019.3517.006.943266.7918.8359.671337.123399612345000727276.1987.37172.71133.3837.91376.266.165.7248.46257.21156.36108.4871.8419.2417.417.983166.5723.7825.031487.3325987410266790176.7785.56175.13154.7439.34357.406.776.1949.71257.21159.10114.7470.2919.3116.837.88285419.7623.7424.791499.5028585410566790974.87109.43169.82144.7465.75381.896.856.1341.36OpenBenchmarking.org

N-Queens

This is a test of the OpenMP version of a test that solves the N-queens problem. The board problem size is 18. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterN-Queens 1.0Elapsed TimeGCC 4.7.2GCC 4.8.0LLVM Clang 3.2LLVM Clang 3.3 SVN60120180240300SE +/- 0.02, N = 3SE +/- 0.13, N = 3SE +/- 0.04, N = 3SE +/- 0.05, N = 328.8229.66257.21257.211. (CC) gcc options: -static -fopenmp -O3 -march=native

Minion

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.15Benchmark: QuasigroupGCC 4.8.0LLVM Clang 3.2GCC 4.7.2LLVM Clang 3.3 SVN4080120160200SE +/- 0.44, N = 3SE +/- 0.42, N = 3SE +/- 0.19, N = 3SE +/- 0.55, N = 3153.93156.36157.81159.10-lz -lbz2-lz -lbz2-lz -lbz21. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.15Benchmark: SolitaireGCC 4.8.0GCC 4.7.2LLVM Clang 3.2LLVM Clang 3.3 SVN306090120150SE +/- 0.82, N = 3SE +/- 0.76, N = 3SE +/- 0.76, N = 3SE +/- 0.68, N = 3103.05107.44108.48114.74-lz -lbz2-lz -lbz2-lz -lbz21. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt

OpenBenchmarking.orgSeconds, Fewer Is BetterMinion 0.15Benchmark: GracefulLLVM Clang 3.3 SVNGCC 4.7.2LLVM Clang 3.2GCC 4.8.01632486480SE +/- 0.35, N = 3SE +/- 0.37, N = 3SE +/- 0.08, N = 3SE +/- 0.38, N = 370.2971.5871.8472.40-lz -lbz2-lz -lbz2-lz -lbz21. (CXX) g++ options: -O3 -fomit-frame-pointer -rdynamic -lboost_iostreams-mt

FFmpeg

OpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 1.1H.264 HD To NTSC DVGCC 4.7.2LLVM Clang 3.2LLVM Clang 3.3 SVNGCC 4.8.0510152025SE +/- 0.07, N = 3SE +/- 0.04, N = 3SE +/- 0.19, N = 3SE +/- 0.18, N = 319.0619.2419.3119.351. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lasound -lSDL -lm -pthread -lbz2

LAME MP3 Encoding

LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3LLVM Clang 3.3 SVNGCC 4.8.0GCC 4.7.2LLVM Clang 3.248121620SE +/- 0.02, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.04, N = 516.8317.0017.2317.41

FLAC Audio Encoding

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.2.1WAV To FLACGCC 4.8.0GCC 4.7.2LLVM Clang 3.3 SVNLLVM Clang 3.2246810SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.02, N = 56.946.997.887.981. (CXX) g++ options: -O3 -march=native -logg -lm

Smallpt

Smallpt is a C++ global illumination renderer written in less than 100 lines of code. Global illumination is done via unbiased Monte Carlo path tracing and there is multi-threading support via the OpenMP library. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesLLVM Clang 3.2GCC 4.7.2GCC 4.8.0LLVM Clang 3.3 SVN60120180240300SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 33132322851. (CXX) g++ options: -fopenmp -O3 -march=native

Primesieve

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 4.21e12 Prime Number GenerationLLVM Clang 3.2GCC 4.7.2GCC 4.8.0LLVM Clang 3.3 SVN90180270360450SE +/- 0.04, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.45, N = 366.5766.6766.79419.76-fopenmp-fopenmp-fopenmp1. (CXX) g++ options: -O2

C-Ray

This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.8.0LLVM Clang 3.3 SVNGCC 4.7.2LLVM Clang 3.2612182430SE +/- 0.00, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 318.8323.7423.7823.781. (CC) gcc options: -lm -lpthread -O3 -march=native

Timed ImageMagick Compilation

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.8.1-10Time To CompileLLVM Clang 3.3 SVNLLVM Clang 3.2GCC 4.7.2GCC 4.8.01326395265SE +/- 0.10, N = 3SE +/- 0.11, N = 3SE +/- 0.07, N = 3SE +/- 0.12, N = 324.7925.0358.0559.67

Himeno Benchmark

The Himeno benchmark is a linear solver of pressure Poisson using a point-Jacobi method. Learn more via the OpenBenchmarking.org test page.

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 4.7.2LLVM Clang 3.3 SVNLLVM Clang 3.2GCC 4.8.030060090012001500SE +/- 2.54, N = 3SE +/- 2.56, N = 3SE +/- 2.43, N = 3SE +/- 5.16, N = 31527.021499.501487.331337.121. (CC) gcc options: -O3 -march=native

John The Ripper

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9-jumbo-7Test: MD5GCC 4.8.0LLVM Clang 3.3 SVNLLVM Clang 3.27K14K21K28K35KSE +/- 31.75, N = 3SE +/- 75.88, N = 3SE +/- 52.07, N = 33399628585259871. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9-jumbo-7Test: Traditional DESGCC 4.8.0LLVM Clang 3.3 SVNLLVM Clang 3.23M6M9M12M15MSE +/- 41000.00, N = 3SE +/- 6691.62, N = 3SE +/- 1855.92, N = 312345000410566741026671. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl

OpenBenchmarking.orgReal C/S, More Is BetterJohn The Ripper 1.7.9-jumbo-7Test: BlowfishGCC 4.8.0LLVM Clang 3.3 SVNLLVM Clang 3.216003200480064008000SE +/- 0.33, N = 3SE +/- 0.67, N = 3SE +/- 1.76, N = 372729099011. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl

Botan

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: X9.19-MACGCC 4.7.2LLVM Clang 3.2GCC 4.8.0LLVM Clang 3.3 SVN2040608010077.1276.7776.1974.871. (CXX) g++ options: -m64 -ldl -lpthread -lrt

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: CAST-256LLVM Clang 3.3 SVNGCC 4.8.0GCC 4.7.2LLVM Clang 3.220406080100109.4387.3785.7185.561. (CXX) g++ options: -m64 -ldl -lpthread -lrt

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TwofishLLVM Clang 3.2GCC 4.7.2GCC 4.8.0LLVM Clang 3.3 SVN4080120160200175.13175.13172.71169.821. (CXX) g++ options: -m64 -ldl -lpthread -lrt

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: AES-256LLVM Clang 3.2GCC 4.7.2LLVM Clang 3.3 SVNGCC 4.8.0306090120150154.74154.60144.74133.381. (CXX) g++ options: -m64 -ldl -lpthread -lrt

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: KASUMILLVM Clang 3.3 SVNGCC 4.7.2LLVM Clang 3.2GCC 4.8.0153045607565.7539.3539.3437.911. (CXX) g++ options: -m64 -ldl -lpthread -lrt

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TigerLLVM Clang 3.3 SVNGCC 4.8.0GCC 4.7.2LLVM Clang 3.280160240320400381.89376.26360.43357.401. (CXX) g++ options: -m64 -ldl -lpthread -lrt

BLAKE2

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.4.1GCC 4.7.2GCC 4.8.0LLVM Clang 3.2LLVM Clang 3.3 SVN246810SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 35.966.166.776.851. (CC) gcc options: -std=gnu99 -O3 -march=native

Timed MAFFT Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentGCC 4.7.2GCC 4.8.0LLVM Clang 3.3 SVNLLVM Clang 3.2246810SE +/- 0.09, N = 6SE +/- 0.10, N = 3SE +/- 0.13, N = 6SE +/- 0.06, N = 35.675.726.136.191. (CC) gcc options: -O3 -lm -lpthread

LAMMPS Molecular Dynamics Simulator

OpenBenchmarking.orgLoop Time, Fewer Is BetterLAMMPS Molecular Dynamics Simulator 1.0Test: Rhodopsin ProteinLLVM Clang 3.3 SVNGCC 4.8.0GCC 4.7.2LLVM Clang 3.21122334455SE +/- 0.09, N = 3SE +/- 0.14, N = 3SE +/- 0.18, N = 3SE +/- 0.07, N = 341.3648.4649.3649.711. (CXX) g++ options: -lfftw -lmpich