LLVM 3.4 Clang Linux Compiler Test

Tests by Michael Larabel for a future article on Phoronix.com looking at the LLVM Clang 3.4 open-source compiler performance from Ubuntu Linux.

HTML result view exported from: https://openbenchmarking.org/result/1312116-SO-LLVM34CLA30.

LLVM 3.4 Clang Linux Compiler TestProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverOpenGLCompilerFile-SystemScreen ResolutionLLVM Clang 3.3LLVM Clang 3.4 SVNIntel Core i7-4960X @ 4.00GHz (12 Cores)MSI X79MA-GD45 (MS-7738) v1.0Intel Xeon E5 v2/Core8192MB1000GB Seagate ST1000DX001-1CM1Sapphire AMD Radeon HD 4870 512MBRealtek ALC892DELL S2409WRealtek RTL8111/8168/8411Ubuntu 14.043.13.0-999-generic (x86_64)Unity 7.1.2X Server 1.14.4radeon 7.2.03.1 Mesa 10.0.0 Gallium 0.4Clang 3.3 + LLVM 3.3ext41920x1080Clang 3.4 (SVN 197046) + LLVM 3.4OpenBenchmarking.orgCompiler Details- LLVM Clang 3.3: Optimized build; Built Dec 11 2013 (09:55:18); Default target: x86_64-unknown-linux-gnu; Host CPU: x86-64 - LLVM Clang 3.4 SVN: Optimized build; Built Dec 11 2013 (10:19:57); Default target: x86_64-unknown-linux-gnu; Host CPU: core-avx-i Processor Details- Scaling Governor: intel_pstate powersave

LLVM 3.4 Clang Linux Compiler Testhmmer: Pfam Database Searchblake2: Phoronix Test Suite v4.8.6botan: Tigerbotan: KASUMIbotan: AES-256botan: Twofishbotan: CAST-256botan: X9.19-MACscimark2: Compositescimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Sparse Matrix Multiplyscimark2: Dense LU Matrix Factorizationscimark2: Jacobi Successive Over-Relaxationhimeno: Poisson Pressure Solvercompress-7zip: Compress Speed Testbuild-mplayer: Time To Compilebuild-php: Time To Compilec-ray: Total Timecompress-pbzip2: 256MB File Compressionencode-flac: WAV To FLACencode-mp3: WAV To MP3ffmpeg: H.264 HD To NTSC DVhint: FLOAThint: DOUBLEnginx: Static Web Page Servingapache: Static Web Page ServingLLVM Clang 3.3LLVM Clang 3.4 SVN8.717.58433.5567.70192.16195.64114.2083.841531.29632.55339.212469.342489.311726.031671.603076115.2619.545.705.6512.8611.30277549891.07599037509.4318991.8914690.908.705.10431.7752.21202.80200.82110.7179.861986.97637.24344.332779.394449.091724.821713.47309773.1613.5019.945.714.8411.7911.42230228636.05588678410.6518974.4514606.91OpenBenchmarking.org

Timed HMMer Search

Pfam Database Search

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 2.3.2Pfam Database SearchLLVM Clang 3.3LLVM Clang 3.4 SVN246810SE +/- 0.01, N = 3SE +/- 0.01, N = 38.718.701. (CC) gcc options: -O3 -march=native -pthread -lhmmer -lsquid -lm

BLAKE2

Phoronix Test Suite v4.8.6

OpenBenchmarking.orgCycles Per Byte, Fewer Is BetterBLAKE2 20121223Phoronix Test Suite v4.8.6LLVM Clang 3.3LLVM Clang 3.4 SVN246810SE +/- 0.01, N = 3SE +/- 0.08, N = 67.585.101. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz

Botan

Test: Tiger

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TigerLLVM Clang 3.3LLVM Clang 3.4 SVN90180270360450433.55431.771. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: KASUMI

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: KASUMILLVM Clang 3.3LLVM Clang 3.4 SVN153045607567.7052.211. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: AES-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: AES-256LLVM Clang 3.3LLVM Clang 3.4 SVN4080120160200192.16202.801. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: Twofish

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: TwofishLLVM Clang 3.3LLVM Clang 3.4 SVN4080120160200195.64200.821. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: CAST-256

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: CAST-256LLVM Clang 3.3LLVM Clang 3.4 SVN306090120150114.20110.711. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

Botan

Test: X9.19-MAC

OpenBenchmarking.orgMbytes/s, More Is BetterBotan 1.10.3Test: X9.19-MACLLVM Clang 3.3LLVM Clang 3.4 SVN2040608010083.8479.861. (CXX) g++ options: -m64 -ldl -lpthread -lrt -O2

SciMark

