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&rdt&export=pdf&grw .
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 Clang 3.9.1 GCC 6 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 Clang 3.9.1 + LLVM 3.9.1 ext4 1024x768 GCC 6.3.0 + 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 - Clang 3.9.1: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: broadwell - 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 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 tscp: AI Chess Performance scimark2: Composite scimark2: Monte Carlo scimark2: Fast Fourier Transform scimark2: Sparse Matrix Multiply scimark2: Dense LU Matrix Factorization scimark2: Jacobi Successive Over-Relaxation encode-flac: WAV To FLAC encode-mp3: WAV To MP3 tjbench: Decompression Throughput fftw: Float + SSE - 2D FFT Size 1024 mafft: Multiple Sequence Alignment himeno: Poisson Pressure Solver build-apache: Time To Compile john-the-ripper: Blowfish build-php: Time To Compile graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space c-ray: Total Time apache: Static Web Page Serving openssl: RSA 4096-bit Performance redis: GET pgbench: Buffer Test - Normal Load - Read Write pgbench: Buffer Test - Single Thread - Read Write pgbench: Buffer Test - Heavy Contention - Read Write Clang 3.9.1 GCC 6 Clang 4.0.0 1185643 2182.01 268.47 343.51 2825.21 5656.13 1816.70 6.30 13.56 161.99 17750 3.78 1706.50 35.77 32.18 34 97 159 18.08 36248.65 980.00 8017.74 787.96 8903.11 1270832 2312.42 708.05 343.63 2719.50 5804.85 1986.08 6.42 10.51 156.51 19131 3.48 2177.30 21.39 9460 19.27 163 211 224 12.10 36110.03 990.13 2747433.08 7988.13 825.70 8843.13 1351272 2212.61 722.15 349.55 2575.85 5599.29 1816.23 6.22 11.40 160.56 17801 3.54 1715.48 27.03 20.19 53 112 145 18.09 35920.03 984.20 8000.73 843.43 8862.70 OpenBenchmarking.org
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance Clang 3.9.1 GCC 6 Clang 4.0.0 300K 600K 900K 1200K 1500K SE +/- 15190.88, N = 7 SE +/- 717.95, N = 5 SE +/- 812.25, N = 5 1185643 1270832 1351272 clang gcc gcc
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite Clang 3.9.1 GCC 6 Clang 4.0.0 500 1000 1500 2000 2500 SE +/- 0.77, N = 4 SE +/- 0.52, N = 4 SE +/- 2.24, N = 4 2182.01 2312.42 2212.61 clang gcc gcc
SciMark Computational Test: Monte Carlo OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Monte Carlo Clang 3.9.1 GCC 6 Clang 4.0.0 160 320 480 640 800 SE +/- 0.01, N = 4 SE +/- 0.03, N = 4 SE +/- 0.03, N = 4 268.47 708.05 722.15 clang gcc gcc
SciMark Computational Test: Fast Fourier Transform OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Fast Fourier Transform Clang 3.9.1 GCC 6 Clang 4.0.0 80 160 240 320 400 SE +/- 0.54, N = 4 SE +/- 0.81, N = 4 SE +/- 0.29, N = 4 343.51 343.63 349.55 clang gcc gcc
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 Clang 3.9.1 GCC 6 Clang 4.0.0 1200 2400 3600 4800 6000 SE +/- 2.38, N = 4 SE +/- 1.53, N = 4 SE +/- 9.91, N = 4 5656.13 5804.85 5599.29 clang gcc gcc
SciMark Computational Test: Jacobi Successive Over-Relaxation OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation Clang 3.9.1 GCC 6 Clang 4.0.0 400 800 1200 1600 2000 SE +/- 0.02, N = 4 SE +/- 0.05, N = 4 SE +/- 0.05, N = 4 1816.70 1986.08 1816.23 clang gcc gcc
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.1 WAV To FLAC Clang 3.9.1 GCC 6 Clang 4.0.0 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 6.30 6.42 6.22 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 Clang 3.9.1 GCC 6 Clang 4.0.0 3 6 9 12 15 SE +/- 0.01, N = 5 SE +/- 0.03, N = 5 SE +/- 0.01, N = 5 13.56 10.51 11.40 clang gcc gcc
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 GCC 6 Clang 4.0.0 40 80 120 160 200 SE +/- 0.46, N = 3 SE +/- 0.43, N = 3 SE +/- 0.17, N = 3 161.99 156.51 160.56 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 Clang 3.9.1 GCC 6 Clang 4.0.0 4K 8K 12K 16K 20K SE +/- 80.35, N = 5 SE +/- 77.54, N = 5 SE +/- 94.54, N = 5 17750 19131 17801 clang gcc gcc
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment Clang 3.9.1 GCC 6 Clang 4.0.0 0.8505 1.701 2.5515 3.402 4.2525 SE +/- 0.06, N = 6 SE +/- 0.06, N = 3 SE +/- 0.11, N = 6 3.78 3.48 3.54 clang gcc gcc
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver Clang 3.9.1 GCC 6 Clang 4.0.0 500 1000 1500 2000 2500 SE +/- 0.92, N = 3 SE +/- 0.69, N = 3 SE +/- 0.90, N = 3 1706.50 2177.30 1715.48 clang gcc gcc
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.7 Time To Compile Clang 3.9.1 GCC 6 Clang 4.0.0 8 16 24 32 40 SE +/- 0.10, N = 3 SE +/- 0.04, N = 3 SE +/- 0.04, N = 3 35.77 21.39 27.03
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
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile Clang 3.9.1 GCC 6 Clang 4.0.0 7 14 21 28 35 SE +/- 0.02, N = 3 SE +/- 0.05, N = 3 SE +/- 0.04, N = 3 32.18 19.27 20.19 clang gcc gcc
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Sharpen Clang 3.9.1 GCC 6 Clang 4.0.0 40 80 120 160 200 SE +/- 0.88, N = 3 34 163 53 clang gcc gcc
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing Clang 3.9.1 GCC 6 Clang 4.0.0 50 100 150 200 250 97 211 112 clang gcc gcc
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: HWB Color Space Clang 3.9.1 GCC 6 Clang 4.0.0 50 100 150 200 250 SE +/- 0.33, N = 3 159 224 145 clang gcc gcc
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time Clang 3.9.1 GCC 6 Clang 4.0.0 4 8 12 16 20 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 18.08 12.10 18.09 clang gcc gcc
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 Clang 3.9.1 GCC 6 Clang 4.0.0 200 400 600 800 1000 SE +/- 0.21, N = 3 SE +/- 0.20, N = 3 SE +/- 0.21, N = 3 980.00 990.13 984.20 -lssl -lcrypto -ldl -lssl -lcrypto -ldl 1. (CC) gcc options: -m64 -O3
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
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 GCC 6 Clang 4.0.0 2K 4K 6K 8K 10K SE +/- 27.37, N = 3 SE +/- 32.68, N = 3 SE +/- 1.36, N = 3 8017.74 7988.13 8000.73 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 3.9.1 GCC 6 Clang 4.0.0 200 400 600 800 1000 SE +/- 15.85, N = 3 SE +/- 12.30, N = 5 SE +/- 19.95, N = 6 787.96 825.70 843.43 clang gcc gcc
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 GCC 6 Clang 4.0.0 2K 4K 6K 8K 10K SE +/- 29.71, N = 3 SE +/- 73.37, N = 3 SE +/- 54.15, N = 3 8903.11 8843.13 8862.70 clang gcc gcc
Phoronix Test Suite v10.8.4