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.

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

blosc: blosclzcryptopp: Keyed Algorithmscryptopp: Unkeyed Algorithmscryptopp: Integer + Elliptic Curve Public Key Algorithmslczero: Eigenlczero: Randlammps: Rhodopsin Proteinlibgav1: Chimera 1080plibgav1: Chimera 1080p 10-bitgraphics-magick: Rotatedav1d: 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 Encodinghimeno: Poisson Pressure Solverbuild-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 MP3pgbench: Buffer Test - Normal Load - Read Onlypgbench: Buffer Test - Normal Load - Read Writebasis: 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,000nginx: Static Web Page Servingapache: Static Web Page ServingTR 3990Xi9-10980XE GCC 9.3 GCC 10.1 Clang 10.0 GCC 9.3 GCC 10.1 Clang 10.08015.9680.575620375.9820125399.56502472014681323.45551.6421.41604751.53348.21822.24218.610.16911.010106.048370.83381.34308.737.7923.71190.3559.624704.47710119.10419.44112.840199.77210.18731.3539.0248.89152.0348.5036.9391130282.1371226401.71204742.31614.54458.67232.632274.0961085.70578.25815.07228.81959.34142950.1833015.448116.5699.932286383.5466975355.61824574515008523.72850.7221.45630799.15354.39836.64217.920.17011.157109.837368.71372.75306.447.9224.06188.2159.404752.80066119.49219.24413.021204.06910.32633.6279.0089.16051.9508.4276.9291128208.7025237339.90437841.76514.64158.81635.051271.0331104.57777.37414.02128.89359.75743045.0032908.398180.2686.581059394.6187015127.18410279314775724.17852.4223.11606796.42351.87838.32126.130.18711.009117.271374.77379.62315.528.0324.64186.7460.054484.15099122.51227.80017.953233.08323.83934.14214.6788.99350.3777.6507.9541126703.9676796271.57916443.04014.48158.87532.139264.7351342.73867.76215.05326.48261.26343033.6232735.317748.2751.166844394.1186225792.99372594613481612.47543.4718.89868538.41218.42530.85123.560.146.00247.767307.29314.64256.316.6024.06140.7064.084834.19579521.17735.18121.364357.26622.13842.78329.94530.256104.4638.5378.558472370.3251638037.51494645.67837.38256.04526.345274.677954.79678.00213.27930.54454.69252353.4631482.427778.0751.563696392.2364795809.05246492613660812.22340.9118.62836558.43219.11531.70125.690.1436.17048.616311.59314.91259.526.5823.64141.4363.574771.41889821.64435.61321.748371.73322.46745.23330.45927.499101.5768.4918.612476778.1487418029.08088344.75337.31356.41527.706264.833941.60377.15312.13230.49655.06652346.1731433.807361.8757.301921356.7561535119.90410192114820912.52643.9120.96853561.13219.49531.7576.770.156.23252.699318.53324.04268.266.5023.39141.7463.694169.80846220.14335.82619.981326.13829.50733.11856.91127.84897.7438.73810.072471168.8303607887.19529943.39535.88056.17824.731265.2061143.93467.85612.76927.21256.10351737.7331370.09OpenBenchmarking.org

C-Blosc

Compressor: blosclz

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

Crypto++

Test: Keyed Algorithms

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

Crypto++

Test: Unkeyed Algorithms

