LLVM Clang 3.3, Clang 3.2, GCC 4.8 Compilers

Benchmarking LLVM Clang 3.2, LLVM Clang 3.3 RC1, and GCC 4.8.0 on various Linux systems. Benchmarking by Michael Larabel for a future article on Phoronix.com.

HTML result view exported from: https://openbenchmarking.org/result/1305170-UT-LLVMCLANG75&rdt&grw.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionIntel Core i7 3960XAMD FX-8350Intel Core i3 3217U Clang 3.2 GCC 4.8.0 Clang 3.3-rc1 Clang 3.2 Clang 3.3-rc1 GCC 4.8.0 Clang 3.3-rc1 Clang 3.2 GCC 4.8.0Intel Core i7-3960X @ 3.30GHz (12 Cores)Intel DX79SIIntel Xeon E5/Core8192MB64GB OCZ VERTEXAMD Radeon HD 4650 512MBRealtek ALC892DELL S2409WIntel 82579LM Gigabit ConnectionUbuntu 13.043.8.0-19-generic (x86_64)Unity 7.0.0X Server 1.13.3radeon 7.1.03.0 Mesa 9.1.1 Gallium 0.4Clang 3.2 + LLVM 3.2svnext41920x1080GCC 4.8.0Clang 3.3 + LLVM 3.3svnAMD FX-8350 Eight-Core @ 4.00GHz (8 Cores)ASUS Crosshair V FormulaAMD ATI RD890 bridge60GB OCZ VERTEX2AMD Radeon HD 4870 512MBRealtek ALC889VA2431Intel 82583V Gigabit Connection3.0 Mesa 9.2.0 (git-a67b18e) Gallium 0.4Clang 3.2 + LLVM 3.2svnClang 3.3 + LLVM 3.3svnGCC 4.8.0Intel Core i3-3217U @ 1.80GHz (4 Cores)ASUS K56CA v1.0Intel 3rd Gen Core DRAM4096MB500GB Hitachi HTS54505 + 24GB SanDisk SSD i100Intel 3rd Gen CoreRealtek ALC270Realtek RTL8111/8168 + Atheros AR9485 WirelessUbuntu 13.103.10.0-999-generic (x86_64)intel 2.21.63.0 Mesa 9.2.0 (git-4f518e1)Clang 3.3 + LLVM 3.3svn1366x768Clang 3.2 + LLVM 3.2svnGCC 4.8.0OpenBenchmarking.orgCompiler Details- Intel Core i7 3960X: Clang 3.2: Optimized build; Built May 12 2013 (18:35:01); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7-avx- Intel Core i7 3960X: GCC 4.8.0: --disable-multilib --enable-checking=release --enable-languages=c,c++- Intel Core i7 3960X: Clang 3.3-rc1: Optimized build; Built May 12 2013 (23:22:45); Default target: x86_64-unknown-linux-gnu; Host CPU: corei7-avx- AMD FX-8350: Clang 3.2: Optimized build; Built May 14 2013 (10:55:50); Default target: x86_64-unknown-linux-gnu; Host CPU: bdver1- AMD FX-8350: Clang 3.3-rc1: Optimized build; Built May 14 2013 (11:07:41); Default target: x86_64-unknown-linux-gnu; Host CPU: bdver1- AMD FX-8350: GCC 4.8.0: --disable-multilib --enable-checking=release --enable-languages=c,c++- Intel Core i3 3217U: Clang 3.3-rc1: Optimized build; Built May 17 2013 (00:03:18); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx-i- Intel Core i3 3217U: Clang 3.2: Optimized build; Built May 16 2013 (23:24:18); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx-i- Intel Core i3 3217U: GCC 4.8.0: --disable-multilib --enable-checking=release --enable-languages=c,c++Processor Details- Scaling Governor: ondemand

blake2: Phoronix Test Suite v4.6.0m1hmmer: Pfam Database Searchmafft: Multiple Sequence Alignmenthimeno: Poisson Pressure Solverbuild-imagemagick: Time To Compilebuild-php: Time To Compilegraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdingc-ray: Total Timeffmpeg: H.264 HD To NTSC DVsmallpt: Global Illumination Renderer; 100 Samplesapache: Static Web Page Servingpgbench: TPC-B Transactions Per SecondIntel Core i7 3960XAMD FX-8350Intel Core i3 3217U Clang 3.2 GCC 4.8.0 Clang 3.3-rc1 Clang 3.2 Clang 3.3-rc1 GCC 4.8.0 Clang 3.3-rc1 Clang 3.2 GCC 4.8.05.5215.427.421562.3121.1815.588231891244421.0518.3516514267.94354.325.0015.917.191629.4249.9922.5914311717519213318.4118.091914318.975.5015.947.541597.6222.6316.808131891234920.8118.4316314662.33351.519.6312.577.09650.0226.9419.376423731053832.8720.4224820186.402438.649.8011.026.86667.6828.6520.826422731043732.8020.3024819950.552412.868.9911.526.42731.99102.9231.171161121481599919.2620.353319810.736.4840.1121.67758.34104.3659.274015426823132.3734412423.85542.706.4848.1723.88781.1297.0757.644015426921133.7234.4534112063.12521.666.0338.3920.34779.65208.4298.295429638139116.2934.3411711374.96OpenBenchmarking.org

BLAKE2

Phoronix Test Suite v4.6.0m1

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.6.0m1Clang 3.2GCC 4.8.0Clang 3.3-rc13691215SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.17, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.10, N = 45.525.005.509.639.808.996.486.486.031. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

