Compiler Benchmarks On Clear Linux OS

GCC 6.2 vs. LLVM Clang 3.9 compiler benchmarks on Clear Linux. Tests by Michael Larabel for a future article.

HTML result view exported from: https://openbenchmarking.org/result/1611113-TA-COMPILERB05.

Compiler Benchmarks On Clear Linux OSProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLVulkanCompilerFile-SystemScreen ResolutionGCC 6.2.0Clang 3.9.0Intel Core i5-7200U @ 3.10GHz (4 Cores)MSI MS-B1421 v1.0Intel Device 59048192MB256GB CORSAIR FORCE LXIntel Device 5916 (1000MHz)Realtek ALC887-VDDELL P2415QRealtek RTL8111/8168/8411 + Intel Device 24fbClear Linux 116204.8.6-272.native (x86_64)Xfce 4.12X Server 1.18.4intel 2.99.9174.5 Mesa 13.0.01.0.3GCC 6.2.0 + clang (Clear Linux OS for Intel Architecture) 6.2.0 + LLVM 3.9.0ext41920x1080Clang 3.9.0 + LLVM 3.9.03840x2160OpenBenchmarking.orgCompiler Details- GCC 6.2.0: --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.0: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: broadwellProcessor Details- Scaling Governor: intel_pstate performance

Compiler Benchmarks On Clear Linux OSfftw: Float + SSE - 2D FFT Size 2048mafft: Multiple Sequence Alignmentscimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationtscp: AI Chess Performancehimeno: Poisson Pressure Solverebizzy: Phoronix Test Suite v6.8.0m1build-imagemagick: Time To Compilebuild-php: Time To Compilec-ray: Total Timecrafty: Elapsed Timeencode-mp3: WAV To MP3openssl: RSA 4096-bit PerformanceGCC 6.2.0Clang 3.9.01417912.111057.55520.86247.071835.851834.34875.6210115052018.5985079142.5560.4937.8595.7714.34243.971356811.611603.19228.76253.572204.964165.721162.9211314261816.7787880189.6095.3160.1778.5714.16289.57OpenBenchmarking.org

FFTW

Build: Float + SSE - Size: 2D FFT Size 2048

OpenBenchmarking.orgMflops, More Is BetterFFTW 3.3.4Build: Float + SSE - Size: 2D FFT Size 2048GCC 6.2.0Clang 3.9.03K6K9K12K15KSE +/- 170.87, N = 8SE +/- 40.29, N = 514179135681. (CC) gcc options: -O3 -march=native -lm

Timed MAFFT Alignment

Multiple Sequence Alignment

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MAFFT Alignment 6.864Multiple Sequence AlignmentGCC 6.2.0Clang 3.9.03691215SE +/- 0.22, N = 6SE +/- 0.17, N = 612.1111.611. (CC) gcc options: -O3 -lm -lpthread

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeGCC 6.2.0Clang 3.9.030060090012001500SE +/- 20.84, N = 8SE +/- 1.47, N = 41057.551603.191. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloGCC 6.2.0Clang 3.9.0110220330440550SE +/- 25.09, N = 4SE +/- 0.01, N = 4520.86228.761. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformGCC 6.2.0Clang 3.9.060120180240300SE +/- 4.73, N = 4SE +/- 3.91, N = 4247.07253.571. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyGCC 6.2.0Clang 3.9.05001000150020002500SE +/- 78.96, N = 4SE +/- 1.44, N = 41835.852204.961. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationGCC 6.2.0Clang 3.9.09001800270036004500SE +/- 88.86, N = 4SE +/- 2.21, N = 41834.344165.721. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationGCC 6.2.0Clang 3.9.030060090012001500SE +/- 3.00, N = 4SE +/- 2.83, N = 4875.621162.921. (CXX) g++ options: -O3 -march=native

TSCP

AI Chess Performance

OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess PerformanceGCC 6.2.0Clang 3.9.0200K400K600K800K1000KSE +/- 14580.21, N = 10SE +/- 465.60, N = 5101150511314261. (CC) gcc options: -O3 -march=native

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 6.2.0Clang 3.9.0400800120016002000SE +/- 14.90, N = 3SE +/- 27.22, N = 62018.591816.771. (CC) gcc options: -O3 -march=native -mavx2

ebizzy

Phoronix Test Suite v6.8.0m1

OpenBenchmarking.orgRecords/s, More Is Betterebizzy 0.3Phoronix Test Suite v6.8.0m1GCC 6.2.0Clang 3.9.020K40K60K80K100KSE +/- 2461.36, N = 6SE +/- 1718.02, N = 385079878801. (CC) gcc options: -pthread -lpthread -O3 -march=native

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileGCC 6.2.0Clang 3.9.04080120160200SE +/- 0.47, N = 3SE +/- 2.26, N = 3142.55189.60

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileGCC 6.2.0Clang 3.9.020406080100SE +/- 0.19, N = 3SE +/- 0.07, N = 360.4995.311. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 6.2.0Clang 3.9.01326395265SE +/- 0.00, N = 3SE +/- 0.01, N = 337.8560.171. (CC) gcc options: -lm -lpthread -O3 -march=native

Crafty

Elapsed Time

OpenBenchmarking.orgSeconds, Fewer Is BetterCrafty 23.4Elapsed TimeGCC 6.2.0Clang 3.9.020406080100SE +/- 0.59, N = 3SE +/- 0.02, N = 395.7778.571. (CC) gcc options: -lstdc++ -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3GCC 6.2.0Clang 3.9.048121620SE +/- 0.15, N = 5SE +/- 0.02, N = 514.3414.161. (CC) gcc options: -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -march=native -lncurses -lm

OpenSSL

RSA 4096-bit Performance

OpenBenchmarking.orgSigns Per Second, More Is BetterOpenSSL 1.0.1gRSA 4096-bit PerformanceGCC 6.2.0Clang 3.9.060120180240300SE +/- 3.03, N = 3SE +/- 0.03, N = 3243.97289.571. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl


Phoronix Test Suite v10.8.4