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&grr.

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++

apache: Static Web Page Servinghint: FLOATredis: SETredis: GETredis: LPOPpgbench: Buffer Test - Heavy Contention - Read Writepgbench: Buffer Test - Single Thread - Read Writepgbench: Buffer Test - Normal Load - Read Writetjbench: Decompression Throughputtachyon: Total Timeencode-wavpack: WAV To WavPackencode-mp3: WAV To MP3encode-flac: WAV To FLACbullet: Convex Trimeshbullet: Prim Trimeshbullet: 136 Ragdollsbullet: 1000 Convexbullet: 1000 Stackbullet: 3000 Fallbullet: Raytestsstockfish: Total Timec-ray: Total Timeebizzy: himeno: Poisson Pressure Solvergraphics-magick: Local Adaptive Thresholdinggraphics-magick: HWB Color Spacegraphics-magick: Resizinggraphics-magick: Sharpengraphics-magick: Blurx264: H.264 Video Encodingtscp: AI Chess Performancescimark2: Jacobi Successive Over-Relaxationscimark2: Dense LU Matrix Factorizationscimark2: Sparse Matrix Multiplyscimark2: Fast Fourier Transformscimark2: Monte Carloscimark2: Compositefftw: Float + SSE - 2D FFT Size 4096Clang 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=znver126808.65301686748.921400655.091896426.081908429.462061.89226.211938.55166.395.256.4410.745.721.170.992.934.695.144.532.79367114.624068021115.3613414813560101252.7310199641677.135792.782616.81135.84651.732174.861307227221.41301996595.091415121.331900142.801890860.672021.12226.161899.66163.715.236.509.626.771.190.992.974.895.334.622.85370414.724082781114.0313316313257105252.2110547301675.635534.542654.48134.39623.662124.541297526994.80301795000.851385134.041953368.381968693.381938.93226.041865.09161.785.296.529.756.771.201.002.964.845.274.622.86371013.684085091110.92133173137136252.3311033311675.035572.722623.75133.36642.552129.481369027700.93300351844.051413713.291973143.291960971.501875.27224.891813.34165.305.296.4510.925.691.160.992.934.645.104.532.78367013.623829601022.65136178139140252.5210963031679.215692.832597.54134.24657.962152.361339826067.59304975438.991449577.001965296.752022888.711700.04213.801567.11163.547.366.449.775.721.180.962.874.805.394.592.7739149.193935021096.2512622321416715910245301077.493177.752445.90264.45677.171528.551292425746.88308730450.231455351.922024240.252040441.771403.15215.461683.62165.827.286.399.526.151.130.942.814.505.164.472.6939268.343878831042.5212923422418316810154521074.523157.082595.21254.89674.301551.201357825648.47306015412.461433512.502039849.732007166.131009.23196.491453.17165.776.459.725.921.150.932.864.745.174.512.71375411.203971891093.23125219210165158239.539440831077.893796.792553.08264.57673.411673.151280325688.51309323159.031452900.962026468.132045776.02958.07160.271119.32167.026.399.506.141.230.942.785.415.134.442.8438269.633860141032.29128228220181166237.2310117161076.733811.922593.92252.96232.871593.681354525669.38307840753.351416798.481959467.751962522.21954.57170.671137.96165.616.459.735.931.160.942.884.735.234.512.6838049.163718341004.30128225215171161237.599874261078.213171.292653.08239.17672.691562.891293725831.38309230599.881422985.002020214.601955849.54987.10144.57904.86163.546.399.326.151.240.952.825.425.184.482.8239318.18388923982.63129233225182167238.4110154471077.043177.122438.89240.01274.031441.4213486OpenBenchmarking.org

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 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

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

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

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

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

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

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

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

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

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

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: 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

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

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

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

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: 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

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

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: 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: 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

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


Phoronix Test Suite v10.8.5