GCC 10 vs. Clang 10 Compiler Benchmarks

AMD Zen 2 and Intel Cascade Lake compiler benchmarks for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2005146-SYST-COMPS0583&sro&gru.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemScreen ResolutionOpenGLTR 3990Xi9-10980XE GCC 9.3 GCC 10.1 Clang 10.0 GCC 9.3 GCC 10.1 Clang 10.0AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads)System76 Thelio Major (F3 Z5 BIOS)AMD Starship/Matisse126GBSamsung SSD 970 EVO Plus 500GBAMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (1750/875MHz)AMD Navi 10 HDMI AudioG237HLIntel I211 + Intel Wi-Fi 6 AX200Ubuntu 20.045.4.0-29-generic (x86_64)GNOME Shell 3.36.1X Server 1.20.8amdgpu 19.1.0GCC 9.3.0ext41920x1080GCC 10.1.0Clang 10.0.0 + LLVM 10.0.0Intel Core i9-10980XE @ 4.80GHz (18 Cores / 36 Threads)ASRock X299 Steel Legend (P1.30 BIOS)Intel Sky Lake-E DMI3 Registers32GBSamsung SSD 970 PRO 512GBNVIDIA NV132 11GBRealtek ALC1220ASUS MG28UIntel I219-V + Intel I211modesetting 1.20.84.3 Mesa 20.0.4GCC 9.3.03840x2160GCC 10.1.0Clang 10.0.0 + LLVM 10.0.0OpenBenchmarking.orgEnvironment Details- CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native"Compiler Details- TR 3990X: GCC 9.3: --disable-multilib --enable-checking=release- TR 3990X: GCC 10.1: --disable-multilib --enable-checking=release- TR 3990X: Clang 10.0: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: znver2- i9-10980XE: GCC 9.3: --disable-multilib --enable-checking=release- i9-10980XE: GCC 10.1: --disable-multilib --enable-checking=release- i9-10980XE: Clang 10.0: Optimized build; Default target: x86_64-unknown-linux-gnu; Host CPU: cascadelakeProcessor Details- TR 3990X: GCC 9.3: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025- TR 3990X: GCC 10.1: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025- TR 3990X: Clang 10.0: Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025- i9-10980XE: GCC 9.3: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012c- i9-10980XE: GCC 10.1: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012c- i9-10980XE: Clang 10.0: Scaling Governor: intel_pstate powersave - CPU Microcode: 0x500012cPython Details- TR 3990X: GCC 9.3: + Python 3.8.2- TR 3990X: GCC 10.1: + Python 3.8.2- TR 3990X: Clang 10.0: + Python 3.8.2- i9-10980XE: GCC 9.3: Python 3.8.2- i9-10980XE: GCC 10.1: Python 3.8.2- i9-10980XE: Clang 10.0: Python 3.8.2Security Details- TR 3990X: GCC 9.3: itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Full AMD retpoline IBPB: conditional STIBP: conditional RSB filling + tsx_async_abort: Not affected - TR 3990X: GCC 10.1: itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Full AMD retpoline IBPB: conditional STIBP: conditional RSB filling + tsx_async_abort: Not affected - TR 3990X: Clang 10.0: itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Full AMD retpoline IBPB: conditional STIBP: conditional RSB filling + tsx_async_abort: Not affected - i9-10980XE: GCC 9.3: itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Mitigation of TSX disabled - i9-10980XE: GCC 10.1: itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Mitigation of TSX disabled - i9-10980XE: Clang 10.0: itlb_multihit: KVM: Mitigation of Split huge pages + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Enhanced IBRS IBPB: conditional RSB filling + tsx_async_abort: Mitigation of TSX disabled

