GCC 7.1 vs. 8.0 vs. LLVM Clang znver1 Compiler Tests

AMD Ryzen 7 1700 Eight-Core compiler tests. Tests by Michael Larabel for a future article.

HTML result view exported from: https://openbenchmarking.org/result/1707212-TR-GCCLLVMZE77&rdt&grs.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay DriverCompilerFile-SystemScreen ResolutionClang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=x86-64 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=znver1AMD Ryzen 7 1700 Eight-Core @ 3.00GHz (16 Cores)MSI B350 TOMAHAWK (MS-7A34) v1.0AMD Device 145016384MB120GB Samsung SSD 840HIS AMD Radeon HD 7750/8740 / R7 250E 1024MBAMD Cape Verde/PitcairnRealtek RTL8111/8168/8411Ubuntu 17.044.12.0-999-generic (x86_64) 20170622Unity 7.5.0modesetting 1.19.3Clang 4.0.0-1ubuntu1ext41024x768Clang 6.0.0 (SVN 308494)GCC 6.3.0 20170406GCC 7.1.0GCC 8.0.0 20170716OpenBenchmarking.orgProcessor Details- Scaling Governor: acpi-cpufreq ondemandCompiler Details- Clang SVN: -O3 -march=x86-64: Optimized build; Default target: x86_64-unknown-linux-gnu; Host CPU: znver1- Clang SVN: -O3 -march=znver1: Optimized build; Default target: x86_64-unknown-linux-gnu; Host CPU: znver1- GCC 6.3.0: -O3 -march=x86-64: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic -v - GCC 6.3.0: -O3 -march=znver1: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-target-system-zlib --with-tune=generic -v - GCC 7.1.0: -O3 -march=x86-64: --disable-multilib --enable-checking=release --enable-languages=c,c++- GCC 7.1.0: -O3 -march=znver1: --disable-multilib --enable-checking=release --enable-languages=c,c++- GCC 8.0.0: -O3 -march=x86-64: --disable-multilib --enable-checking=release --enable-languages=c,c++- GCC 8.0.0: -O3 -march=znver1: --disable-multilib --enable-checking=release --enable-languages=c,c++

graphics-magick: Sharpenscimark2: Monte Carloscimark2: Fast Fourier Transformscimark2: Dense LU Matrix Factorizationc-ray: Total Timegraphics-magick: Resizinggraphics-magick: Blurgraphics-magick: HWB Color Spacescimark2: Jacobi Successive Over-Relaxationscimark2: Compositetachyon: Total Timebullet: 1000 Convexencode-flac: WAV To FLACencode-mp3: WAV To MP3tscp: AI Chess Performancehimeno: Poisson Pressure Solverebizzy: bullet: Convex Trimeshscimark2: Sparse Matrix Multiplygraphics-magick: Local Adaptive Thresholdingredis: LPOPapache: Static Web Page Servingredis: GETbullet: Prim Trimeshstockfish: Total Timefftw: Float + SSE - 2D FFT Size 4096bullet: 136 Ragdollsbullet: Raytestsx264: H.264 Video Encodingbullet: 1000 Stackredis: SETbullet: 3000 Falltjbench: Decompression Throughputhint: FLOATencode-wavpack: WAV To WavPackpgbench: Buffer Test - Heavy Contention - Read Writepgbench: Buffer Test - Single Thread - Read Writepgbench: Buffer Test - Normal Load - Read WriteClang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=x86-64 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=znver1 -O3 -march=x86-64 -O3 -march=znver160651.73135.845792.7814.621351011481677.132174.865.254.695.7210.7410199641115.364068021.172616.811341908429.4626808.651896426.080.993671130722.932.79252.735.141400655.094.53166.39301686748.926.442061.89226.211938.5557623.66134.395534.5414.721321051631675.632124.545.234.896.779.6210547301114.034082781.192654.481331890860.6727221.411900142.800.993704129752.972.85252.215.331415121.334.62163.71301996595.096.502021.12226.161899.66137642.55133.365572.7213.681361731675.032129.485.294.846.779.7511033311110.924085091.202623.751331968693.3826994.801953368.381.003710136902.962.86252.335.271385134.044.62161.78301795000.856.521938.93226.041865.09139657.96134.245692.8313.621401781679.212152.365.294.645.6910.9210963031022.653829601.162597.541361960971.5027700.931973143.290.993670133982.932.78252.525.101413713.294.53165.30300351844.056.451875.27224.891813.34167677.17264.453177.759.192141592231077.491528.557.364.805.729.7710245301096.253935021.182445.901262022888.7126067.591965296.750.963914129242.872.775.391449577.004.59163.54304975438.996.441700.04213.801567.11183674.30254.893157.088.342241682341074.521551.207.284.506.159.5210154521042.523878831.132595.211292040441.7725746.882024240.250.943926135782.812.695.161455351.924.47165.82308730450.236.391403.15215.461683.62165673.41264.573796.7911.202101582191077.891673.154.745.929.729440831093.233971891.152553.081252007166.1325648.472039849.730.933754128032.862.71239.535.171433512.504.51165.77306015412.466.451009.23196.491453.17181232.87252.963811.929.632201662281076.731593.685.416.149.5010117161032.293860141.232593.921282045776.0225688.512026468.130.943826135452.782.84237.235.131452900.964.44167.02309323159.036.39958.07160.271119.32171672.69239.173171.299.162151612251078.211562.894.735.939.739874261004.303718341.162653.081281962522.2125669.381959467.750.943804129372.882.68237.595.231416798.484.51165.61307840753.356.45954.57170.671137.96182274.03240.013177.128.182251672331077.041441.425.426.159.321015447982.633889231.242438.891291955849.5425831.382020214.600.953931134862.822.82238.415.181422985.004.48163.54309230599.886.39987.10144.57904.86OpenBenchmarking.org

