GCC and Clang compiler tests by Michael Larabel for a future article.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1704146-TR-CLEARLINU88 Clear Linux April 2017 Compiler Tests - Phoronix Test Suite Clear Linux April 2017 Compiler Tests GCC and Clang compiler tests by Michael Larabel for a future article.
HTML result view exported from: https://openbenchmarking.org/result/1704146-TR-CLEARLINU88&grt&sro&rro .
Clear Linux April 2017 Compiler Tests Processor Motherboard Chipset Memory Disk Graphics Audio Network OS Kernel Desktop Display Server Display Driver OpenGL OpenCL Vulkan Compiler File-System Screen Resolution GCC 6 Clang 3.9.1 Clang 4.0.0 Intel Core i7-6800K @ 3.80GHz (12 Cores) MSI X99A WORKSTATION (MS-7A54) v1.0 Intel Xeon E7 v4/Xeon 16384MB 120GB Samsung SSD 850 + 4 x 120GB TOSHIBA-TR150 NVIDIA GeForce GTX TITAN X 16128MB Realtek ALC1150 Intel Connection Clear Linux 14620 4.10.9-329.native (x86_64) Xfce 4.12 X Server 1.19.3 modesetting 1.19.3 2.1 Mesa 17.1.0-devel OpenCL 2.0 beignet 1.4 1.0.39 GCC 6.3.0 + Clang 3.9.1 + LLVM 3.9.1 ext4 1024x768 Clang 3.9.1 + LLVM 3.9.1 Clear Linux 14640 4.10.10-331.native (x86_64) Clang 4.0.0 + LLVM 4.0.0 OpenBenchmarking.org Compiler Details - GCC 6: --build=x86_64-generic-linux --disable-libunwind-exceptions --disable-multiarch --disable-vtable-verify --enable-__cxa_atexit --enable-bootstrap --enable-clocale=gnu --enable-gnu-indirect-function --enable-languages=c,c++,fortran,go --enable-ld=default --enable-libmpx --enable-libstdcxx-pch --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --exec-prefix=/usr --includedir=/usr/include --target=x86_64-generic-linux --with-arch=westmere --with-glibc-version=2.19 --with-gnu-ld --with-isl --with-ppl=yes --with-tune=haswell - Clang 3.9.1: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: broadwell - Clang 4.0.0: Optimized build; Default target: x86_64-unknown-linux-gnu; Host CPU: broadwell Processor Details - Scaling Governor: intel_pstate performance
Clear Linux April 2017 Compiler Tests apache: Static Web Page Serving c-ray: Total Time fftw: Float + SSE - 2D FFT Size 1024 encode-flac: WAV To FLAC graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space himeno: Poisson Pressure Solver john-the-ripper: Blowfish encode-mp3: WAV To MP3 tjbench: Decompression Throughput openssl: RSA 4096-bit Performance pgbench: Buffer Test - Normal Load - Read Write pgbench: Buffer Test - Single Thread - Read Write pgbench: Buffer Test - Heavy Contention - Read Write redis: GET scimark2: Composite scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation build-apache: Time To Compile mafft: Multiple Sequence Alignment build-php: Time To Compile tscp: AI Chess Performance GCC 6 Clang 3.9.1 Clang 4.0.0 36110.03 12.10 19131 6.42 163 211 224 2177.30 9460 10.51 156.51 990.13 7988.13 825.70 8843.13 2747433.08 2312.42 708.05 343.63 2719.50 5804.85 1986.08 21.39 3.48 19.27 1270832 36248.65 18.08 17750 6.30 34 97 159 1706.50 13.56 161.99 980.00 8017.74 787.96 8903.11 2182.01 268.47 343.51 2825.21 5656.13 1816.70 35.77 3.78 32.18 1185643 35920.03 18.09 17801 6.22 53 112 145 1715.48 11.40 160.56 984.20 8000.73 843.43 8862.70 2212.61 722.15 349.55 2575.85 5599.29 1816.23 27.03 3.54 20.19 1351272 OpenBenchmarking.org
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.7 Static Web Page Serving GCC 6 Clang 4.0.0 Clang 3.9.1 8K 16K 24K 32K 40K SE +/- 2.88, N = 3 SE +/- 466.52, N = 3 SE +/- 55.93, N = 3 36110.03 35920.03 36248.65 gcc gcc clang
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 6 Clang 4.0.0 Clang 3.9.1 4 8 12 16 20 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 12.10 18.09 18.08 gcc gcc clang
FFTW Build: Float + SSE - Size: 2D FFT Size 1024 OpenBenchmarking.org Mflops, More Is Better FFTW 3.3.4 Build: Float + SSE - Size: 2D FFT Size 1024 GCC 6 Clang 4.0.0 Clang 3.9.1 4K 8K 12K 16K 20K SE +/- 77.54, N = 5 SE +/- 94.54, N = 5 SE +/- 80.35, N = 5 19131 17801 17750 gcc gcc clang
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.1 WAV To FLAC GCC 6 Clang 4.0.0 Clang 3.9.1 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 6.42 6.22 6.30 1. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Sharpen GCC 6 Clang 4.0.0 Clang 3.9.1 40 80 120 160 200 SE +/- 0.88, N = 3 163 53 34 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lfreetype -ljpeg -lXext -lX11 -lbz2 -lxml2 -lz -lm -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing GCC 6 Clang 4.0.0 Clang 3.9.1 50 100 150 200 250 211 112 97 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lfreetype -ljpeg -lXext -lX11 -lbz2 -lxml2 -lz -lm -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: HWB Color Space GCC 6 Clang 4.0.0 Clang 3.9.1 50 100 150 200 250 SE +/- 0.33, N = 3 224 145 159 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lfreetype -ljpeg -lXext -lX11 -lbz2 -lxml2 -lz -lm -lpthread
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver GCC 6 Clang 4.0.0 Clang 3.9.1 500 1000 1500 2000 2500 SE +/- 0.69, N = 3 SE +/- 0.90, N = 3 SE +/- 0.92, N = 3 2177.30 1715.48 1706.50 gcc gcc clang
John The Ripper Test: Blowfish OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.8.0 Test: Blowfish GCC 6 2K 4K 6K 8K 10K 9460 1. (CC) gcc options: -fopenmp -lcrypt
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 GCC 6 Clang 4.0.0 Clang 3.9.1 3 6 9 12 15 SE +/- 0.03, N = 5 SE +/- 0.01, N = 5 SE +/- 0.01, N = 5 10.51 11.40 13.56 gcc gcc clang
libjpeg-turbo tjbench Test: Decompression Throughput OpenBenchmarking.org Megapixels/sec, More Is Better libjpeg-turbo tjbench 1.5.1 Test: Decompression Throughput GCC 6 Clang 4.0.0 Clang 3.9.1 40 80 120 160 200 SE +/- 0.43, N = 3 SE +/- 0.17, N = 3 SE +/- 0.46, N = 3 156.51 160.56 161.99 gcc gcc clang
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1g RSA 4096-bit Performance GCC 6 Clang 4.0.0 Clang 3.9.1 200 400 600 800 1000 SE +/- 0.20, N = 3 SE +/- 0.21, N = 3 SE +/- 0.21, N = 3 990.13 984.20 980.00 -lssl -lcrypto -ldl -lssl -lcrypto -ldl 1. (CC) gcc options: -m64 -O3
PostgreSQL pgbench Scaling: Buffer Test - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: Buffer Test - Test: Normal Load - Mode: Read Write GCC 6 Clang 4.0.0 Clang 3.9.1 2K 4K 6K 8K 10K SE +/- 32.68, N = 3 SE +/- 1.36, N = 3 SE +/- 27.37, N = 3 7988.13 8000.73 8017.74 -pthreads -mthreads -pthreads -mthreads 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm
PostgreSQL pgbench Scaling: Buffer Test - Test: Single Thread - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: Buffer Test - Test: Single Thread - Mode: Read Write GCC 6 Clang 4.0.0 Clang 3.9.1 200 400 600 800 1000 SE +/- 12.30, N = 5 SE +/- 19.95, N = 6 SE +/- 15.85, N = 3 825.70 843.43 787.96 -pthreads -mthreads -pthreads -mthreads 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm
PostgreSQL pgbench Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write GCC 6 Clang 4.0.0 Clang 3.9.1 2K 4K 6K 8K 10K SE +/- 73.37, N = 3 SE +/- 54.15, N = 3 SE +/- 29.71, N = 3 8843.13 8862.70 8903.11 -pthreads -mthreads -pthreads -mthreads 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -pthread -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm
Redis Test: GET OpenBenchmarking.org Requests Per Second, More Is Better Redis 3.0.1 Test: GET GCC 6 600K 1200K 1800K 2400K 3000K SE +/- 15772.65, N = 3 2747433.08 1. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite GCC 6 Clang 4.0.0 Clang 3.9.1 500 1000 1500 2000 2500 SE +/- 0.52, N = 4 SE +/- 2.24, N = 4 SE +/- 0.77, N = 4 2312.42 2212.61 2182.01 gcc gcc clang
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo GCC 6 Clang 4.0.0 Clang 3.9.1 160 320 480 640 800 SE +/- 0.03, N = 4 SE +/- 0.03, N = 4 SE +/- 0.01, N = 4 708.05 722.15 268.47 gcc gcc clang
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform GCC 6 Clang 4.0.0 Clang 3.9.1 80 160 240 320 400 SE +/- 0.81, N = 4 SE +/- 0.29, N = 4 SE +/- 0.54, N = 4 343.63 349.55 343.51 gcc gcc clang
SciMark Computational Test: Sparse Matrix Multiply OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Sparse Matrix Multiply GCC 6 Clang 4.0.0 Clang 3.9.1 600 1200 1800 2400 3000 SE +/- 2.45, N = 4 SE +/- 4.85, N = 4 SE +/- 4.16, N = 4 2719.50 2575.85 2825.21 gcc gcc clang
SciMark Computational Test: Dense LU Matrix Factorization OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Dense LU Matrix Factorization GCC 6 Clang 4.0.0 Clang 3.9.1 1200 2400 3600 4800 6000 SE +/- 1.53, N = 4 SE +/- 9.91, N = 4 SE +/- 2.38, N = 4 5804.85 5599.29 5656.13 gcc gcc clang
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation GCC 6 Clang 4.0.0 Clang 3.9.1 400 800 1200 1600 2000 SE +/- 0.05, N = 4 SE +/- 0.05, N = 4 SE +/- 0.02, N = 4 1986.08 1816.23 1816.70 gcc gcc clang
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.7 Time To Compile GCC 6 Clang 4.0.0 Clang 3.9.1 8 16 24 32 40 SE +/- 0.04, N = 3 SE +/- 0.04, N = 3 SE +/- 0.10, N = 3 21.39 27.03 35.77
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment GCC 6 Clang 4.0.0 Clang 3.9.1 0.8505 1.701 2.5515 3.402 4.2525 SE +/- 0.06, N = 3 SE +/- 0.11, N = 6 SE +/- 0.06, N = 6 3.48 3.54 3.78 gcc gcc clang
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile GCC 6 Clang 4.0.0 Clang 3.9.1 7 14 21 28 35 SE +/- 0.05, N = 3 SE +/- 0.04, N = 3 SE +/- 0.02, N = 3 19.27 20.19 32.18 gcc gcc clang
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance GCC 6 Clang 4.0.0 Clang 3.9.1 300K 600K 900K 1200K 1500K SE +/- 717.95, N = 5 SE +/- 812.25, N = 5 SE +/- 15190.88, N = 7 1270832 1351272 1185643 gcc gcc clang
Phoronix Test Suite v10.8.4