libgav1: Chimera 1080plibgav1: Chimera 1080p 10-bitdav1d: Chimera 1080pdav1d: Summer Nature 4Kdav1d: Summer Nature 1080pdav1d: Chimera 1080p 10-bitsvt-av1: Enc Mode 0 - 1080psvt-av1: Enc Mode 4 - 1080psvt-av1: Enc Mode 8 - 1080psvt-vp9: VMAF Optimized - Bosphorus 1080psvt-vp9: PSNR/SSIM Optimized - Bosphorus 1080psvt-vp9: Visual Quality Optimized - Bosphorus 1080pvpxenc: Speed 0vpxenc: Speed 5x264: H.264 Video Encodingx265: H.265 1080p Video Encodinggraphics-magick: Rotateblosc: blosclzhimeno: Poisson Pressure Solvercryptopp: Keyed Algorithmscryptopp: Unkeyed Algorithmscryptopp: Integer + Elliptic Curve Public Key Algorithmslczero: Eigenlczero: Randlammps: Rhodopsin Proteinnginx: Static Web Page Servingapache: Static Web Page Servingpgbench: Buffer Test - Normal Load - Read Onlypgbench: Buffer Test - Normal Load - Read Writebuild-apache: Time To Compilebuild-ffmpeg: Time To Compilebuild-imagemagick: Time To Compilebuild-llvm: Time To Compilebuild-mplayer: Time To Compilebuild-php: Time To Compilec-ray: Total Time - 4K, 16 Rays Per Pixelpovray: Trace Timeyafaray: Total Time For Sample Sceneencode-flac: WAV To FLACencode-mp3: WAV To MP3basis: ETC1Sbasis: UASTC Level 3cpp-perf-bench: Atolcpp-perf-bench: Ctypecpp-perf-bench: Math Librarycpp-perf-bench: Rand Numberscpp-perf-bench: Stepanov Vectorcpp-perf-bench: Function Objectscpp-perf-bench: Stepanov Abstractionsqlite-speedtest: Timed Time - Size 1,000TR 3990Xi9-10980XE GCC 9.3 GCC 10.1 Clang 10.0 GCC 9.3 GCC 10.1 Clang 10.051.6421.41751.53348.21822.24218.610.16911.010106.048370.83381.34308.737.7923.71190.3559.626048015.94704.477101680.575620375.9820125399.56502472014681323.45542950.1833015.441130282.1371226401.71204719.10419.44112.840199.77210.18731.3539.0248.89152.0348.5036.93942.31614.54458.67232.632274.0961085.70578.25815.07228.81959.34150.7221.45799.15354.39836.64217.920.17011.157109.837368.71372.75306.447.9224.06188.2159.406308116.54752.800661699.932286383.5466975355.61824574515008523.72843045.0032908.391128208.7025237339.90437819.49219.24413.021204.06910.32633.6279.0089.16051.9508.4276.92941.76514.64158.81635.051271.0331104.57777.37414.02128.89359.75752.4223.11796.42351.87838.32126.130.18711.009117.271374.77379.62315.528.0324.64186.7460.056068180.24484.150991686.581059394.6187015127.18410279314775724.17843033.6232735.311126703.9676796271.57916422.51227.80017.953233.08323.83934.14214.6788.99350.3777.6507.95443.04014.48158.87532.139264.7351342.73867.76215.05326.48261.26343.4718.89538.41218.42530.85123.560.146.00247.767307.29314.64256.316.6024.06140.7064.088687748.24834.195795751.166844394.1186225792.99372594613481612.47552353.4631482.42472370.3251638037.51494621.17735.18121.364357.26622.13842.78329.94530.256104.4638.5378.55845.67837.38256.04526.345274.677954.79678.00213.27930.54454.69240.9118.62558.43219.11531.70125.690.1436.17048.616311.59314.91259.526.5823.64141.4363.578367778.04771.418898751.563696392.2364795809.05246492613660812.22352346.1731433.80476778.1487418029.08088321.64435.61321.748371.73322.46745.23330.45927.499101.5768.4918.61244.75337.31356.41527.706264.833941.60377.15312.13230.49655.06643.9120.96561.13219.49531.7576.770.156.23252.699318.53324.04268.266.5023.39141.7463.698537361.84169.808462757.301921356.7561535119.90410192114820912.52651737.7331370.09471168.8303607887.19529920.14335.82619.981326.13829.50733.11856.91127.84897.7438.73810.07243.39535.88056.17824.731265.2061143.93467.85612.76927.21256.103OpenBenchmarking.org