GraphicsMagick

Operation: Sharpen

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Sharpen-O3 -march=znver1-O3 -march=x86-644080120160200SE +/- 0.33, N = 360571371391671831651811711821. (CC) gcc options: -fopenmp -O3 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lz -lm -ldl -lpthread

SciMark

Computational Test: Monte Carlo

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Monte Carlo-O3 -march=znver1-O3 -march=x86-64150300450600750SE +/- 0.07, N = 4SE +/- 0.39, N = 4SE +/- 0.08, N = 4SE +/- 0.67, N = 4SE +/- 0.12, N = 4SE +/- 2.36, N = 4SE +/- 0.12, N = 4SE +/- 0.19, N = 4SE +/- 0.67, N = 4SE +/- 0.05, N = 4651.73623.66642.55657.96677.17674.30673.41232.87672.69274.031. (CC) gcc options: -O3 -lm

SciMark

Computational Test: Fast Fourier Transform

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Fast Fourier Transform-O3 -march=znver1-O3 -march=x86-6460120180240300SE +/- 0.22, N = 4SE +/- 0.28, N = 4SE +/- 0.55, N = 4SE +/- 0.63, N = 4SE +/- 0.07, N = 4SE +/- 0.11, N = 4SE +/- 0.09, N = 4SE +/- 0.19, N = 4SE +/- 0.16, N = 4SE +/- 0.10, N = 4135.84134.39133.36134.24264.45254.89264.57252.96239.17240.011. (CC) gcc options: -O3 -lm

SciMark

Computational Test: Dense LU Matrix Factorization

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Dense LU Matrix Factorization-O3 -march=znver1-O3 -march=x86-6412002400360048006000SE +/- 36.57, N = 4SE +/- 49.61, N = 4SE +/- 14.40, N = 4SE +/- 16.27, N = 4SE +/- 2.94, N = 4SE +/- 10.73, N = 4SE +/- 8.77, N = 4SE +/- 8.48, N = 4SE +/- 6.28, N = 4SE +/- 6.13, N = 45792.785534.545572.725692.833177.753157.083796.793811.923171.293177.121. (CC) gcc options: -O3 -lm

C-Ray

