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&sor&grs .
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 primesieve: 1e12 Prime Number Generation graphics-magick: Local Adaptive Thresholding build-php: Time To Compile graphics-magick: Sharpen graphics-magick: HWB Color Space hmmer: Pfam Database Search graphics-magick: Blur himeno: Poisson Pressure Solver c-ray: Total Time mafft: Multiple Sequence Alignment graphics-magick: Resizing apache: Static Web Page Serving gmpbench: Total Time GCC 4.7.3 LLVM Clang 3.2 LLVM Clang 3.3 SVN 466.51 28 151.53 16 55 66.08 30 672.19 169.96 34.24 41 5814.74 1118.30 937.36 18 99.76 22 42 80.87 34 636.89 177.33 35.15 40 5928.59 938.54 18 98.55 22 42 79.50 34 624.09 178.17 35.22 40 5943.17 OpenBenchmarking.org
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
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.3 SVN LLVM Clang 3.2 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
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile LLVM Clang 3.3 SVN LLVM Clang 3.2 GCC 4.7.3 30 60 90 120 150 SE +/- 0.06, N = 3 SE +/- 0.03, N = 3 SE +/- 0.52, N = 3 98.55 99.76 151.53 1. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen LLVM Clang 3.3 SVN LLVM Clang 3.2 GCC 4.7.3 5 10 15 20 25 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 22 22 16 -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.3 SVN LLVM Clang 3.2 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
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.3 SVN LLVM Clang 3.2 20 40 60 80 100 SE +/- 0.68, N = 3 SE +/- 0.03, N = 3 SE +/- 0.17, N = 3 66.08 79.50 80.87 1. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm
GraphicsMagick Operation: Blur OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Blur LLVM Clang 3.3 SVN LLVM Clang 3.2 GCC 4.7.3 8 16 24 32 40 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 34 34 30 -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
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
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
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Resizing GCC 4.7.3 LLVM Clang 3.3 SVN LLVM Clang 3.2 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
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.3 Static Web Page Serving LLVM Clang 3.3 SVN LLVM Clang 3.2 GCC 4.7.3 1300 2600 3900 5200 6500 SE +/- 40.58, N = 3 SE +/- 7.91, N = 3 SE +/- 31.00, N = 3 5943.17 5928.59 5814.74 1. (CC) gcc options: -shared -fPIC -pthread -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
Phoronix Test Suite v10.8.5