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&grw.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionIntel Core i7 3960XAMD FX-8350Intel Core i3 3217U GCC 4.8.0 Clang 3.2 Clang 3.3-rc1 GCC 4.8.0 Clang 3.2 Clang 3.3-rc1 GCC 4.8.0 Clang 3.2 Clang 3.3-rc1Intel 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.4GCC 4.8.0ext41920x1080Clang 3.2 + LLVM 3.2svnClang 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.4GCC 4.8.0Clang 3.2 + LLVM 3.2svnClang 3.3 + LLVM 3.3svnIntel 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)GCC 4.8.01366x768Clang 3.2 + LLVM 3.2svnClang 3.3 + LLVM 3.3svnOpenBenchmarking.orgCompiler Details- Intel Core i7 3960X: GCC 4.8.0: --disable-multilib --enable-checking=release --enable-languages=c,c++- 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: 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: GCC 4.8.0: --disable-multilib --enable-checking=release --enable-languages=c,c++- 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- Intel Core i3 3217U: GCC 4.8.0: --disable-multilib --enable-checking=release --enable-languages=c,c++- 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: Clang 3.3-rc1: Optimized build; Built May 17 2013 (00:03:18); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx-iProcessor 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 GCC 4.8.0 Clang 3.2 Clang 3.3-rc1 GCC 4.8.0 Clang 3.2 Clang 3.3-rc1 GCC 4.8.0 Clang 3.2 Clang 3.3-rc15.0015.917.191629.4249.9922.5914311717519213318.4118.091914318.975.5215.427.421562.3121.1815.588231891244421.0518.3516514267.94354.325.5015.947.541597.6222.6316.808131891234920.8118.4316314662.33351.518.9911.526.42731.99102.9231.171161121481599919.2620.353319810.739.6312.577.09650.0226.9419.376423731053832.8720.4224820186.402438.649.8011.026.86667.6828.6520.826422731043732.8020.3024819950.552412.866.0338.3920.34779.65208.4298.295429638139116.2934.3411711374.966.4848.1723.88781.1297.0757.644015426921133.7234.4534112063.12521.666.4840.1121.67758.34104.3659.274015426823132.3734412423.85542.70OpenBenchmarking.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.0m1GCC 4.8.0Clang 3.2Clang 3.3-rc13691215SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.17, N = 3SE +/- 0.10, N = 4SE +/- 0.00, N = 3SE +/- 0.01, N = 35.005.525.508.999.639.806.036.486.481. (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 SearchGCC 4.8.0Clang 3.2Clang 3.3-rc11122334455SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.20, N = 6SE +/- 0.11, N = 3SE +/- 0.17, N = 3SE +/- 0.10, N = 3SE +/- 0.06, N = 3SE +/- 0.01, N = 315.9115.4215.9411.5212.5711.0238.3948.1740.111. (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 AlignmentGCC 4.8.0Clang 3.2Clang 3.3-rc1612182430SE +/- 0.07, N = 3SE +/- 0.18, N = 6SE +/- 0.18, N = 6SE +/- 0.11, N = 4SE +/- 0.15, N = 6SE +/- 0.05, N = 3SE +/- 0.09, N = 3SE +/- 0.06, N = 3SE +/- 0.13, N = 37.197.427.546.427.096.8620.3423.8821.671. (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 SolverGCC 4.8.0Clang 3.2Clang 3.3-rc1400800120016002000SE +/- 1.14, N = 3SE +/- 4.41, N = 3SE +/- 1.53, N = 3SE +/- 0.30, N = 3SE +/- 0.79, N = 3SE +/- 0.11, N = 3SE +/- 0.50, N = 3SE +/- 1.54, N = 3SE +/- 0.37, N = 31629.421562.311597.62731.99650.02667.68779.65781.12758.341. (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 CompileGCC 4.8.0Clang 3.2Clang 3.3-rc150100150200250SE +/- 0.10, N = 3SE +/- 0.19, N = 3SE +/- 0.06, N = 3SE +/- 0.14, N = 3SE +/- 0.15, N = 3SE +/- 0.05, N = 3SE +/- 0.14, N = 3SE +/- 0.17, N = 3SE +/- 0.11, N = 349.9921.1822.63102.9226.9428.65208.4297.07104.36

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 CompileGCC 4.8.0Clang 3.2Clang 3.3-rc120406080100SE +/- 0.12, N = 3SE +/- 0.05, N = 3SE +/- 0.10, N = 3SE +/- 0.02, N = 3SE +/- 0.12, N = 3SE +/- 0.06, N = 3SE +/- 0.32, N = 3SE +/- 0.34, N = 3SE +/- 0.13, N = 322.5915.5816.8031.1719.3720.8298.2957.6459.271. (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: BlurGCC 4.8.0Clang 3.2Clang 3.3-rc1306090120150SE +/- 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 = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3143828111664645440401. (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: SharpenGCC 4.8.0Clang 3.2Clang 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 = 3117313111223222915151. (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: ResizingGCC 4.8.0Clang 3.2Clang 3.3-rc14080120160200SE +/- 0.33, 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 = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3175898914873736342421. (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 SpaceGCC 4.8.0Clang 3.2Clang 3.3-rc14080120160200SE +/- 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 = 31921241231591051048169681. (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 ThresholdingGCC 4.8.0Clang 3.2Clang 3.3-rc1306090120150SE +/- 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 = 3SE +/- 0.00, N = 313344499938373921231. (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 TimeGCC 4.8.0Clang 3.2Clang 3.3-rc1306090120150SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.11, N = 318.4121.0520.8119.2632.8732.80116.29133.72132.371. (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 DVGCC 4.8.0Clang 3.2Clang 3.3-rc1816243240SE +/- 0.12, N = 3SE +/- 0.12, N = 3SE +/- 0.18, N = 3SE +/- 0.01, N = 3SE +/- 0.15, N = 3SE +/- 0.08, N = 3SE +/- 0.04, N = 3SE +/- 0.03, N = 318.0918.3518.4320.3520.4220.3034.3434.451. (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 SamplesGCC 4.8.0Clang 3.2Clang 3.3-rc170140210280350SE +/- 0.00, N = 3SE +/- 1.20, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.58, N = 3SE +/- 0.88, N = 3SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 3.67, N = 319165163332482481173413441. (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 ServingGCC 4.8.0Clang 3.2Clang 3.3-rc14K8K12K16K20KSE +/- 176.48, N = 3SE +/- 119.56, N = 3SE +/- 19.13, N = 3SE +/- 54.62, N = 3SE +/- 302.76, N = 3SE +/- 112.88, N = 3SE +/- 97.71, N = 3SE +/- 180.33, N = 3SE +/- 81.41, N = 314318.9714267.9414662.3319810.7320186.4019950.5511374.9612063.1212423.851. (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 +/- 8.57, N = 4SE +/- 7.11, N = 3354.32351.512438.642412.86521.66542.701. (CC) gcc options: -O3 -march=native -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm


Phoronix Test Suite v10.8.5