Total Time

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time-O3 -march=znver1-O3 -march=x86-6448121620SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 314.6214.7213.6813.629.198.3411.209.639.168.181. (CC) gcc options: -lm -lpthread -O3

GraphicsMagick

Operation: Resizing

Clang 4.0GCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Resizing-O3 -march=znver1-O3 -march=x86-6450100150200250SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 31351322142242102202152251. (CC) gcc options: -fopenmp -O3 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lz -lm -ldl -lpthread

GraphicsMagick

Operation: Blur

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Blur-O3 -march=znver1-O3 -march=x86-644080120160200SE +/- 0.67, N = 3SE +/- 0.33, N = 31011051361401591681581661611671. (CC) gcc options: -fopenmp -O3 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lz -lm -ldl -lpthread

GraphicsMagick

Operation: HWB Color Space

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: HWB Color Space-O3 -march=znver1-O3 -march=x86-6450100150200250SE +/- 0.33, N = 3SE +/- 0.58, N = 31481631731782232342192282252331. (CC) gcc options: -fopenmp -O3 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lz -lm -ldl -lpthread

SciMark

Computational Test: Jacobi Successive Over-Relaxation

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Jacobi Successive Over-Relaxation-O3 -march=znver1-O3 -march=x86-64400800120016002000SE +/- 0.75, N = 4SE +/- 0.35, N = 4SE +/- 0.35, N = 4SE +/- 0.50, N = 4SE +/- 0.62, N = 4SE +/- 1.27, N = 4SE +/- 0.26, N = 4SE +/- 0.56, N = 4SE +/- 0.42, N = 4SE +/- 0.33, N = 41677.131675.631675.031679.211077.491074.521077.891076.731078.211077.041. (CC) gcc options: -O3 -lm

SciMark

Computational Test: Composite

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Composite-O3 -march=znver1-O3 -march=x86-645001000150020002500SE +/- 6.84, N = 4SE +/- 10.27, N = 4SE +/- 2.34, N = 4SE +/- 2.54, N = 4SE +/- 1.69, N = 4SE +/- 2.44, N = 4SE +/- 1.19, N = 4SE +/- 3.68, N = 4SE +/- 2.94, N = 4SE +/- 2.23, N = 42174.862124.542129.482152.361528.551551.201673.151593.681562.891441.421. (CC) gcc options: -O3 -lm

Tachyon

Total Time

Clang 4.0Clang SVNGCC 6.3.0OpenBenchmarking.orgSeconds, Fewer Is BetterTachyon 0.98.9Total Time-O3 -march=znver1-O3 -march=x86-64246810SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.08, N = 3SE +/- 0.06, N = 35.255.235.295.297.367.281. (CC) gcc options: -m32 -O3 -fomit-frame-pointer -ffast-math -ltachyon -lm -lpthread

Bullet Physics Engine

Test: 1000 Convex

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Convex-O3 -march=znver1-O3 -march=x86-641.21952.4393.65854.8786.0975SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 34.694.894.844.644.804.504.745.414.735.421. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

FLAC Audio Encoding

WAV To FLAC

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.1WAV To FLAC-O3 -march=znver1-O3 -march=x86-64246810SE +/- 0.06, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 55.726.776.775.695.726.155.926.145.936.151. (CXX) g++ options: -O3 -fvisibility=hidden -logg -lm

LAME MP3 Encoding

WAV To MP3

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.99.3WAV To MP3-O3 -march=znver1-O3 -march=x86-643691215SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.02, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 510.749.629.7510.929.779.529.729.509.739.321. (CC) gcc options: -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -lm

TSCP

AI Chess Performance

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess Performance-O3 -march=znver1-O3 -march=x86-64200K400K600K800K1000KSE +/- 1196.29, N = 5SE +/- 987.82, N = 5SE +/- 1625.76, N = 5SE +/- 1629.46, N = 5SE +/- 2144.16, N = 5SE +/- 1272.16, N = 5SE +/- 396.08, N = 5SE +/- 455.12, N = 5SE +/- 1962.31, N = 5SE +/- 458.30, N = 5101996410547301103331109630310245301015452944083101171698742610154471. (CC) gcc options: -O3

