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

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 Servingblake2: Phoronix Test Suite v4.6.0m1c-ray: Total Timeffmpeg: H.264 HD To NTSC DVgraphics-magick: Blurgraphics-magick: Sharpengraphics-magick: Resizinggraphics-magick: HWB Color Spacegraphics-magick: Local Adaptive Thresholdinghimeno: Poisson Pressure Solverpgbench: TPC-B Transactions Per Secondsmallpt: Global Illumination Renderer; 100 Sampleshmmer: Pfam Database Searchbuild-imagemagick: Time To Compilemafft: Multiple Sequence Alignmentbuild-php: Time To CompileIntel 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.975.0018.4118.091431171751921331629.421915.9149.997.1922.5914267.945.5221.0518.35823189124441562.31354.3216515.4221.187.4215.5814662.335.5020.8118.43813189123491597.62351.5116315.9422.637.5416.8019810.738.9919.2620.3511611214815999731.993311.52102.926.4231.1720186.409.6332.8720.4264237310538650.022438.6424812.5726.947.0919.3719950.559.8032.8020.3064227310437667.682412.8624811.0228.656.8620.8211374.966.03116.2934.345429638139779.6511738.39208.4220.3498.2912063.126.48133.7234.454015426921781.12521.6634148.1797.0723.8857.6412423.856.48132.374015426823758.34542.7034440.11104.3621.6759.27OpenBenchmarking.org

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

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

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

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

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

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

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

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 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 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

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


Phoronix Test Suite v10.8.5