AMD Zen 2 compiler benchmarks for a future article.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 2005111-PTS-2005112N42
GCC 10 vs. Clang 10 Benchmarks
AMD Zen 2 compiler benchmarks for a future article.
GCC 10.1:
Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: System76 Thelio Major (F3 Z5 BIOS), Chipset: AMD Starship/Matisse, Memory: 126GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: G237HL, Network: Intel I211 + Intel Wi-Fi 6 AX200
OS: Ubuntu 20.04, Kernel: 5.4.0-29-generic (x86_64), Desktop: GNOME Shell 3.36.1, Display Server: X Server 1.20.8, Display Driver: amdgpu 19.1.0, Compiler: GCC 10.1.0, File-System: ext4, Screen Resolution: 1920x1080
GCC 9.3:
Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: System76 Thelio Major (F3 Z5 BIOS), Chipset: AMD Starship/Matisse, Memory: 126GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: G237HL, Network: Intel I211 + Intel Wi-Fi 6 AX200
OS: Ubuntu 20.04, Kernel: 5.4.0-29-generic (x86_64), Desktop: GNOME Shell 3.36.1, Display Server: X Server 1.20.8, Display Driver: amdgpu 19.1.0, Compiler: GCC 9.3.0, File-System: ext4, Screen Resolution: 1920x1080
Clang 10.0:
Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: System76 Thelio Major (F3 Z5 BIOS), Chipset: AMD Starship/Matisse, Memory: 126GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: G237HL, Network: Intel I211 + Intel Wi-Fi 6 AX200
OS: Ubuntu 20.04, Kernel: 5.4.0-29-generic (x86_64), Desktop: GNOME Shell 3.36.1, Display Server: X Server 1.20.8, Display Driver: amdgpu 19.1.0, Compiler: Clang 10.0.0 + LLVM 10.0.0, File-System: ext4, Screen Resolution: 1920x1080
libgav1 2019-10-05
Video Input: Chimera 1080p
FPS > Higher Is Better
GCC 10.1 ... 50.72 |=========================================================
GCC 9.3 .... 51.64 |==========================================================
Clang 10.0 . 52.42 |===========================================================
libgav1 2019-10-05
Video Input: Chimera 1080p 10-bit
FPS > Higher Is Better
GCC 10.1 ... 21.45 |=======================================================
GCC 9.3 .... 21.41 |=======================================================
Clang 10.0 . 23.11 |===========================================================
dav1d 0.6.0
Video Input: Chimera 1080p
FPS > Higher Is Better
GCC 10.1 ... 799.15 |==========================================================
GCC 9.3 .... 751.53 |=======================================================
Clang 10.0 . 796.42 |==========================================================
dav1d 0.6.0
Video Input: Summer Nature 4K
FPS > Higher Is Better
GCC 10.1 ... 354.39 |==========================================================
GCC 9.3 .... 348.21 |=========================================================
Clang 10.0 . 351.87 |==========================================================
dav1d 0.6.0
Video Input: Summer Nature 1080p
FPS > Higher Is Better
GCC 10.1 ... 836.64 |==========================================================
GCC 9.3 .... 822.24 |=========================================================
Clang 10.0 . 838.32 |==========================================================
dav1d 0.6.0
Video Input: Chimera 1080p 10-bit
FPS > Higher Is Better
GCC 10.1 ... 217.92 |==========================================================
GCC 9.3 .... 218.61 |==========================================================
Clang 10.0 . 126.13 |=================================
SVT-AV1 0.8
Encoder Mode: Enc Mode 0 - Input: 1080p
Frames Per Second > Higher Is Better
GCC 10.1 ... 0.170 |======================================================
GCC 9.3 .... 0.169 |=====================================================
Clang 10.0 . 0.187 |===========================================================
SVT-AV1 0.8
Encoder Mode: Enc Mode 4 - Input: 1080p
Frames Per Second > Higher Is Better
GCC 10.1 ... 11.16 |===========================================================
GCC 9.3 .... 11.01 |==========================================================
Clang 10.0 . 11.01 |==========================================================
SVT-AV1 0.8
Encoder Mode: Enc Mode 8 - Input: 1080p
Frames Per Second > Higher Is Better
GCC 10.1 ... 109.84 |======================================================
GCC 9.3 .... 106.05 |====================================================
Clang 10.0 . 117.27 |==========================================================
SVT-VP9 0.1
Tuning: VMAF Optimized - Input: Bosphorus 1080p
Frames Per Second > Higher Is Better
GCC 10.1 ... 368.71 |=========================================================
GCC 9.3 .... 370.83 |=========================================================
Clang 10.0 . 374.77 |==========================================================
SVT-VP9 0.1
Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080p
Frames Per Second > Higher Is Better
GCC 10.1 ... 372.75 |=========================================================
GCC 9.3 .... 381.34 |==========================================================
Clang 10.0 . 379.62 |==========================================================
SVT-VP9 0.1
Tuning: Visual Quality Optimized - Input: Bosphorus 1080p
Frames Per Second > Higher Is Better
GCC 10.1 ... 306.44 |========================================================
GCC 9.3 .... 308.73 |=========================================================
Clang 10.0 . 315.52 |==========================================================
VP9 libvpx Encoding 1.8.2
Speed: Speed 0
Frames Per Second > Higher Is Better
GCC 10.1 ... 7.92 |===========================================================
GCC 9.3 .... 7.79 |==========================================================
Clang 10.0 . 8.03 |============================================================
VP9 libvpx Encoding 1.8.2
Speed: Speed 5
Frames Per Second > Higher Is Better
GCC 10.1 ... 24.06 |==========================================================
GCC 9.3 .... 23.71 |=========================================================
Clang 10.0 . 24.64 |===========================================================
x264 2019-12-17
H.264 Video Encoding
Frames Per Second > Higher Is Better
GCC 10.1 ... 188.21 |=========================================================
GCC 9.3 .... 190.35 |==========================================================
Clang 10.0 . 186.74 |=========================================================
x265 3.1.2
H.265 1080p Video Encoding
Frames Per Second > Higher Is Better
GCC 10.1 ... 59.40 |==========================================================
GCC 9.3 .... 59.62 |===========================================================
Clang 10.0 . 60.05 |===========================================================
GraphicsMagick 1.3.33
Operation: Rotate
Iterations Per Minute > Higher Is Better
GCC 10.1 ... 630 |=============================================================
GCC 9.3 .... 604 |==========================================================
Clang 10.0 . 606 |===========================================================
Aircrack-ng 1.5.2
k/s > Higher Is Better
GCC 10.1 ... 185248.84 |======================================================
GCC 9.3 .... 183954.51 |======================================================
Clang 10.0 . 187755.72 |=======================================================
C-Blosc 2.0 Beta 5
Compressor: blosclz
MB/s > Higher Is Better
GCC 10.1 ... 8116.5 |==========================================================
GCC 9.3 .... 8015.9 |=========================================================
Clang 10.0 . 8180.2 |==========================================================
Himeno Benchmark 3.0
Poisson Pressure Solver
MFLOPS > Higher Is Better
GCC 10.1 ... 4752.80 |=========================================================
GCC 9.3 .... 4704.48 |========================================================
Clang 10.0 . 4484.15 |======================================================
Crypto++ 8.2
Test: Keyed Algorithms
MiB/second > Higher Is Better
GCC 10.1 ... 699.93 |==========================================================
GCC 9.3 .... 680.58 |========================================================
Clang 10.0 . 686.58 |=========================================================
Crypto++ 8.2
Test: Unkeyed Algorithms
MiB/second > Higher Is Better
GCC 10.1 ... 383.55 |========================================================
GCC 9.3 .... 375.98 |=======================================================
Clang 10.0 . 394.62 |==========================================================
Crypto++ 8.2
Test: Integer + Elliptic Curve Public Key Algorithms
MiB/second > Higher Is Better
GCC 10.1 ... 5355.62 |=========================================================
GCC 9.3 .... 5399.57 |=========================================================
Clang 10.0 . 5127.18 |======================================================
LeelaChessZero 0.25
Backend: Eigen
Nodes Per Second > Higher Is Better
GCC 10.1 ... 745 |=========================================================
GCC 9.3 .... 720 |=======================================================
Clang 10.0 . 793 |=============================================================
LeelaChessZero 0.25
Backend: Random
Nodes Per Second > Higher Is Better
GCC 10.1 ... 150085 |==========================================================
GCC 9.3 .... 146813 |=========================================================
Clang 10.0 . 147757 |=========================================================
LAMMPS Molecular Dynamics Simulator 9Jan2020
Model: Rhodopsin Protein
ns/day > Higher Is Better
GCC 10.1 ... 23.73 |==========================================================
GCC 9.3 .... 23.46 |=========================================================
Clang 10.0 . 24.18 |===========================================================
NGINX Benchmark 1.9.9
Static Web Page Serving
Requests Per Second > Higher Is Better
GCC 10.1 ... 43045.00 |========================================================
GCC 9.3 .... 42950.18 |========================================================
Clang 10.0 . 43033.62 |========================================================
Apache Benchmark 2.4.29
Static Web Page Serving
Requests Per Second > Higher Is Better
GCC 10.1 ... 32908.39 |========================================================
GCC 9.3 .... 33015.44 |========================================================
Clang 10.0 . 32735.31 |========================================================
PostgreSQL pgbench 12.0
Scaling: Buffer Test - Test: Normal Load - Mode: Read Only
TPS > Higher Is Better
GCC 10.1 ... 1128208.70 |======================================================
GCC 9.3 .... 1130282.14 |======================================================
Clang 10.0 . 1126703.97 |======================================================
PostgreSQL pgbench 12.0
Scaling: Buffer Test - Test: Normal Load - Mode: Read Write
TPS > Higher Is Better
GCC 10.1 ... 7339.90 |=========================================================
GCC 9.3 .... 6401.71 |==================================================
Clang 10.0 . 6271.58 |=================================================
Timed Apache Compilation 2.4.41
Time To Compile
Seconds < Lower Is Better
GCC 10.1 ... 19.49 |===================================================
GCC 9.3 .... 19.10 |==================================================
Clang 10.0 . 22.51 |===========================================================
Timed FFmpeg Compilation 4.2.2
Time To Compile
Seconds < Lower Is Better
GCC 10.1 ... 19.24 |=========================================
GCC 9.3 .... 19.44 |=========================================
Clang 10.0 . 27.80 |===========================================================
Timed ImageMagick Compilation 6.9.0
Time To Compile
Seconds < Lower Is Better
GCC 10.1 ... 13.02 |===========================================
GCC 9.3 .... 12.84 |==========================================
Clang 10.0 . 17.95 |===========================================================
Timed LLVM Compilation 10.0
Time To Compile
Seconds < Lower Is Better
GCC 10.1 ... 204.07 |===================================================
GCC 9.3 .... 199.77 |==================================================
Clang 10.0 . 233.08 |==========================================================
Timed MPlayer Compilation 1.4
Time To Compile
Seconds < Lower Is Better
GCC 10.1 ... 10.33 |==========================
GCC 9.3 .... 10.19 |=========================
Clang 10.0 . 23.84 |===========================================================
Timed PHP Compilation 7.4.2
Time To Compile
Seconds < Lower Is Better
GCC 10.1 ... 33.63 |==========================================================
GCC 9.3 .... 31.35 |======================================================
Clang 10.0 . 34.14 |===========================================================
C-Ray 1.1
Total Time - 4K, 16 Rays Per Pixel
Seconds < Lower Is Better
GCC 10.1 ... 9.008 |====================================
GCC 9.3 .... 9.024 |====================================
Clang 10.0 . 14.678 |==========================================================
POV-Ray 3.7.0.7
Trace Time
Seconds < Lower Is Better
GCC 10.1 ... 9.160 |===========================================================
GCC 9.3 .... 8.891 |=========================================================
Clang 10.0 . 8.993 |==========================================================
YafaRay 3.4.1
Total Time For Sample Scene
Seconds < Lower Is Better
GCC 10.1 ... 51.95 |===========================================================
GCC 9.3 .... 52.03 |===========================================================
Clang 10.0 . 50.38 |=========================================================
FLAC Audio Encoding 1.3.2
WAV To FLAC
Seconds < Lower Is Better
GCC 10.1 ... 8.427 |==========================================================
GCC 9.3 .... 8.503 |===========================================================
Clang 10.0 . 7.650 |=====================================================
LAME MP3 Encoding 3.100
WAV To MP3
Seconds < Lower Is Better
GCC 10.1 ... 6.929 |===================================================
GCC 9.3 .... 6.939 |===================================================
Clang 10.0 . 7.954 |===========================================================
Basis Universal 1.12
Settings: ETC1S
Seconds < Lower Is Better
GCC 10.1 ... 41.77 |=========================================================
GCC 9.3 .... 42.32 |==========================================================
Clang 10.0 . 43.04 |===========================================================
Basis Universal 1.12
Settings: UASTC Level 3
Seconds < Lower Is Better
GCC 10.1 ... 14.64 |===========================================================
GCC 9.3 .... 14.54 |===========================================================
Clang 10.0 . 14.48 |==========================================================
CppPerformanceBenchmarks 9
Test: Atol
Seconds < Lower Is Better
GCC 10.1 ... 58.82 |===========================================================
GCC 9.3 .... 58.67 |===========================================================
Clang 10.0 . 58.88 |===========================================================
CppPerformanceBenchmarks 9
Test: Ctype
Seconds < Lower Is Better
GCC 10.1 ... 35.05 |===========================================================
GCC 9.3 .... 32.63 |=======================================================
Clang 10.0 . 32.14 |======================================================
CppPerformanceBenchmarks 9
Test: Math Library
Seconds < Lower Is Better
GCC 10.1 ... 271.03 |=========================================================
GCC 9.3 .... 274.10 |==========================================================
Clang 10.0 . 264.74 |========================================================
CppPerformanceBenchmarks 9
Test: Random Numbers
Seconds < Lower Is Better
GCC 10.1 ... 1104.58 |===============================================
GCC 9.3 .... 1085.71 |==============================================
Clang 10.0 . 1342.74 |=========================================================
CppPerformanceBenchmarks 9
Test: Stepanov Vector
Seconds < Lower Is Better
GCC 10.1 ... 77.37 |==========================================================
GCC 9.3 .... 78.26 |===========================================================
Clang 10.0 . 67.76 |===================================================
CppPerformanceBenchmarks 9
Test: Function Objects
Seconds < Lower Is Better
GCC 10.1 ... 14.02 |=======================================================
GCC 9.3 .... 15.07 |===========================================================
Clang 10.0 . 15.05 |===========================================================
CppPerformanceBenchmarks 9
Test: Stepanov Abstraction
Seconds < Lower Is Better
GCC 10.1 ... 28.89 |===========================================================
GCC 9.3 .... 28.82 |===========================================================
Clang 10.0 . 26.48 |======================================================
SQLite Speedtest 3.30
Timed Time - Size 1,000
Seconds < Lower Is Better
GCC 10.1 ... 59.76 |==========================================================
GCC 9.3 .... 59.34 |=========================================================
Clang 10.0 . 61.26 |===========================================================