Himeno Benchmark

Poisson Pressure Solver

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O3 -march=znver1-O3 -march=x86-642004006008001000SE +/- 6.87, N = 3SE +/- 0.52, N = 3SE +/- 1.19, N = 3SE +/- 5.42, N = 3SE +/- 1.15, N = 3SE +/- 0.76, N = 3SE +/- 0.70, N = 3SE +/- 0.57, N = 3SE +/- 0.93, N = 3SE +/- 0.92, N = 31115.361114.031110.921022.651096.251042.521093.231032.291004.30982.631. (CC) gcc options: -O3 -mavx2

ebizzy

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgRecords/s, More Is Betterebizzy 0.3-O3 -march=znver1-O3 -march=x86-6490K180K270K360K450KSE +/- 4344.35, N = 3SE +/- 6544.76, N = 4SE +/- 4432.38, N = 3SE +/- 5536.66, N = 6SE +/- 6365.94, N = 4SE +/- 4952.37, N = 3SE +/- 6656.12, N = 6SE +/- 6377.52, N = 4SE +/- 9800.19, N = 6SE +/- 7421.08, N = 64068024082784085093829603935023878833971893860143718343889231. (CC) gcc options: -pthread -lpthread -O3

Bullet Physics Engine

Test: Convex Trimesh

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Convex Trimesh-O3 -march=znver1-O3 -march=x86-640.2790.5580.8371.1161.395SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 31.171.191.201.161.181.131.151.231.161.241. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

SciMark

Computational Test: Sparse Matrix Multiply

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterSciMark 2.0Computational Test: Sparse Matrix Multiply-O3 -march=znver1-O3 -march=x86-646001200180024003000SE +/- 3.22, N = 4SE +/- 3.12, N = 4SE +/- 4.33, N = 4SE +/- 5.05, N = 4SE +/- 6.35, N = 4SE +/- 7.33, N = 4SE +/- 5.49, N = 4SE +/- 11.85, N = 4SE +/- 10.45, N = 4SE +/- 7.39, N = 42616.812654.482623.752597.542445.902595.212553.082593.922653.082438.891. (CC) gcc options: -O3 -lm

GraphicsMagick

Operation: Local Adaptive Thresholding

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.19Operation: Local Adaptive Thresholding-O3 -march=znver1-O3 -march=x86-643060901201501341331331361261291251281281291. (CC) gcc options: -fopenmp -O3 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lz -lm -ldl -lpthread

Redis

Test: LPOP

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: LPOP-O3 -march=znver1-O3 -march=x86-64400K800K1200K1600K2000KSE +/- 5577.00, N = 3SE +/- 21807.56, N = 3SE +/- 13701.81, N = 3SE +/- 13594.16, N = 3SE +/- 36932.04, N = 3SE +/- 35449.52, N = 6SE +/- 21789.08, N = 3SE +/- 39319.57, N = 6SE +/- 21154.00, N = 3SE +/- 37770.88, N = 31908429.461890860.671968693.381960971.502022888.712040441.772007166.132045776.021962522.211955849.541. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Apache Benchmark

Static Web Page Serving

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.7Static Web Page Serving-O3 -march=znver1-O3 -march=x86-646K12K18K24K30KSE +/- 228.50, N = 3SE +/- 320.32, N = 3SE +/- 179.13, N = 3SE +/- 44.40, N = 3SE +/- 359.02, N = 3SE +/- 57.45, N = 3SE +/- 100.46, N = 3SE +/- 102.75, N = 3SE +/- 382.06, N = 3SE +/- 26.48, N = 326808.6527221.4126994.8027700.9326067.5925746.8825648.4725688.5125669.3825831.381. (CC) gcc options: -shared -fPIC -pthread -O3

Redis