libgav1

Video Input: Chimera 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterlibgav1 2019-10-05Video Input: Chimera 1080pClang 10.0GCC 10.1GCC 9.31224364860SE +/- 0.19, N = 3SE +/- 0.08, N = 3SE +/- 0.20, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 352.4250.7251.6443.9140.9143.471. (CXX) g++ options: -O3 -march=native -lpthread

libgav1

Video Input: Chimera 1080p 10-bit

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterlibgav1 2019-10-05Video Input: Chimera 1080p 10-bitClang 10.0GCC 10.1GCC 9.3612182430SE +/- 0.08, N = 3SE +/- 0.05, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 323.1121.4521.4120.9618.6218.891. (CXX) g++ options: -O3 -march=native -lpthread

dav1d

Video Input: Chimera 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Chimera 1080pClang 10.0GCC 10.1GCC 9.32004006008001000SE +/- 2.38, N = 3SE +/- 2.56, N = 3SE +/- 2.10, N = 3SE +/- 2.63, N = 3SE +/- 1.52, N = 3SE +/- 2.69, N = 3796.42799.15751.53561.13558.43538.411. (CC) gcc options: -O3 -march=native -pthread

dav1d

Video Input: Summer Nature 4K

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Summer Nature 4KClang 10.0GCC 10.1GCC 9.380160240320400SE +/- 1.15, N = 3SE +/- 0.88, N = 3SE +/- 2.31, N = 3SE +/- 0.63, N = 3SE +/- 0.13, N = 3SE +/- 0.33, N = 3351.87354.39348.21219.49219.11218.421. (CC) gcc options: -O3 -march=native -pthread

dav1d

Video Input: Summer Nature 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Summer Nature 1080pClang 10.0GCC 10.1GCC 9.32004006008001000SE +/- 0.38, N = 3SE +/- 2.08, N = 3SE +/- 1.15, N = 3SE +/- 1.72, N = 3SE +/- 0.79, N = 3SE +/- 0.38, N = 3838.32836.64822.24531.75531.70530.851. (CC) gcc options: -O3 -march=native -pthread

dav1d

Video Input: Chimera 1080p 10-bit

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Chimera 1080p 10-bitClang 10.0GCC 10.1GCC 9.350100150200250SE +/- 0.40, N = 3SE +/- 0.34, N = 3SE +/- 0.50, N = 3SE +/- 0.13, N = 3SE +/- 0.20, N = 3SE +/- 0.31, N = 3126.13217.92218.6176.77125.69123.561. (CC) gcc options: -O3 -march=native -pthread

SVT-AV1

Encoder Mode: Enc Mode 0 - Input: 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 0.8Encoder Mode: Enc Mode 0 - Input: 1080pClang 10.0GCC 10.1GCC 9.30.04210.08420.12630.16840.2105SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 3SE +/- 0.000, N = 30.1870.1700.1690.1500.1430.1401. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie

SVT-AV1

Encoder Mode: Enc Mode 4 - Input: 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 0.8Encoder Mode: Enc Mode 4 - Input: 1080pClang 10.0GCC 10.1GCC 9.33691215SE +/- 0.106, N = 3SE +/- 0.041, N = 3SE +/- 0.086, N = 3SE +/- 0.005, N = 3SE +/- 0.006, N = 3SE +/- 0.019, N = 311.00911.15711.0106.2326.1706.0021. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie

SVT-AV1

Encoder Mode: Enc Mode 8 - Input: 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 0.8Encoder Mode: Enc Mode 8 - Input: 1080pClang 10.0GCC 10.1GCC 9.3306090120150SE +/- 0.85, N = 3SE +/- 1.11, N = 3SE +/- 0.53, N = 3SE +/- 0.15, N = 3SE +/- 0.16, N = 3SE +/- 0.16, N = 3117.27109.84106.0552.7048.6247.771. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie

SVT-VP9

