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&sro&gru.

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

graphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverapache: Static Web Page Servingpgbench: TPC-B Transactions Per Secondblake2: Phoronix Test Suite v4.6.0m1hmmer: Pfam Database Searchmafft: Multiple Sequence Alignmentbuild-imagemagick: Time To Compilebuild-php: Time To Compilec-ray: Total Timesmallpt: Global Illumination Renderer; 100 Samplesffmpeg: H.264 HD To NTSC DVIntel 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-rc11431171751921331629.4214318.975.0015.917.1949.9922.5918.411918.09823189124441562.3114267.94354.325.5215.427.4221.1815.5821.0516518.35813189123491597.6214662.33351.515.5015.947.5422.6316.8020.8116318.4311611214815999731.9919810.738.9911.526.42102.9231.1719.263320.3564237310538650.0220186.402438.649.6312.577.0926.9419.3732.8724820.4264227310437667.6819950.552412.869.8011.026.8628.6520.8232.8024820.305429638139779.6511374.966.0338.3920.34208.4298.29116.2911734.344015426921781.1212063.12521.666.4848.1723.8897.0757.64133.7234134.454015426823758.3412423.85542.706.4840.1121.67104.3659.27132.37344OpenBenchmarking.org

GraphicsMagick

Operation: Blur

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: BlurClang 3.2Clang 3.3-rc1GCC 4.8.0306090120150SE +/- 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 = 3SE +/- 0.00, N = 3646411640405482811431. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Sharpen

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenClang 3.2Clang 3.3-rc1GCC 4.8.0306090120150SE +/- 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 = 3232211215152931311171. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

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

GraphicsMagick

Operation: HWB Color Space

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: HWB Color SpaceClang 3.2Clang 3.3-rc1GCC 4.8.04080120160200SE +/- 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 = 3SE +/- 0.00, N = 31051041596968811241231921. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

GraphicsMagick

Operation: Local Adaptive Thresholding

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: Local Adaptive ThresholdingClang 3.2Clang 3.3-rc1GCC 4.8.0306090120150SE +/- 0.33, N = 3SE +/- 0.00, 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 = 3SE +/- 0.00, N = 338379921233944491331. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverClang 3.2Clang 3.3-rc1GCC 4.8.0400800120016002000SE +/- 0.79, N = 3SE +/- 0.11, N = 3SE +/- 0.30, N = 3SE +/- 1.54, N = 3SE +/- 0.37, N = 3SE +/- 0.50, N = 3SE +/- 4.41, N = 3SE +/- 1.53, N = 3SE +/- 1.14, N = 3650.02667.68731.99781.12758.34779.651562.311597.621629.421. (CC) gcc options: -O3 -march=native

Apache Benchmark

Static Web Page Serving

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

PostgreSQL pgbench

TPC-B Transactions Per Second

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

BLAKE2

Phoronix Test Suite v4.6.0m1

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.6.0m1Clang 3.2Clang 3.3-rc1GCC 4.8.03691215SE +/- 0.01, N = 3SE +/- 0.17, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.10, N = 4SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 39.639.808.996.486.486.035.525.505.001. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

Timed HMMer Search

Pfam Database Search

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

Timed MAFFT Alignment

Multiple Sequence Alignment

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

Timed ImageMagick Compilation

Time To Compile

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.8.1-10Time To CompileClang 3.2Clang 3.3-rc1GCC 4.8.050100150200250SE +/- 0.15, N = 3SE +/- 0.05, N = 3SE +/- 0.14, N = 3SE +/- 0.17, N = 3SE +/- 0.11, N = 3SE +/- 0.14, N = 3SE +/- 0.19, N = 3SE +/- 0.06, N = 3SE +/- 0.10, N = 326.9428.65102.9297.07104.36208.4221.1822.6349.99

Timed PHP Compilation

Time To Compile

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

C-Ray

Total Time

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeClang 3.2Clang 3.3-rc1GCC 4.8.0306090120150SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.11, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 332.8732.8019.26133.72132.37116.2921.0520.8118.411. (CC) gcc options: -lm -lpthread -O3 -march=native

Smallpt

Global Illumination Renderer; 100 Samples

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgSeconds, Fewer Is BetterSmallpt 1.0Global Illumination Renderer; 100 SamplesClang 3.2Clang 3.3-rc1GCC 4.8.070140210280350SE +/- 0.58, N = 3SE +/- 0.88, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 3.67, N = 3SE +/- 0.00, N = 3SE +/- 1.20, N = 3SE +/- 0.33, N = 3SE +/- 0.00, N = 324824833341344117165163191. (CXX) g++ options: -fopenmp -O3 -march=native

FFmpeg

H.264 HD To NTSC DV

AMD FX-8350Intel Core i3 3217UIntel Core i7 3960XOpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 1.1H.264 HD To NTSC DVClang 3.2Clang 3.3-rc1GCC 4.8.0816243240SE +/- 0.15, N = 3SE +/- 0.08, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 0.12, N = 3SE +/- 0.18, N = 3SE +/- 0.12, N = 320.4220.3020.3534.4534.3418.3518.4318.091. (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


Phoronix Test Suite v10.8.5