Test: GET

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: GET-O3 -march=znver1-O3 -march=x86-64400K800K1200K1600K2000KSE +/- 9354.06, N = 3SE +/- 29446.39, N = 5SE +/- 15420.28, N = 3SE +/- 27406.80, N = 3SE +/- 25624.27, N = 3SE +/- 36741.38, N = 3SE +/- 39927.16, N = 6SE +/- 34137.72, N = 6SE +/- 31907.52, N = 4SE +/- 28926.92, N = 51896426.081900142.801953368.381973143.291965296.752024240.252039849.732026468.131959467.752020214.601. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Bullet Physics Engine

Test: Prim Trimesh

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Prim Trimesh-O3 -march=znver1-O3 -march=x86-640.2250.450.6750.91.125SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 30.990.991.000.990.960.940.930.940.940.951. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

Stockfish

Total Time

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgms, Fewer Is BetterStockfish 2014-11-26Total Time-O3 -march=znver1-O3 -march=x86-648001600240032004000SE +/- 12.02, N = 3SE +/- 2.96, N = 3SE +/- 1.76, N = 3SE +/- 5.03, N = 3SE +/- 4.73, N = 3SE +/- 23.13, N = 3SE +/- 15.94, N = 3SE +/- 6.00, N = 3SE +/- 3.71, N = 3SE +/- 6.12, N = 336713704371036703914392637543826380439311. (CXX) g++ options: -lpthread -O3 -fno-exceptions -fno-rtti -ansi -pedantic -msse -msse3 -mpopcnt -flto

FFTW

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

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMflops, More Is BetterFFTW 3.3.4Build: Float + SSE - Size: 2D FFT Size 4096-O3 -march=znver1-O3 -march=x86-643K6K9K12K15KSE +/- 75.88, N = 5SE +/- 25.06, N = 5SE +/- 12.52, N = 5SE +/- 55.71, N = 5SE +/- 39.73, N = 5SE +/- 27.02, N = 5SE +/- 64.07, N = 5SE +/- 31.07, N = 5SE +/- 46.46, N = 5SE +/- 68.37, N = 5130721297513690133981292413578128031354512937134861. (CC) gcc options: -O3 -lm

Bullet Physics Engine

Test: 136 Ragdolls

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 136 Ragdolls-O3 -march=znver1-O3 -march=x86-640.66831.33662.00492.67323.3415SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 32.932.972.962.932.872.812.862.782.882.821. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

Bullet Physics Engine

Test: Raytests

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: Raytests-O3 -march=znver1-O3 -march=x86-640.64351.2871.93052.5743.2175SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 32.792.852.862.782.772.692.712.842.682.821. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

x264

H.264 Video Encoding

Clang 4.0Clang SVNGCC 7.1.0GCC 8.0.0OpenBenchmarking.orgFrames Per Second, More Is Betterx264 2017-05-19H.264 Video Encoding-O3 -march=znver1-O3 -march=x86-6460120180240300SE +/- 1.15, N = 5SE +/- 0.72, N = 5SE +/- 0.34, N = 5SE +/- 0.68, N = 5SE +/- 0.55, N = 5SE +/- 1.90, N = 5SE +/- 2.25, N = 5SE +/- 2.46, N = 5252.73252.21252.33252.52239.53237.23237.59238.411. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize

Bullet Physics Engine

Test: 1000 Stack

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 1000 Stack-O3 -march=znver1-O3 -march=x86-641.21282.42563.63844.85126.064SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.04, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 35.145.335.275.105.395.165.175.135.235.181. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

Redis

Test: SET

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgRequests Per Second, More Is BetterRedis 3.0.1Test: SET-O3 -march=znver1-O3 -march=x86-64300K600K900K1200K1500KSE +/- 8135.91, N = 3SE +/- 4364.72, N = 3SE +/- 8018.20, N = 3SE +/- 23768.12, N = 6SE +/- 20122.37, N = 6SE +/- 18650.68, N = 6SE +/- 24800.25, N = 3SE +/- 9173.79, N = 3SE +/- 21926.88, N = 6SE +/- 20903.17, N = 61400655.091415121.331385134.041413713.291449577.001455351.921433512.501452900.961416798.481422985.001. (CC) gcc options: -ggdb -rdynamic -lm -pthread -ldl

Bullet Physics Engine