Tuning: VMAF Optimized - Input: Bosphorus 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.1Tuning: VMAF Optimized - Input: Bosphorus 1080pClang 10.0GCC 10.1GCC 9.380160240320400SE +/- 1.30, N = 3SE +/- 1.33, N = 3SE +/- 5.27, N = 3SE +/- 0.79, N = 3SE +/- 0.93, N = 3SE +/- 4.37, N = 4374.77368.71370.83318.53311.59307.291. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-VP9

Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.1Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080pClang 10.0GCC 10.1GCC 9.380160240320400SE +/- 2.68, N = 3SE +/- 0.89, N = 3SE +/- 3.43, N = 3SE +/- 0.98, N = 3SE +/- 0.05, N = 3SE +/- 0.83, N = 3379.62372.75381.34324.04314.91314.641. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-VP9

Tuning: Visual Quality Optimized - Input: Bosphorus 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.1Tuning: Visual Quality Optimized - Input: Bosphorus 1080pClang 10.0GCC 10.1GCC 9.370140210280350SE +/- 3.09, N = 3SE +/- 2.98, N = 3SE +/- 2.26, N = 3SE +/- 0.80, N = 3SE +/- 0.66, N = 3SE +/- 1.21, N = 3315.52306.44308.73268.26259.52256.311. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

VP9 libvpx Encoding

Speed: Speed 0

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterVP9 libvpx Encoding 1.8.2Speed: Speed 0Clang 10.0GCC 10.1GCC 9.3246810SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 38.037.927.796.506.586.601. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11

VP9 libvpx Encoding

Speed: Speed 5

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is BetterVP9 libvpx Encoding 1.8.2Speed: Speed 5Clang 10.0GCC 10.1GCC 9.3612182430SE +/- 0.06, N = 3SE +/- 0.06, N = 3SE +/- 0.01, N = 3SE +/- 0.06, N = 3SE +/- 0.05, N = 3SE +/- 0.05, N = 324.6424.0623.7123.3923.6424.061. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11

x264

H.264 Video Encoding

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is Betterx264 2019-12-17H.264 Video EncodingClang 10.0GCC 10.1GCC 9.34080120160200SE +/- 0.18, N = 3SE +/- 1.85, N = 3SE +/- 0.60, N = 3SE +/- 0.72, N = 3SE +/- 0.70, N = 3SE +/- 0.74, N = 3186.74188.21190.35141.74141.43140.701. (CC) gcc options: -ldl -lavformat -lavcodec -lavutil -lswscale -m64 -lm -lpthread -O3 -ffast-math -march=native -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize

x265

H.265 1080p Video Encoding

TR 3990Xi9-10980XEOpenBenchmarking.orgFrames Per Second, More Is Betterx265 3.1.2H.265 1080p Video EncodingClang 10.0GCC 10.1GCC 9.31428425670SE +/- 0.21, N = 3SE +/- 0.25, N = 3SE +/- 0.12, N = 3SE +/- 0.18, N = 3SE +/- 0.20, N = 3SE +/- 0.26, N = 360.0559.4059.6263.6963.5764.081. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma

GraphicsMagick

Operation: Rotate

TR 3990Xi9-10980XEOpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: RotateClang 10.0GCC 10.1GCC 9.32004006008001000SE +/- 0.67, N = 3SE +/- 1.33, N = 3SE +/- 1.20, N = 3SE +/- 3.61, N = 3SE +/- 9.94, N = 3SE +/- 9.28, N = 36066306048538368681. (CC) gcc options: -O3 -march=native -pthread -ljbig -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread

C-Blosc

Compressor: blosclz

TR 3990Xi9-10980XEOpenBenchmarking.orgMB/s, More Is BetterC-Blosc 2.0 Beta 5Compressor: blosclzClang 10.0GCC 10.1GCC 9.32K4K6K8K10KSE +/- 115.33, N = 3SE +/- 82.59, N = 9SE +/- 94.49, N = 9SE +/- 7.98, N = 3SE +/- 7.31, N = 3SE +/- 3.09, N = 38180.28116.58015.97361.87778.07748.21. (CXX) g++ options: -O3 -march=native -rdynamic

Himeno Benchmark

Poisson Pressure Solver