Timed HMMer Search

Pfam Database Search

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchClang 3.2GCC 4.8.0Clang 3.3-rc11122334455SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.11, N = 3SE +/- 0.17, N = 3SE +/- 0.20, N = 6SE +/- 0.01, N = 3SE +/- 0.06, N = 3SE +/- 0.10, N = 315.4215.9115.9412.5711.0211.5240.1148.1738.391. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm

Timed MAFFT Alignment

Multiple Sequence Alignment

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentClang 3.2GCC 4.8.0Clang 3.3-rc1612182430SE +/- 0.18, N = 6SE +/- 0.07, N = 3SE +/- 0.18, N = 6SE +/- 0.15, N = 6SE +/- 0.05, N = 3SE +/- 0.11, N = 4SE +/- 0.13, N = 3SE +/- 0.06, N = 3SE +/- 0.09, N = 37.427.197.547.096.866.4221.6723.8820.341. (CC) gcc options: -O3 -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverClang 3.2GCC 4.8.0Clang 3.3-rc1400800120016002000SE +/- 4.41, N = 3SE +/- 1.14, N = 3SE +/- 1.53, N = 3SE +/- 0.79, N = 3SE +/- 0.11, N = 3SE +/- 0.30, N = 3SE +/- 0.37, N = 3SE +/- 1.54, N = 3SE +/- 0.50, N = 31562.311629.421597.62650.02667.68731.99758.34781.12779.651. (CC) gcc options: -O3 -march=native

Timed ImageMagick Compilation

Time To Compile

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.8.1-10Time To CompileClang 3.2GCC 4.8.0Clang 3.3-rc150100150200250SE +/- 0.19, N = 3SE +/- 0.10, N = 3SE +/- 0.06, N = 3SE +/- 0.15, N = 3SE +/- 0.05, N = 3SE +/- 0.14, N = 3SE +/- 0.11, N = 3SE +/- 0.17, N = 3SE +/- 0.14, N = 321.1849.9922.6326.9428.65102.92104.3697.07208.42

Timed PHP Compilation

Time To Compile

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileClang 3.2GCC 4.8.0Clang 3.3-rc120406080100SE +/- 0.05, N = 3SE +/- 0.12, N = 3SE +/- 0.10, N = 3SE +/- 0.12, N = 3SE +/- 0.06, N = 3SE +/- 0.02, N = 3SE +/- 0.13, N = 3SE +/- 0.34, N = 3SE +/- 0.32, N = 315.5822.5916.8019.3720.8231.1759.2757.6498.291. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

GraphicsMagick

Operation: Blur

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: BlurClang 3.2GCC 4.8.0Clang 3.3-rc1306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3821438164641164040541. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Sharpen

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenClang 3.2GCC 4.8.0Clang 3.3-rc1306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3311173123221121515291. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingClang 3.2GCC 4.8.0Clang 3.3-rc14080120160200SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3891758973731484242631. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: HWB Color Space

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceClang 3.2GCC 4.8.0Clang 3.3-rc14080120160200SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31241921231051041596869811. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive ThresholdingClang 3.2GCC 4.8.0Clang 3.3-rc1306090120150SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 344133493837992321391. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

C-Ray

Total Time

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeClang 3.2GCC 4.8.0Clang 3.3-rc1306090120150SE +/- 0.05, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.11, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 321.0518.4120.8132.8732.8019.26132.37133.72116.291. (CC) gcc options: -lm -lpthread -O3 -march=native

FFmpeg

H.264 HD To NTSC DV

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 1.1H.264 HD To NTSC DVClang 3.2GCC 4.8.0Clang 3.3-rc1816243240SE +/- 0.12, N = 3SE +/- 0.12, N = 3SE +/- 0.18, N = 3SE +/- 0.15, N = 3SE +/- 0.08, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 318.3518.0918.4320.4220.3020.3534.4534.341. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lasound -lm -pthread -O3 -march=native -std=c99 -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -MMD

Smallpt

Global Illumination Renderer; 100 Samples

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesClang 3.2GCC 4.8.0Clang 3.3-rc170140210280350SE +/- 1.20, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.88, N = 3SE +/- 0.33, N = 3SE +/- 3.67, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 316519163248248333443411171. (CXX) g++ options: -fopenmp -O3 -march=native

Apache Benchmark

Static Web Page Serving

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.3Static Web Page ServingClang 3.2GCC 4.8.0Clang 3.3-rc14K8K12K16K20KSE +/- 119.56, N = 3SE +/- 176.48, N = 3SE +/- 19.13, N = 3SE +/- 302.76, N = 3SE +/- 112.88, N = 3SE +/- 54.62, N = 3SE +/- 81.41, N = 3SE +/- 180.33, N = 3SE +/- 97.71, N = 314267.9414318.9714662.3320186.4019950.5519810.7312423.8512063.1211374.961. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native

PostgreSQL pgbench

TPC-B Transactions Per Second

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 8.4.11TPC-B Transactions Per SecondClang 3.2Clang 3.3-rc15001000150020002500SE +/- 0.80, N = 3SE +/- 4.34, N = 3SE +/- 36.10, N = 4SE +/- 61.65, N = 6SE +/- 7.11, N = 3SE +/- 8.57, N = 4354.32351.512438.642412.86542.70521.661. (CC) gcc options: -O3 -march=native -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm


Phoronix Test Suite v10.8.5