GCC LLVM Compilers Intel Core 2 Duo GCC 4.7.3, LLVM Clang 3.2, and LLVM Clang 3.3 x86_64 Linux benchmarks on Ubuntu 13.04. Benchmarks by Michael Larabel of Phoronix.com for a future article.
HTML result view exported from: https://openbenchmarking.org/result/1304220-UT-GCCLLVMCO37&sro&grt .
GCC LLVM Compilers Intel Core 2 Duo Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver OpenGL Compiler File-System Screen Resolution GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN Intel Core 2 T5600 @ 1.83GHz (2 Cores) Apple Mac-F4208EAA Intel Mobile 945GM/PM/GMS + ICH7-M 1024MB 80GB Hitachi HTS54258 Intel Mobile 945GM/GMS 943/940GML IGP SigmaTel STAC9221 A1 VA2431 Marvell 88E8053 PCI-E Gigabit Ubuntu 13.04 3.8.0-18-generic (x86_64) Unity 7.0.0 X Server 1.13.3 intel 2.21.6 1.4 Mesa 9.2.0 (git-9fb5b2f) GCC 4.7 + LLVM 3.2 ext4 1920x1080 Clang 3.2-1~exp9ubuntu1 + LLVM 3.2 Clang 3.3 (SVN 180035) + LLVM 3.3svn OpenBenchmarking.org Compiler Details - GCC 4.7.3: --build=x86_64-linux-gnu --disable-cloog-version-check --disable-ppl-version-check --disable-werror --enable-checking=release --enable-clocale=gnu --enable-cloog-backend=ppl --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-cloog --with-multilib-list=m32,m64,mx32 --with-tune=generic -v - LLVM Clang 3.3 SVN: Optimized build; Built Apr 22 2013 (15:51:09); Default target: x86_64-unknown-linux-gnu; Host CPU: core2 Processor Details - Scaling Governor: ondemand
GCC LLVM Compilers Intel Core 2 Duo apache: Static Web Page Serving c-ray: Total Time gmpbench: Total Time graphics-magick: Blur graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding himeno: Poisson Pressure Solver primesieve: 1e12 Prime Number Generation hmmer: Pfam Database Search mafft: Multiple Sequence Alignment build-php: Time To Compile GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 5814.74 169.96 1118.30 30 16 41 55 28 672.19 466.51 66.08 34.24 151.53 5928.59 177.33 34 22 40 42 18 636.89 937.36 80.87 35.15 99.76 5943.17 178.17 34 22 40 42 18 624.09 938.54 79.50 35.22 98.55 OpenBenchmarking.org
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.3 Static Web Page Serving GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 1300 2600 3900 5200 6500 SE +/- 31.00, N = 3 SE +/- 7.91, N = 3 SE +/- 40.58, N = 3 5814.74 5928.59 5943.17 1. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 40 80 120 160 200 SE +/- 0.08, N = 3 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 169.96 177.33 178.17 1. (CC) gcc options: -lm -lpthread -O3 -march=native
GMPbench Total Time OpenBenchmarking.org GMPbench Score, More Is Better GMPbench 0.2 Total Time GCC 4.7.3 200 400 600 800 1000 1118.30 1. (CC) gcc options: -O3 -march=native
GraphicsMagick Operation: Blur OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Blur GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 8 16 24 32 40 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 30 34 34 -std=gnu99 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 5 10 15 20 25 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 16 22 22 -std=gnu99 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Resizing GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 9 18 27 36 45 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 41 40 40 -std=gnu99 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: HWB Color Space GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 12 24 36 48 60 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 55 42 42 -std=gnu99 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
GraphicsMagick Operation: Local Adaptive Thresholding OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 7 14 21 28 35 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 28 18 18 -std=gnu99 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lXext -lSM -lICE -lX11 -lz -lm -lpthread
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 150 300 450 600 750 SE +/- 3.05, N = 3 SE +/- 0.70, N = 3 SE +/- 2.18, N = 3 672.19 636.89 624.09 1. (CC) gcc options: -O3 -march=native
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 4.2 1e12 Prime Number Generation GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 200 400 600 800 1000 SE +/- 0.07, N = 3 SE +/- 0.81, N = 3 SE +/- 1.13, N = 3 466.51 937.36 938.54 -fopenmp 1. (CXX) g++ options: -O2
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 20 40 60 80 100 SE +/- 0.68, N = 3 SE +/- 0.17, N = 3 SE +/- 0.03, N = 3 66.08 80.87 79.50 1. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 8 16 24 32 40 SE +/- 0.23, N = 3 SE +/- 0.14, N = 3 SE +/- 0.17, N = 3 34.24 35.15 35.22 1. (CC) gcc options: -O3 -lm -lpthread
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 30 60 90 120 150 SE +/- 0.52, N = 3 SE +/- 0.03, N = 3 SE +/- 0.06, N = 3 151.53 99.76 98.55 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm
Phoronix Test Suite v10.8.5