TR 3990Xi9-10980XEOpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverClang 10.0GCC 10.1GCC 9.310002000300040005000SE +/- 16.32, N = 3SE +/- 63.42, N = 3SE +/- 58.58, N = 4SE +/- 4.34, N = 3SE +/- 7.02, N = 3SE +/- 13.29, N = 34484.154752.804704.484169.814771.424834.201. (CC) gcc options: -O3 -march=native -mavx2

Crypto++

Test: Keyed Algorithms

TR 3990Xi9-10980XEOpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Keyed AlgorithmsClang 10.0GCC 10.1GCC 9.3160320480640800SE +/- 4.37, N = 3SE +/- 0.44, N = 3SE +/- 0.77, N = 3SE +/- 0.14, N = 3SE +/- 0.10, N = 3SE +/- 0.35, N = 3686.58699.93680.58757.30751.56751.171. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

Crypto++

Test: Unkeyed Algorithms

TR 3990Xi9-10980XEOpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Unkeyed AlgorithmsClang 10.0GCC 10.1GCC 9.390180270360450SE +/- 1.07, N = 3SE +/- 0.15, N = 3SE +/- 0.26, N = 3SE +/- 0.19, N = 3SE +/- 0.20, N = 3SE +/- 0.69, N = 3394.62383.55375.98356.76392.24394.121. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

Crypto++

Test: Integer + Elliptic Curve Public Key Algorithms

TR 3990Xi9-10980XEOpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Integer + Elliptic Curve Public Key AlgorithmsClang 10.0GCC 10.1GCC 9.312002400360048006000SE +/- 3.05, N = 3SE +/- 16.95, N = 3SE +/- 8.49, N = 3SE +/- 6.61, N = 3SE +/- 1.31, N = 3SE +/- 13.92, N = 35127.185355.625399.575119.905809.055792.991. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

LeelaChessZero

Backend: Eigen

TR 3990Xi9-10980XEOpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.25Backend: EigenClang 10.0GCC 10.1GCC 9.32004006008001000SE +/- 12.88, N = 3SE +/- 12.06, N = 3SE +/- 8.50, N = 3SE +/- 7.13, N = 3SE +/- 10.27, N = 3SE +/- 5.36, N = 37937457209219269461. (CXX) g++ options: -O3 -march=native -pthread

LeelaChessZero

Backend: Random

TR 3990Xi9-10980XEOpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.25Backend: RandomClang 10.0GCC 10.1GCC 9.330K60K90K120K150KSE +/- 111.65, N = 3SE +/- 50.56, N = 3SE +/- 181.84, N = 3SE +/- 69.00, N = 3SE +/- 176.21, N = 3SE +/- 112.88, N = 31477571500851468131482091366081348161. (CXX) g++ options: -O3 -march=native -pthread

LAMMPS Molecular Dynamics Simulator

Model: Rhodopsin Protein

TR 3990Xi9-10980XEOpenBenchmarking.orgns/day, More Is BetterLAMMPS Molecular Dynamics Simulator 9Jan2020Model: Rhodopsin ProteinClang 10.0GCC 10.1GCC 9.3612182430SE +/- 0.19, N = 3SE +/- 0.02, N = 3SE +/- 0.16, N = 3SE +/- 0.04, N = 3SE +/- 0.09, N = 3SE +/- 0.03, N = 324.1823.7323.4612.5312.2212.481. (CXX) g++ options: -O3 -march=native -rdynamic -ljpeg -lpng -lz -lfftw3 -lm

NGINX Benchmark

Static Web Page Serving

TR 3990Xi9-10980XEOpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.9.9Static Web Page ServingClang 10.0GCC 10.1GCC 9.311K22K33K44K55KSE +/- 643.61, N = 3SE +/- 324.34, N = 3SE +/- 674.82, N = 3SE +/- 94.99, N = 3SE +/- 72.32, N = 3SE +/- 259.34, N = 343033.6243045.0042950.1851737.7352346.1752353.461. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native

Apache Benchmark

Static Web Page Serving