Computational Test: Composite

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: CompositeLLVM Clang 3.3LLVM Clang 3.4 SVN400800120016002000SE +/- 1.54, N = 4SE +/- 1.51, N = 41531.291986.971. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Monte Carlo

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte CarloLLVM Clang 3.3LLVM Clang 3.4 SVN140280420560700SE +/- 0.54, N = 4SE +/- 0.00, N = 4632.55637.241. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Fast Fourier Transform

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier TransformLLVM Clang 3.3LLVM Clang 3.4 SVN70140210280350SE +/- 0.64, N = 4SE +/- 0.40, N = 4339.21344.331. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Sparse Matrix Multiply

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix MultiplyLLVM Clang 3.3LLVM Clang 3.4 SVN6001200180024003000SE +/- 3.56, N = 4SE +/- 8.97, N = 42469.342779.391. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Dense LU Matrix Factorization

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix FactorizationLLVM Clang 3.3LLVM Clang 3.4 SVN10002000300040005000SE +/- 2.90, N = 4SE +/- 4.65, N = 42489.314449.091. (CXX) g++ options: -O3 -march=native

SciMark

Computational Test: Jacobi Successive Over-Relaxation

OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-RelaxationLLVM Clang 3.3LLVM Clang 3.4 SVN400800120016002000SE +/- 1.21, N = 4SE +/- 1.40, N = 41726.031724.821. (CXX) g++ options: -O3 -march=native

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverLLVM Clang 3.3LLVM Clang 3.4 SVN400800120016002000SE +/- 0.38, N = 3SE +/- 1.44, N = 31671.601713.471. (CC) gcc options: -O3 -march=native

7-Zip Compression

Compress Speed Test

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.20.1Compress Speed TestLLVM Clang 3.3LLVM Clang 3.4 SVN7K14K21K28K35KSE +/- 116.34, N = 3SE +/- 263.12, N = 330761309771. (CXX) g++ options: -pipe -lpthread

Timed MPlayer Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MPlayer Compilation 1.0-rc3Time To CompileLLVM Clang 3.4 SVN0.7111.4222.1332.8443.555SE +/- 0.05, N = 43.16

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 5.2.9Time To CompileLLVM Clang 3.3LLVM Clang 3.4 SVN48121620SE +/- 0.37, N = 6SE +/- 0.34, N = 615.2613.501. (CC) gcc options: -O3 -march=native -pedantic -ldl -lz -lm

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeLLVM Clang 3.3LLVM Clang 3.4 SVN510152025SE +/- 0.00, N = 3SE +/- 0.01, N = 319.5419.941. (CC) gcc options: -lm -lpthread -O3 -march=native

Parallel BZIP2 Compression

256MB File Compression

OpenBenchmarking.orgSeconds, Fewer Is BetterParallel BZIP2 Compression 1.1.6256MB File CompressionLLVM Clang 3.3LLVM Clang 3.4 SVN1.28482.56963.85445.13926.424SE +/- 0.02, N = 3SE +/- 0.02, N = 35.705.711. (CXX) g++ options: -O2 -pthread -lbz2 -lpthread

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.0WAV To FLACLLVM Clang 3.3LLVM Clang 3.4 SVN1.27132.54263.81395.08526.3565SE +/- 0.00, N = 5SE +/- 0.00, N = 55.654.841. (CXX) g++ options: -O3 -march=native -fvisibility=hidden -logg -lm

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3LLVM Clang 3.3LLVM Clang 3.4 SVN3691215SE +/- 0.01, N = 5SE +/- 0.02, N = 512.8611.791. (CC) gcc options: -pipe -O3 -march=native -lm

FFmpeg

H.264 HD To NTSC DV

OpenBenchmarking.orgSeconds, Fewer Is BetterFFmpeg 2.0H.264 HD To NTSC DVLLVM Clang 3.3LLVM Clang 3.4 SVN3691215SE +/- 0.07, N = 3SE +/- 0.22, N = 311.3011.421. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lasound -lSDL -lm -pthread -O3 -march=native -std=c99 -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -Qunused-arguments -MMD

Hierarchical INTegration

Test: FLOAT

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOATLLVM Clang 3.3LLVM Clang 3.4 SVN60M120M180M240M300MSE +/- 426397.20, N = 3SE +/- 87866.73, N = 3277549891.07230228636.051. (CC) gcc options: -O3 -march=native -lm

Hierarchical INTegration

Test: DOUBLE

OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: DOUBLELLVM Clang 3.3LLVM Clang 3.4 SVN130M260M390M520M650MSE +/- 497267.91, N = 3SE +/- 1339446.23, N = 3599037509.43588678410.651. (CC) gcc options: -O3 -march=native -lm

NGINX Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.0.11Static Web Page ServingLLVM Clang 3.3LLVM Clang 3.4 SVN4K8K12K16K20KSE +/- 6.21, N = 3SE +/- 44.62, N = 318991.8918974.451. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page ServingLLVM Clang 3.3LLVM Clang 3.4 SVN3K6K9K12K15KSE +/- 84.59, N = 3SE +/- 85.10, N = 314690.9014606.911. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native


Phoronix Test Suite v10.8.4