TR 3990Xi9-10980XEOpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Unkeyed AlgorithmsGCC 9.3GCC 10.1Clang 10.090180270360450SE +/- 0.26, N = 3SE +/- 0.15, N = 3SE +/- 1.07, N = 3SE +/- 0.69, N = 3SE +/- 0.20, N = 3SE +/- 0.19, N = 3375.98383.55394.62394.12392.24356.761. (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 AlgorithmsGCC 9.3GCC 10.1Clang 10.012002400360048006000SE +/- 8.49, N = 3SE +/- 16.95, N = 3SE +/- 3.05, N = 3SE +/- 13.92, N = 3SE +/- 1.31, N = 3SE +/- 6.61, N = 35399.575355.625127.185792.995809.055119.901. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

LeelaChessZero

Backend: Eigen

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

LeelaChessZero

Backend: Random

TR 3990Xi9-10980XEOpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.25Backend: RandomGCC 9.3GCC 10.1Clang 10.030K60K90K120K150KSE +/- 181.84, N = 3SE +/- 50.56, N = 3SE +/- 111.65, N = 3SE +/- 112.88, N = 3SE +/- 176.21, N = 3SE +/- 69.00, N = 31468131500851477571348161366081482091. (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 ProteinGCC 9.3GCC 10.1Clang 10.0612182430SE +/- 0.16, N = 3SE +/- 0.02, N = 3SE +/- 0.19, N = 3SE +/- 0.03, N = 3SE +/- 0.09, N = 3SE +/- 0.04, N = 323.4623.7324.1812.4812.2212.531. (CXX) g++ options: -O3 -march=native -rdynamic -ljpeg -lpng -lz -lfftw3 -lm

libgav1

Video Input: Chimera 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterlibgav1 2019-10-05Video Input: Chimera 1080pGCC 9.3GCC 10.1Clang 10.01224364860SE +/- 0.20, N = 3SE +/- 0.08, N = 3SE +/- 0.19, N = 3SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 351.6450.7252.4243.4740.9143.911. (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-bitGCC 9.3GCC 10.1Clang 10.0612182430SE +/- 0.07, N = 3SE +/- 0.05, N = 3SE +/- 0.08, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 321.4121.4523.1118.8918.6220.961. (CXX) g++ options: -O3 -march=native -lpthread

GraphicsMagick

Operation: Rotate

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

dav1d

Video Input: Chimera 1080p

TR 3990Xi9-10980XEOpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Chimera 1080pGCC 9.3GCC 10.1Clang 10.02004006008001000SE +/- 2.10, N = 3SE +/- 2.56, N = 3SE +/- 2.38, N = 3SE +/- 2.69, N = 3SE +/- 1.52, N = 3SE +/- 2.63, N = 3751.53799.15796.42538.41558.43561.131. (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 4KGCC 9.3GCC 10.1Clang 10.080160240320400SE +/- 2.31, N = 3SE +/- 0.88, N = 3SE +/- 1.15, N = 3SE +/- 0.33, N = 3SE +/- 0.13, N = 3SE +/- 0.63, N = 3348.21354.39351.87218.42219.11219.491. (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 1080pGCC 9.3GCC 10.1Clang 10.02004006008001000SE +/- 1.15, N = 3SE +/- 2.08, N = 3SE +/- 0.38, N = 3SE +/- 0.38, N = 3SE +/- 0.79, N = 3SE +/- 1.72, N = 3822.24836.64838.32530.85531.70531.751. (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-bitGCC 9.3GCC 10.1Clang 10.050100150200250SE +/- 0.50, N = 3SE +/- 0.34, N = 3SE +/- 0.40, N = 3SE +/- 0.31, N = 3SE +/- 0.20, N = 3SE +/- 0.13, N = 3218.61217.92126.13123.56125.6976.771. (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: 1080pGCC 9.3GCC 10.1Clang 10.00.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.1690.1700.1870.1400.1430.1501. (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: 1080pGCC 9.3GCC 10.1Clang 10.03691215SE +/- 0.086, N = 3SE +/- 0.041, N = 3SE +/- 0.106, N = 3SE +/- 0.019, N = 3SE +/- 0.006, N = 3SE +/- 0.005, N = 311.01011.15711.0096.0026.1706.2321. (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: 1080pGCC 9.3GCC 10.1Clang 10.0306090120150SE +/- 0.53, N = 3SE +/- 1.11, N = 3SE +/- 0.85, N = 3SE +/- 0.16, N = 3SE +/- 0.16, N = 3SE +/- 0.15, N = 3106.05109.84117.2747.7748.6252.701. (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 1080pGCC 9.3GCC 10.1Clang 10.080160240320400SE +/- 5.27, N = 3SE +/- 1.33, N = 3SE +/- 1.30, N = 3SE +/- 4.37, N = 4SE +/- 0.93, N = 3SE +/- 0.79, N = 3370.83368.71374.77307.29311.59318.531. (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 1080pGCC 9.3GCC 10.1Clang 10.080160240320400SE +/- 3.43, N = 3SE +/- 0.89, N = 3SE +/- 2.68, N = 3SE +/- 0.83, N = 3SE +/- 0.05, N = 3SE +/- 0.98, N = 3381.34372.75379.62314.64314.91324.041. (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 1080pGCC 9.3GCC 10.1Clang 10.070140210280350SE +/- 2.26, N = 3SE +/- 2.98, N = 3SE +/- 3.09, N = 3SE +/- 1.21, N = 3SE +/- 0.66, N = 3SE +/- 0.80, N = 3308.73306.44315.52256.31259.52268.261. (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 0GCC 9.3GCC 10.1Clang 10.0246810SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 37.797.928.036.606.586.501. (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 5GCC 9.3GCC 10.1Clang 10.0612182430SE +/- 0.01, N = 3SE +/- 0.06, N = 3SE +/- 0.06, N = 3SE +/- 0.05, N = 3SE +/- 0.05, N = 3SE +/- 0.06, N = 323.7124.0624.6424.0623.6423.391. (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 EncodingGCC 9.3GCC 10.1Clang 10.04080120160200SE +/- 0.60, N = 3SE +/- 1.85, N = 3SE +/- 0.18, N = 3SE +/- 0.74, N = 3SE +/- 0.70, N = 3SE +/- 0.72, N = 3190.35188.21186.74140.70141.43141.741. (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 EncodingGCC 9.3GCC 10.1Clang 10.01428425670SE +/- 0.12, N = 3SE +/- 0.25, N = 3SE +/- 0.21, N = 3SE +/- 0.26, N = 3SE +/- 0.20, N = 3SE +/- 0.18, N = 359.6259.4060.0564.0863.5763.691. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma

Himeno Benchmark

Poisson Pressure Solver

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

Timed Apache Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.41Time To CompileGCC 9.3GCC 10.1Clang 10.0510152025SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.08, N = 3SE +/- 0.09, N = 3SE +/- 0.08, N = 319.1019.4922.5121.1821.6420.14

Timed FFmpeg Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed FFmpeg Compilation 4.2.2Time To CompileGCC 9.3GCC 10.1Clang 10.0816243240SE +/- 0.12, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 319.4419.2427.8035.1835.6135.83

Timed ImageMagick Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileGCC 9.3GCC 10.1Clang 10.0510152025SE +/- 0.15, N = 3SE +/- 0.10, N = 3SE +/- 0.09, N = 3SE +/- 0.10, N = 3SE +/- 0.05, N = 3SE +/- 0.10, N = 312.8413.0217.9521.3621.7519.98

Timed LLVM Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed LLVM Compilation 10.0Time To CompileGCC 9.3GCC 10.1Clang 10.080160240320400SE +/- 0.97, N = 3SE +/- 0.39, N = 3SE +/- 0.82, N = 3SE +/- 1.85, N = 3SE +/- 3.95, N = 3SE +/- 3.36, N = 3199.77204.07233.08357.27371.73326.14

Timed MPlayer Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed MPlayer Compilation 1.4Time To CompileGCC 9.3GCC 10.1Clang 10.0714212835SE +/- 0.05, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 310.1910.3323.8422.1422.4729.51

Timed PHP Compilation

Time To Compile

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 7.4.2Time To CompileGCC 9.3GCC 10.1Clang 10.01020304050SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 3SE +/- 0.09, N = 3SE +/- 0.13, N = 3SE +/- 0.01, N = 331.3533.6334.1442.7845.2333.12

C-Ray

Total Time - 4K, 16 Rays Per Pixel

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

POV-Ray

Trace Time

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.7.0.7Trace TimeGCC 9.3GCC 10.1Clang 10.0714212835SE +/- 0.042, N = 3SE +/- 0.004, N = 3SE +/- 0.009, N = 3SE +/- 0.243, N = 3SE +/- 0.047, N = 3SE +/- 0.043, N = 38.8919.1608.99330.25627.49927.8481. (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 SceneGCC 9.3GCC 10.1Clang 10.020406080100SE +/- 0.48, N = 3SE +/- 0.88, N = 3SE +/- 0.49, N = 3SE +/- 1.39, N = 3SE +/- 1.06, N = 15SE +/- 0.15, N = 352.0351.9550.38104.46101.5897.741. (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 FLACGCC 9.3GCC 10.1Clang 10.0246810SE +/- 0.058, N = 5SE +/- 0.017, N = 5SE +/- 0.029, N = 5SE +/- 0.016, N = 5SE +/- 0.018, N = 5SE +/- 0.018, N = 58.5038.4277.6508.5378.4918.7381. (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 MP3GCC 9.3GCC 10.1Clang 10.03691215SE +/- 0.012, N = 3SE +/- 0.010, N = 3SE +/- 0.021, N = 3SE +/- 0.008, N = 3SE +/- 0.007, N = 3SE +/- 0.002, N = 36.9396.9297.9548.5588.61210.0721. (CC) gcc options: -O3 -pipe -march=native -lncurses -lm

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 OnlyGCC 9.3GCC 10.1Clang 10.0200K400K600K800K1000KSE +/- 7085.28, N = 3SE +/- 1409.13, N = 3SE +/- 9138.66, N = 3SE +/- 492.84, N = 3SE +/- 418.58, N = 3SE +/- 326.93, N = 31130282.141128208.701126703.97472370.33476778.15471168.831. (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 WriteGCC 9.3GCC 10.1Clang 10.02K4K6K8K10KSE +/- 74.02, N = 6SE +/- 12.06, N = 3SE +/- 120.69, N = 12SE +/- 76.97, N = 3SE +/- 27.74, N = 3SE +/- 32.11, N = 36401.717339.906271.588037.518029.087887.201. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Basis Universal

Settings: ETC1S

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterBasis Universal 1.12Settings: ETC1SGCC 9.3GCC 10.1Clang 10.01020304050SE +/- 0.04, N = 3SE +/- 0.06, N = 3SE +/- 0.03, N = 3SE +/- 0.24, N = 3SE +/- 0.07, N = 3SE +/- 0.01, N = 342.3241.7743.0445.6844.7543.401. (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 3GCC 9.3GCC 10.1Clang 10.0918273645SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 314.5414.6414.4837.3837.3135.881. (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: AtolGCC 9.3GCC 10.1Clang 10.01326395265SE +/- 0.22, N = 3SE +/- 0.14, N = 3SE +/- 0.21, N = 3SE +/- 0.04, N = 3SE +/- 0.36, N = 3SE +/- 0.03, N = 358.6758.8258.8856.0556.4256.181. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Ctype

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

CppPerformanceBenchmarks

Test: Math Library

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

CppPerformanceBenchmarks

Test: Random Numbers

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

CppPerformanceBenchmarks

Test: Stepanov Vector

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

CppPerformanceBenchmarks

Test: Function Objects

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

CppPerformanceBenchmarks

Test: Stepanov Abstraction

TR 3990Xi9-10980XEOpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Stepanov AbstractionGCC 9.3GCC 10.1Clang 10.0714212835SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 328.8228.8926.4830.5430.5027.211. (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,000GCC 9.3GCC 10.1Clang 10.01428425670SE +/- 0.08, N = 3SE +/- 0.06, N = 3SE +/- 0.13, N = 3SE +/- 0.35, N = 3SE +/- 0.35, N = 3SE +/- 0.22, N = 359.3459.7661.2654.6955.0756.101. (CC) gcc options: -O3 -march=native -ldl -lz -lpthread

NGINX Benchmark

Static Web Page Serving

TR 3990Xi9-10980XEOpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.9.9Static Web Page ServingGCC 9.3GCC 10.1Clang 10.011K22K33K44K55KSE +/- 674.82, N = 3SE +/- 324.34, N = 3SE +/- 643.61, N = 3SE +/- 259.34, N = 3SE +/- 72.32, N = 3SE +/- 94.99, N = 342950.1843045.0043033.6252353.4652346.1751737.731. (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 ServingGCC 9.3GCC 10.1Clang 10.07K14K21K28K35KSE +/- 56.97, N = 3SE +/- 79.67, N = 3SE +/- 50.93, N = 3SE +/- 69.25, N = 3SE +/- 18.87, N = 3SE +/- 94.87, N = 333015.4432908.3932735.3131482.4231433.8031370.091. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native


Phoronix Test Suite v10.8.4