TR 3990Xi9-10980XEOpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.29Static Web Page ServingClang 10.0GCC 10.1GCC 9.37K14K21K28K35KSE +/- 50.93, N = 3SE +/- 79.67, N = 3SE +/- 56.97, N = 3SE +/- 94.87, N = 3SE +/- 18.87, N = 3SE +/- 69.25, N = 332735.3132908.3933015.4431370.0931433.8031482.421. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native

PostgreSQL pgbench

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

TR 3990Xi9-10980XEOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read OnlyClang 10.0GCC 10.1GCC 9.3200K400K600K800K1000KSE +/- 9138.66, N = 3SE +/- 1409.13, N = 3SE +/- 7085.28, N = 3SE +/- 326.93, N = 3SE +/- 418.58, N = 3SE +/- 492.84, N = 31126703.971128208.701130282.14471168.83476778.15472370.331. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

PostgreSQL pgbench

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

TR 3990Xi9-10980XEOpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteClang 10.0GCC 10.1GCC 9.32K4K6K8K10KSE +/- 120.69, N = 12SE +/- 12.06, N = 3SE +/- 74.02, N = 6SE +/- 32.11, N = 3SE +/- 27.74, N = 3SE +/- 76.97, N = 36271.587339.906401.717887.208029.088037.511. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Timed Apache Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.41Time To CompileClang 10.0GCC 10.1GCC 9.3510152025SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.08, N = 3SE +/- 0.09, N = 3SE +/- 0.08, N = 322.5119.4919.1020.1421.6421.18

Timed FFmpeg Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed FFmpeg Compilation 4.2.2Time To CompileClang 10.0GCC 10.1GCC 9.3816243240SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.12, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 327.8019.2419.4435.8335.6135.18

Timed ImageMagick Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileClang 10.0GCC 10.1GCC 9.3510152025SE +/- 0.09, N = 3SE +/- 0.10, N = 3SE +/- 0.15, N = 3SE +/- 0.10, N = 3SE +/- 0.05, N = 3SE +/- 0.10, N = 317.9513.0212.8419.9821.7521.36

Timed LLVM Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed LLVM Compilation 10.0Time To CompileClang 10.0GCC 10.1GCC 9.380160240320400SE +/- 0.82, N = 3SE +/- 0.39, N = 3SE +/- 0.97, N = 3SE +/- 3.36, N = 3SE +/- 3.95, N = 3SE +/- 1.85, N = 3233.08204.07199.77326.14371.73357.27

Timed MPlayer Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed MPlayer Compilation 1.4Time To CompileClang 10.0GCC 10.1GCC 9.3714212835SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 3SE +/- 0.03, N = 323.8410.3310.1929.5122.4722.14

Timed PHP Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 7.4.2Time To CompileClang 10.0GCC 10.1GCC 9.31020304050SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.13, N = 3SE +/- 0.09, N = 334.1433.6331.3533.1245.2342.78

C-Ray

Total Time - 4K, 16 Rays Per Pixel

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per PixelClang 10.0GCC 10.1GCC 9.31326395265SE +/- 0.070, N = 3SE +/- 0.026, N = 3SE +/- 0.010, N = 3SE +/- 0.017, N = 3SE +/- 0.010, N = 3SE +/- 0.016, N = 314.6789.0089.02456.91130.45929.9451. (CC) gcc options: -lm -lpthread -O3 -march=native

POV-Ray

Trace Time

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.7.0.7Trace TimeClang 10.0GCC 10.1GCC 9.3714212835SE +/- 0.009, N = 3SE +/- 0.004, N = 3SE +/- 0.042, N = 3SE +/- 0.043, N = 3SE +/- 0.047, N = 3SE +/- 0.243, N = 38.9939.1608.89127.84827.49930.2561. (CXX) g++ options: -pipe -O3 -ffast-math -march=native -pthread -lSM -lICE -lX11 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -lboost_system

YafaRay

Total Time For Sample Scene

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterYafaRay 3.4.1Total Time For Sample SceneClang 10.0GCC 10.1GCC 9.320406080100SE +/- 0.49, N = 3SE +/- 0.88, N = 3SE +/- 0.48, N = 3SE +/- 0.15, N = 3SE +/- 1.06, N = 15SE +/- 1.39, N = 350.3851.9552.0397.74101.58104.461. (CXX) g++ options: -std=c++11 -O3 -ffast-math -rdynamic -ldl -lImath -lIlmImf -lIex -lHalf -lz -lIlmThread -lxml2 -lfreetype -lpthread