Test: 3000 Fall

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterBullet Physics Engine 2.81Test: 3000 Fall-O3 -march=znver1-O3 -march=x86-641.03952.0793.11854.1585.1975SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 34.534.624.624.534.594.474.514.444.514.481. (CXX) g++ options: -O3 -rdynamic -lglut -lGL -lGLU

libjpeg-turbo tjbench

Test: Decompression Throughput

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgMegapixels/sec, More Is Betterlibjpeg-turbo tjbench 1.5.1Test: Decompression Throughput-O3 -march=znver1-O3 -march=x86-644080120160200SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.11, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 1.53, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3166.39163.71161.78165.30163.54165.82165.77167.02165.61163.541. (CC) gcc options: -O3 -lm

Hierarchical INTegration

Test: FLOAT

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgQUIPs, More Is BetterHierarchical INTegration 1.0Test: FLOAT-O3 -march=znver1-O3 -march=x86-6470M140M210M280M350MSE +/- 359206.87, N = 3SE +/- 176504.67, N = 3SE +/- 120507.74, N = 3SE +/- 20484.23, N = 3SE +/- 414269.32, N = 3SE +/- 55265.16, N = 3SE +/- 168070.96, N = 3SE +/- 334577.77, N = 3SE +/- 475847.52, N = 3SE +/- 241826.97, N = 3301686748.92301996595.09301795000.85300351844.05304975438.99308730450.23306015412.46309323159.03307840753.35309230599.881. (CC) gcc options: -O3 -lm

WavPack Audio Encoding

WAV To WavPack

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgSeconds, Fewer Is BetterWavPack Audio Encoding 5.1WAV To WavPack-O3 -march=znver1-O3 -march=x86-64246810SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.01, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 5SE +/- 0.00, N = 56.446.506.526.456.446.396.456.396.456.391. (CC) gcc options: -O3 -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.6.3Scaling: Buffer Test - Test: Heavy Contention - Mode: Read Write-O3 -march=znver1-O3 -march=x86-64400800120016002000SE +/- 36.47, N = 6SE +/- 7.18, N = 3SE +/- 30.24, N = 3SE +/- 30.52, N = 4SE +/- 135.65, N = 6SE +/- 106.64, N = 6SE +/- 71.53, N = 6SE +/- 53.51, N = 6SE +/- 58.21, N = 6SE +/- 43.17, N = 62061.892021.121938.931875.271700.041403.151009.23958.07954.57987.101. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -fpic -lpgcommon -lpgport -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Single Thread - Mode: Read Write

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.6.3Scaling: Buffer Test - Test: Single Thread - Mode: Read Write-O3 -march=znver1-O3 -march=x86-6450100150200250SE +/- 0.63, N = 3SE +/- 0.18, N = 3SE +/- 0.39, N = 3SE +/- 1.25, N = 3SE +/- 3.41, N = 3SE +/- 3.62, N = 3SE +/- 7.54, N = 6SE +/- 20.38, N = 6SE +/- 15.80, N = 6SE +/- 21.89, N = 6226.21226.16226.04224.89213.80215.46196.49160.27170.67144.571. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -fpic -lpgcommon -lpgport -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

Scaling: Buffer Test - Test: Normal Load - Mode: Read Write

Clang 4.0Clang SVNGCC 6.3.0GCC 7.1.0GCC 8.0.0OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 9.6.3Scaling: Buffer Test - Test: Normal Load - Mode: Read Write-O3 -march=znver1-O3 -march=x86-64400800120016002000SE +/- 30.13, N = 3SE +/- 33.75, N = 6SE +/- 47.88, N = 6SE +/- 52.04, N = 6SE +/- 83.58, N = 6SE +/- 69.43, N = 6SE +/- 115.54, N = 6SE +/- 144.73, N = 6SE +/- 78.24, N = 6SE +/- 102.75, N = 61938.551899.661865.091813.341567.111683.621453.171119.321137.96904.861. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -fpic -lpgcommon -lpgport -lrt -lcrypt -ldl -lm


Phoronix Test Suite v10.8.5