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&sor&grr.

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

apache: Static Web Page Servingpgbench: TPC-B Transactions Per Secondffmpeg: H.264 HD To NTSC DVsmallpt: Global Illumination Renderer; 100 Samplesc-ray: Total Timebuild-php: Time To Compilebuild-imagemagick: Time To Compilehimeno: Poisson Pressure Solvergraphics-magick: Local Adaptive Thresholdinggraphics-magick: HWB Color Spacegraphics-magick: Resizinggraphics-magick: Sharpengraphics-magick: Blurblake2: Phoronix Test Suite v4.6.0m1mafft: Multiple Sequence Alignmenthmmer: Pfam Database SearchIntel 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-rc114318.9718.091918.4122.5949.991629.421331921751171435.007.1915.9114267.94354.3218.3516521.0515.5821.181562.31441248931825.527.4215.4214662.33351.5118.4316320.8116.8022.631597.62491238931815.507.5415.9419810.7320.353319.2631.17102.92731.99991591481121168.996.4211.5220186.402438.6420.4224832.8719.3726.94650.02381057323649.637.0912.5719950.552412.8620.3024832.8020.8228.65667.68371047322649.806.8611.0211374.9634.34117116.2998.29208.42779.6539816329546.0320.3438.3912063.12521.6634.45341133.7257.6497.07781.1221694215406.4823.8848.1712423.85542.70344132.3759.27104.36758.3423684215406.4821.6740.11OpenBenchmarking.org

Apache Benchmark

Static Web Page Serving

AMD FX-8350Intel Core i7 3960XIntel Core i3 3217UOpenBenchmarking.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 +/- 19.13, N = 3SE +/- 176.48, N = 3SE +/- 119.56, N = 3SE +/- 81.41, N = 3SE +/- 180.33, N = 3SE +/- 97.71, N = 320186.4019950.5519810.7314662.3314318.9714267.9412423.8512063.1211374.961. (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 +/- 7.11, N = 3SE +/- 8.57, N = 4SE +/- 0.80, N = 3SE +/- 4.34, N = 32438.642412.86542.70521.66354.32351.511. (CC) gcc options: -O3 -march=native -fno-strict-aliasing -fwrapv -lpgport -lpq -lcrypt -ldl -lm

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.08, N = 3SE +/- 0.01, N = 3SE +/- 0.15, N = 3SE +/- 0.04, N = 3SE +/- 0.03, N = 318.0918.3518.4320.3020.3520.4234.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.3-rc1Clang 3.270140210280350SE +/- 0.00, N = 3SE +/- 0.33, N = 3SE +/- 1.20, 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 = 319163165332482481173413441. (CXX) g++ options: -fopenmp -O3 -march=native

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.3-rc1Clang 3.2306090120150SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.11, N = 3SE +/- 0.03, N = 318.4120.8121.0519.2632.8032.87116.29132.37133.721. (CC) gcc options: -lm -lpthread -O3 -march=native

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.2Clang 3.3-rc1GCC 4.8.020406080100SE +/- 0.05, N = 3SE +/- 0.10, N = 3SE +/- 0.12, N = 3SE +/- 0.12, N = 3SE +/- 0.06, N = 3SE +/- 0.02, N = 3SE +/- 0.34, N = 3SE +/- 0.13, N = 3SE +/- 0.32, N = 315.5816.8022.5919.3720.8231.1757.6459.2798.291. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

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.2Clang 3.3-rc1GCC 4.8.050100150200250SE +/- 0.19, N = 3SE +/- 0.06, N = 3SE +/- 0.10, N = 3SE +/- 0.15, N = 3SE +/- 0.05, N = 3SE +/- 0.14, N = 3SE +/- 0.17, N = 3SE +/- 0.11, N = 3SE +/- 0.14, N = 321.1822.6349.9926.9428.65102.9297.07104.36208.42

Himeno Benchmark

Poisson Pressure Solver

Intel Core i7 3960XIntel Core i3 3217UAMD FX-8350OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 4.8.0Clang 3.3-rc1Clang 3.2400800120016002000SE +/- 1.14, N = 3SE +/- 1.53, N = 3SE +/- 4.41, N = 3SE +/- 1.54, N = 3SE +/- 0.50, N = 3SE +/- 0.37, N = 3SE +/- 0.30, N = 3SE +/- 0.11, N = 3SE +/- 0.79, N = 31629.421597.621562.31781.12779.65758.34731.99667.68650.021. (CC) gcc options: -O3 -march=native

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.3-rc1Clang 3.2306090120150SE +/- 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 = 313349449938373923211. (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: Resizing

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: ResizingGCC 4.8.0Clang 3.3-rc1Clang 3.24080120160200SE +/- 0.33, 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 = 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: Sharpen

Intel Core i7 3960XAMD FX-8350Intel Core i3 3217UOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.16Operation: SharpenGCC 4.8.0Clang 3.3-rc1Clang 3.2306090120150SE +/- 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: 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

BLAKE2

Phoronix Test Suite v4.6.0m1

Intel Core i7 3960XIntel Core i3 3217UAMD FX-8350OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.6.0m1GCC 4.8.0Clang 3.3-rc1Clang 3.23691215SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.10, N = 4SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.17, N = 35.005.505.526.036.486.488.999.639.801. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

Timed MAFFT Alignment

Multiple Sequence Alignment

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

Timed HMMer Search

Pfam Database Search

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


Phoronix Test Suite v10.8.5