FLAC Audio Encoding

WAV To FLAC

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLACClang 10.0GCC 10.1GCC 9.3246810SE +/- 0.029, N = 5SE +/- 0.017, N = 5SE +/- 0.058, N = 5SE +/- 0.018, N = 5SE +/- 0.018, N = 5SE +/- 0.016, N = 57.6508.4278.5038.7388.4918.5371. (CXX) g++ options: -O3 -march=native -lm

LAME MP3 Encoding

WAV To MP3

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3Clang 10.0GCC 10.1GCC 9.33691215SE +/- 0.021, N = 3SE +/- 0.010, N = 3SE +/- 0.012, N = 3SE +/- 0.002, N = 3SE +/- 0.007, N = 3SE +/- 0.008, N = 37.9546.9296.93910.0728.6128.5581. (CC) gcc options: -O3 -pipe -march=native -lncurses -lm

Basis Universal

Settings: ETC1S

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterBasis Universal 1.12Settings: ETC1SClang 10.0GCC 10.1GCC 9.31020304050SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 3SE +/- 0.07, N = 3SE +/- 0.24, N = 343.0441.7742.3243.4044.7545.681. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread

Basis Universal

Settings: UASTC Level 3

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterBasis Universal 1.12Settings: UASTC Level 3Clang 10.0GCC 10.1GCC 9.3918273645SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 314.4814.6414.5435.8837.3137.381. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread

CppPerformanceBenchmarks

Test: Atol

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: AtolClang 10.0GCC 10.1GCC 9.31326395265SE +/- 0.21, N = 3SE +/- 0.14, N = 3SE +/- 0.22, N = 3SE +/- 0.03, N = 3SE +/- 0.36, N = 3SE +/- 0.04, N = 358.8858.8258.6756.1856.4256.051. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Ctype

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: CtypeClang 10.0GCC 10.1GCC 9.3816243240SE +/- 0.04, N = 3SE +/- 0.28, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 332.1435.0532.6324.7327.7126.351. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Math Library

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Math LibraryClang 10.0GCC 10.1GCC 9.360120180240300SE +/- 0.36, N = 3SE +/- 0.06, N = 3SE +/- 0.16, N = 3SE +/- 0.43, N = 3SE +/- 0.46, N = 3SE +/- 0.10, N = 3264.74271.03274.10265.21264.83274.681. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Random Numbers

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Random NumbersClang 10.0GCC 10.1GCC 9.330060090012001500SE +/- 0.19, N = 3SE +/- 1.66, N = 3SE +/- 0.50, N = 3SE +/- 0.05, N = 3SE +/- 0.12, N = 3SE +/- 0.02, N = 31342.741104.581085.711143.93941.60954.801. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Stepanov Vector

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Stepanov VectorClang 10.0GCC 10.1GCC 9.320406080100SE +/- 0.04, N = 3SE +/- 0.08, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 367.7677.3778.2667.8677.1578.001. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Function Objects

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Function ObjectsClang 10.0GCC 10.1GCC 9.348121620SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 315.0514.0215.0712.7712.1313.281. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Stepanov Abstraction

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Stepanov AbstractionClang 10.0GCC 10.1GCC 9.3714212835SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 326.4828.8928.8227.2130.5030.541. (CXX) g++ options: -O3 -march=native -std=c++11

SQLite Speedtest

Timed Time - Size 1,000

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterSQLite Speedtest 3.30Timed Time - Size 1,000Clang 10.0GCC 10.1GCC 9.31428425670SE +/- 0.13, N = 3SE +/- 0.06, N = 3SE +/- 0.08, N = 3SE +/- 0.22, N = 3SE +/- 0.35, N = 3SE +/- 0.35, N = 361.2659.7659.3456.1055.0754.691. (CC) gcc options: -O3 -march=native -ldl -lz -lpthread


Phoronix Test Suite v10.8.5