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&sro&grt .
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 Clang 3.9.1 Clang 4.0.0 GCC 6 8K 16K 24K 32K 40K SE +/- 55.93, N = 3 SE +/- 466.52, N = 3 SE +/- 2.88, N = 3 36248.65 35920.03 36110.03 clang gcc gcc
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time Clang 3.9.1 Clang 4.0.0 GCC 6 4 8 12 16 20 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 18.08 18.09 12.10 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 Clang 4.0.0 GCC 6 4K 8K 12K 16K 20K SE +/- 80.35, N = 5 SE +/- 94.54, N = 5 SE +/- 77.54, N = 5 17750 17801 19131 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 Clang 4.0.0 GCC 6 2 4 6 8 10 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 SE +/- 0.00, N = 5 6.30 6.22 6.42 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 Clang 3.9.1 Clang 4.0.0 GCC 6 40 80 120 160 200 SE +/- 0.88, N = 3 34 53 163 clang gcc gcc
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing Clang 3.9.1 Clang 4.0.0 GCC 6 50 100 150 200 250 97 112 211 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 Clang 4.0.0 GCC 6 50 100 150 200 250 SE +/- 0.33, N = 3 159 145 224 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 Clang 4.0.0 GCC 6 500 1000 1500 2000 2500 SE +/- 0.92, N = 3 SE +/- 0.90, N = 3 SE +/- 0.69, N = 3 1706.50 1715.48 2177.30 clang gcc gcc
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 Clang 3.9.1 Clang 4.0.0 GCC 6 3 6 9 12 15 SE +/- 0.01, N = 5 SE +/- 0.01, N = 5 SE +/- 0.03, N = 5 13.56 11.40 10.51 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 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
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 Clang 4.0.0 GCC 6 200 400 600 800 1000 SE +/- 0.21, N = 3 SE +/- 0.21, N = 3 SE +/- 0.20, N = 3 980.00 984.20 990.13 -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 3.9.1 Clang 4.0.0 GCC 6 200 400 600 800 1000 SE +/- 15.85, N = 3 SE +/- 19.95, N = 6 SE +/- 12.30, N = 5 787.96 843.43 825.70 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 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
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 Clang 3.9.1 Clang 4.0.0 GCC 6 500 1000 1500 2000 2500 SE +/- 0.77, N = 4 SE +/- 2.24, N = 4 SE +/- 0.52, N = 4 2182.01 2212.61 2312.42 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 Clang 4.0.0 GCC 6 160 320 480 640 800 SE +/- 0.01, N = 4 SE +/- 0.03, N = 4 SE +/- 0.03, N = 4 268.47 722.15 708.05 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 Clang 4.0.0 GCC 6 80 160 240 320 400 SE +/- 0.54, N = 4 SE +/- 0.29, N = 4 SE +/- 0.81, N = 4 343.51 349.55 343.63 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 Clang 4.0.0 GCC 6 600 1200 1800 2400 3000 SE +/- 4.16, N = 4 SE +/- 4.85, N = 4 SE +/- 2.45, N = 4 2825.21 2575.85 2719.50 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 Clang 4.0.0 GCC 6 1200 2400 3600 4800 6000 SE +/- 2.38, N = 4 SE +/- 9.91, N = 4 SE +/- 1.53, N = 4 5656.13 5599.29 5804.85 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 Clang 4.0.0 GCC 6 400 800 1200 1600 2000 SE +/- 0.02, N = 4 SE +/- 0.05, N = 4 SE +/- 0.05, N = 4 1816.70 1816.23 1986.08 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 Clang 4.0.0 GCC 6 8 16 24 32 40 SE +/- 0.10, N = 3 SE +/- 0.04, N = 3 SE +/- 0.04, N = 3 35.77 27.03 21.39
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment Clang 3.9.1 Clang 4.0.0 GCC 6 0.8505 1.701 2.5515 3.402 4.2525 SE +/- 0.06, N = 6 SE +/- 0.11, N = 6 SE +/- 0.06, N = 3 3.78 3.54 3.48 clang gcc gcc
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 Clang 4.0.0 GCC 6 7 14 21 28 35 SE +/- 0.02, N = 3 SE +/- 0.04, N = 3 SE +/- 0.05, N = 3 32.18 20.19 19.27 clang gcc gcc
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance Clang 3.9.1 Clang 4.0.0 GCC 6 300K 600K 900K 1200K 1500K SE +/- 15190.88, N = 7 SE +/- 812.25, N = 5 SE +/- 717.95, N = 5 1185643 1351272 1270832 clang gcc gcc
Phoronix Test Suite v10.8.4