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&export=pdf&gru&sor .
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 graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space tjbench: Decompression Throughput fftw: Float + SSE - 2D FFT Size 1024 scimark2: Composite scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation himeno: Poisson Pressure Solver tscp: AI Chess Performance john-the-ripper: Blowfish redis: GET apache: Static Web Page Serving 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 mafft: Multiple Sequence Alignment build-apache: Time To Compile build-php: Time To Compile c-ray: Total Time encode-flac: WAV To FLAC encode-mp3: WAV To MP3 GCC 6 Clang 3.9.1 Clang 4.0.0 163 211 224 156.51 19131 2312.42 708.05 343.63 2719.50 5804.85 1986.08 2177.30 1270832 9460 2747433.08 36110.03 990.13 7988.13 825.70 8843.13 3.48 21.39 19.27 12.10 6.42 10.51 34 97 159 161.99 17750 2182.01 268.47 343.51 2825.21 5656.13 1816.70 1706.50 1185643 36248.65 980.00 8017.74 787.96 8903.11 3.78 35.77 32.18 18.08 6.30 13.56 53 112 145 160.56 17801 2212.61 722.15 349.55 2575.85 5599.29 1816.23 1715.48 1351272 35920.03 984.20 8000.73 843.43 8862.70 3.54 27.03 20.19 18.09 6.22 11.40 OpenBenchmarking.org
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 3.9.1 Clang 4.0.0 50 100 150 200 250 SE +/- 0.33, N = 3 224 159 145 -fopenmp -lgomp 1. (CC) gcc options: -O3 -march=native -pthread -lfreetype -ljpeg -lXext -lX11 -lbz2 -lxml2 -lz -lm -lpthread
libjpeg-turbo tjbench Test: Decompression Throughput OpenBenchmarking.org Megapixels/sec, More Is Better libjpeg-turbo tjbench 1.5.1 Test: Decompression Throughput Clang 3.9.1 Clang 4.0.0 GCC 6 40 80 120 160 200 SE +/- 0.46, N = 3 SE +/- 0.17, N = 3 SE +/- 0.43, N = 3 161.99 160.56 156.51 clang gcc gcc
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
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 Clang 4.0.0 GCC 6 Clang 3.9.1 160 320 480 640 800 SE +/- 0.03, N = 4 SE +/- 0.03, N = 4 SE +/- 0.01, N = 4 722.15 708.05 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 Clang 4.0.0 GCC 6 Clang 3.9.1 80 160 240 320 400 SE +/- 0.29, N = 4 SE +/- 0.81, N = 4 SE +/- 0.54, N = 4 349.55 343.63 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 Clang 3.9.1 GCC 6 Clang 4.0.0 600 1200 1800 2400 3000 SE +/- 4.16, N = 4 SE +/- 2.45, N = 4 SE +/- 4.85, N = 4 2825.21 2719.50 2575.85 clang gcc gcc
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 3.9.1 Clang 4.0.0 1200 2400 3600 4800 6000 SE +/- 1.53, N = 4 SE +/- 2.38, N = 4 SE +/- 9.91, N = 4 5804.85 5656.13 5599.29 gcc clang gcc
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 3.9.1 Clang 4.0.0 400 800 1200 1600 2000 SE +/- 0.05, N = 4 SE +/- 0.02, N = 4 SE +/- 0.05, N = 4 1986.08 1816.70 1816.23 gcc clang gcc
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
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance Clang 4.0.0 GCC 6 Clang 3.9.1 300K 600K 900K 1200K 1500K SE +/- 812.25, N = 5 SE +/- 717.95, N = 5 SE +/- 15190.88, N = 7 1351272 1270832 1185643 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
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
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.7 Static Web Page Serving Clang 3.9.1 GCC 6 Clang 4.0.0 8K 16K 24K 32K 40K SE +/- 55.93, N = 3 SE +/- 2.88, N = 3 SE +/- 466.52, N = 3 36248.65 36110.03 35920.03 clang gcc gcc
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 Clang 3.9.1 Clang 4.0.0 GCC 6 2K 4K 6K 8K 10K SE +/- 27.37, N = 3 SE +/- 1.36, N = 3 SE +/- 32.68, N = 3 8017.74 8000.73 7988.13 clang gcc gcc
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 Clang 4.0.0 GCC 6 Clang 3.9.1 200 400 600 800 1000 SE +/- 19.95, N = 6 SE +/- 12.30, N = 5 SE +/- 15.85, N = 3 843.43 825.70 787.96
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 Clang 3.9.1 Clang 4.0.0 GCC 6 2K 4K 6K 8K 10K SE +/- 29.71, N = 3 SE +/- 54.15, N = 3 SE +/- 73.37, N = 3 8903.11 8862.70 8843.13 clang gcc gcc
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 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 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
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time GCC 6 Clang 3.9.1 Clang 4.0.0 4 8 12 16 20 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 12.10 18.08 18.09 gcc clang gcc
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.1 WAV To FLAC Clang 4.0.0 Clang 3.9.1 GCC 6 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 6.22 6.30 6.42 1. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm
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
Phoronix Test Suite v10.8.4