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 - Phoronix Test Suite GCC 10 vs. Clang 10 Benchmarks AMD Zen 2 compiler benchmarks for a future article.
HTML result view exported from: https://openbenchmarking.org/result/2005111-PTS-2005112N42&grs&sor .
GCC 10 vs. Clang 10 Benchmarks Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution GCC 9.3 GCC 10.1 Clang 10.0 AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads) System76 Thelio Major (F3 Z5 BIOS) AMD Starship/Matisse 126GB Samsung SSD 970 EVO Plus 500GB AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (1750/875MHz) AMD Navi 10 HDMI Audio G237HL Intel I211 + Intel Wi-Fi 6 AX200 Ubuntu 20.04 5.4.0-29-generic (x86_64) GNOME Shell 3.36.1 X Server 1.20.8 amdgpu 19.1.0 GCC 9.3.0 ext4 1920x1080 GCC 10.1.0 Clang 10.0.0 + LLVM 10.0.0 OpenBenchmarking.org Environment Details - CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native" Compiler Details - GCC 9.3: --disable-multilib --enable-checking=release - GCC 10.1: --disable-multilib --enable-checking=release - Clang 10.0: Optimized build with assertions; Default target: x86_64-unknown-linux-gnu; Host CPU: znver2 Processor Details - Scaling Governor: acpi-cpufreq ondemand - CPU Microcode: 0x8301025 Python Details - + Python 3.8.2 Security Details - 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
GCC 10 vs. Clang 10 Benchmarks build-mplayer: Time To Compile dav1d: Chimera 1080p 10-bit c-ray: Total Time - 4K, 16 Rays Per Pixel build-ffmpeg: Time To Compile build-imagemagick: Time To Compile cpp-perf-bench: Rand Numbers build-apache: Time To Compile build-llvm: Time To Compile cpp-perf-bench: Stepanov Vector encode-mp3: WAV To MP3 encode-flac: WAV To FLAC svt-av1: Enc Mode 0 - 1080p svt-av1: Enc Mode 8 - 1080p lczero: Eigen cpp-perf-bench: Stepanov Abstraction cpp-perf-bench: Ctype build-php: Time To Compile libgav1: Chimera 1080p 10-bit cpp-perf-bench: Function Objects dav1d: Chimera 1080p himeno: Poisson Pressure Solver cryptopp: Integer + Elliptic Curve Public Key Algorithms cryptopp: Unkeyed Algorithms graphics-magick: Rotate vpxenc: Speed 5 cpp-perf-bench: Math Library libgav1: Chimera 1080p yafaray: Total Time For Sample Scene sqlite-speedtest: Timed Time - Size 1,000 lammps: Rhodopsin Protein vpxenc: Speed 0 basis: ETC1S povray: Trace Time svt-vp9: Visual Quality Optimized - Bosphorus 1080p cryptopp: Keyed Algorithms svt-vp9: PSNR/SSIM Optimized - Bosphorus 1080p lczero: Rand aircrack-ng: blosc: blosclz dav1d: Summer Nature 1080p x264: H.264 Video Encoding dav1d: Summer Nature 4K svt-vp9: VMAF Optimized - Bosphorus 1080p svt-av1: Enc Mode 4 - 1080p basis: UASTC Level 3 x265: H.265 1080p Video Encoding apache: Static Web Page Serving cpp-perf-bench: Atol pgbench: Buffer Test - Normal Load - Read Only nginx: Static Web Page Serving pgbench: Buffer Test - Normal Load - Read Write GCC 9.3 GCC 10.1 Clang 10.0 10.187 218.61 9.024 19.441 12.840 1085.705 19.104 199.772 78.258 6.939 8.503 0.169 106.048 720 28.819 32.632 31.353 21.41 15.072 751.53 4704.477101 5399.565024 375.982012 604 23.71 274.096 51.64 52.034 59.341 23.455 7.79 42.316 8.891 308.73 680.575620 381.34 146813 183954.510 8015.9 822.24 190.35 348.21 370.83 11.010 14.544 59.62 33015.44 58.672 1130282.137122 42950.18 6401.712047 10.326 217.92 9.008 19.244 13.021 1104.577 19.492 204.069 77.374 6.929 8.427 0.170 109.837 745 28.893 35.051 33.627 21.45 14.021 799.15 4752.800661 5355.618245 383.546697 630 24.06 271.033 50.72 51.950 59.757 23.728 7.92 41.765 9.160 306.44 699.932286 372.75 150085 185248.839 8116.5 836.64 188.21 354.39 368.71 11.157 14.641 59.40 32908.39 58.816 1128208.702523 43045.00 7339.904378 23.839 126.13 14.678 27.800 17.953 1342.738 22.512 233.083 67.762 7.954 7.650 0.187 117.271 793 26.482 32.139 34.142 23.11 15.053 796.42 4484.150991 5127.184102 394.618701 606 24.64 264.735 52.42 50.377 61.263 24.178 8.03 43.040 8.993 315.52 686.581059 379.62 147757 187755.724 8180.2 838.32 186.74 351.87 374.77 11.009 14.481 60.05 32735.31 58.875 1126703.967679 43033.62 6271.579164 OpenBenchmarking.org
Timed MPlayer Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed MPlayer Compilation 1.4 Time To Compile GCC 9.3 GCC 10.1 Clang 10.0 6 12 18 24 30 SE +/- 0.05, N = 3 SE +/- 0.02, N = 3 SE +/- 0.07, N = 3 10.19 10.33 23.84
dav1d Video Input: Chimera 1080p 10-bit OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Chimera 1080p 10-bit GCC 9.3 GCC 10.1 Clang 10.0 50 100 150 200 250 SE +/- 0.50, N = 3 SE +/- 0.34, N = 3 SE +/- 0.40, N = 3 218.61 217.92 126.13 MIN: 155.52 / MAX: 345.61 MIN: 153.98 / MAX: 349.82 MIN: 87.7 / MAX: 200.75 1. (CC) gcc options: -O3 -march=native -pthread
C-Ray Total Time - 4K, 16 Rays Per Pixel OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time - 4K, 16 Rays Per Pixel GCC 10.1 GCC 9.3 Clang 10.0 4 8 12 16 20 SE +/- 0.026, N = 3 SE +/- 0.010, N = 3 SE +/- 0.070, N = 3 9.008 9.024 14.678 1. (CC) gcc options: -lm -lpthread -O3 -march=native
Timed FFmpeg Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed FFmpeg Compilation 4.2.2 Time To Compile GCC 10.1 GCC 9.3 Clang 10.0 7 14 21 28 35 SE +/- 0.03, N = 3 SE +/- 0.12, N = 3 SE +/- 0.03, N = 3 19.24 19.44 27.80
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.9.0 Time To Compile GCC 9.3 GCC 10.1 Clang 10.0 4 8 12 16 20 SE +/- 0.15, N = 3 SE +/- 0.10, N = 3 SE +/- 0.09, N = 3 12.84 13.02 17.95
CppPerformanceBenchmarks Test: Random Numbers OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Random Numbers GCC 9.3 GCC 10.1 Clang 10.0 300 600 900 1200 1500 SE +/- 0.50, N = 3 SE +/- 1.66, N = 3 SE +/- 0.19, N = 3 1085.71 1104.58 1342.74 1. (CXX) g++ options: -O3 -march=native -std=c++11
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.41 Time To Compile GCC 9.3 GCC 10.1 Clang 10.0 5 10 15 20 25 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 19.10 19.49 22.51
Timed LLVM Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed LLVM Compilation 10.0 Time To Compile GCC 9.3 GCC 10.1 Clang 10.0 50 100 150 200 250 SE +/- 0.97, N = 3 SE +/- 0.39, N = 3 SE +/- 0.82, N = 3 199.77 204.07 233.08
CppPerformanceBenchmarks Test: Stepanov Vector OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Stepanov Vector Clang 10.0 GCC 10.1 GCC 9.3 20 40 60 80 100 SE +/- 0.04, N = 3 SE +/- 0.08, N = 3 SE +/- 0.03, N = 3 67.76 77.37 78.26 1. (CXX) g++ options: -O3 -march=native -std=c++11
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.100 WAV To MP3 GCC 10.1 GCC 9.3 Clang 10.0 2 4 6 8 10 SE +/- 0.010, N = 3 SE +/- 0.012, N = 3 SE +/- 0.021, N = 3 6.929 6.939 7.954 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr 1. (CC) gcc options: -O3 -pipe -march=native -lncurses -lm
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.2 WAV To FLAC Clang 10.0 GCC 10.1 GCC 9.3 2 4 6 8 10 SE +/- 0.029, N = 5 SE +/- 0.017, N = 5 SE +/- 0.058, N = 5 7.650 8.427 8.503 -fvisibility=hidden -fvisibility=hidden 1. (CXX) g++ options: -O3 -march=native -logg -lm
SVT-AV1 Encoder Mode: Enc Mode 0 - Input: 1080p OpenBenchmarking.org Frames Per Second, More Is Better SVT-AV1 0.8 Encoder Mode: Enc Mode 0 - Input: 1080p Clang 10.0 GCC 10.1 GCC 9.3 0.0421 0.0842 0.1263 0.1684 0.2105 SE +/- 0.000, N = 3 SE +/- 0.000, N = 3 SE +/- 0.000, N = 3 0.187 0.170 0.169 1. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie
SVT-AV1 Encoder Mode: Enc Mode 8 - Input: 1080p OpenBenchmarking.org Frames Per Second, More Is Better SVT-AV1 0.8 Encoder Mode: Enc Mode 8 - Input: 1080p Clang 10.0 GCC 10.1 GCC 9.3 30 60 90 120 150 SE +/- 0.85, N = 3 SE +/- 1.11, N = 3 SE +/- 0.53, N = 3 117.27 109.84 106.05 1. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie
LeelaChessZero Backend: Eigen OpenBenchmarking.org Nodes Per Second, More Is Better LeelaChessZero 0.25 Backend: Eigen Clang 10.0 GCC 10.1 GCC 9.3 200 400 600 800 1000 SE +/- 12.88, N = 3 SE +/- 12.06, N = 3 SE +/- 8.50, N = 3 793 745 720 1. (CXX) g++ options: -O3 -march=native -pthread
CppPerformanceBenchmarks Test: Stepanov Abstraction OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Stepanov Abstraction Clang 10.0 GCC 9.3 GCC 10.1 7 14 21 28 35 SE +/- 0.01, N = 3 SE +/- 0.02, N = 3 SE +/- 0.02, N = 3 26.48 28.82 28.89 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Ctype OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Ctype Clang 10.0 GCC 9.3 GCC 10.1 8 16 24 32 40 SE +/- 0.04, N = 3 SE +/- 0.03, N = 3 SE +/- 0.28, N = 3 32.14 32.63 35.05 1. (CXX) g++ options: -O3 -march=native -std=c++11
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 7.4.2 Time To Compile GCC 9.3 GCC 10.1 Clang 10.0 8 16 24 32 40 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 31.35 33.63 34.14
libgav1 Video Input: Chimera 1080p 10-bit OpenBenchmarking.org FPS, More Is Better libgav1 2019-10-05 Video Input: Chimera 1080p 10-bit Clang 10.0 GCC 10.1 GCC 9.3 6 12 18 24 30 SE +/- 0.08, N = 3 SE +/- 0.05, N = 3 SE +/- 0.07, N = 3 23.11 21.45 21.41 1. (CXX) g++ options: -O3 -march=native -lpthread
CppPerformanceBenchmarks Test: Function Objects OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Function Objects GCC 10.1 Clang 10.0 GCC 9.3 4 8 12 16 20 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 14.02 15.05 15.07 1. (CXX) g++ options: -O3 -march=native -std=c++11
dav1d Video Input: Chimera 1080p OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Chimera 1080p GCC 10.1 Clang 10.0 GCC 9.3 200 400 600 800 1000 SE +/- 2.56, N = 3 SE +/- 2.38, N = 3 SE +/- 2.10, N = 3 799.15 796.42 751.53 MIN: 451.83 / MAX: 1010.19 MIN: 434.15 / MAX: 999.46 MIN: 441.06 / MAX: 933.08 1. (CC) gcc options: -O3 -march=native -pthread
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver GCC 10.1 GCC 9.3 Clang 10.0 1000 2000 3000 4000 5000 SE +/- 63.42, N = 3 SE +/- 58.58, N = 4 SE +/- 16.32, N = 3 4752.80 4704.48 4484.15 1. (CC) gcc options: -O3 -march=native -mavx2
Crypto++ Test: Integer + Elliptic Curve Public Key Algorithms OpenBenchmarking.org MiB/second, More Is Better Crypto++ 8.2 Test: Integer + Elliptic Curve Public Key Algorithms GCC 9.3 GCC 10.1 Clang 10.0 1200 2400 3600 4800 6000 SE +/- 8.49, N = 3 SE +/- 16.95, N = 3 SE +/- 3.05, N = 3 5399.57 5355.62 5127.18 1. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe
Crypto++ Test: Unkeyed Algorithms OpenBenchmarking.org MiB/second, More Is Better Crypto++ 8.2 Test: Unkeyed Algorithms Clang 10.0 GCC 10.1 GCC 9.3 90 180 270 360 450 SE +/- 1.07, N = 3 SE +/- 0.15, N = 3 SE +/- 0.26, N = 3 394.62 383.55 375.98 1. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe
GraphicsMagick Operation: Rotate OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.33 Operation: Rotate GCC 10.1 Clang 10.0 GCC 9.3 140 280 420 560 700 SE +/- 1.33, N = 3 SE +/- 0.67, N = 3 SE +/- 1.20, N = 3 630 606 604 -fopenmp -fopenmp 1. (CC) gcc options: -O3 -march=native -pthread -ljbig -lwebp -lwebpmux -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread
VP9 libvpx Encoding Speed: Speed 5 OpenBenchmarking.org Frames Per Second, More Is Better VP9 libvpx Encoding 1.8.2 Speed: Speed 5 Clang 10.0 GCC 10.1 GCC 9.3 6 12 18 24 30 SE +/- 0.06, N = 3 SE +/- 0.06, N = 3 SE +/- 0.01, N = 3 24.64 24.06 23.71 1. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11
CppPerformanceBenchmarks Test: Math Library OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Math Library Clang 10.0 GCC 10.1 GCC 9.3 60 120 180 240 300 SE +/- 0.36, N = 3 SE +/- 0.06, N = 3 SE +/- 0.16, N = 3 264.74 271.03 274.10 1. (CXX) g++ options: -O3 -march=native -std=c++11
libgav1 Video Input: Chimera 1080p OpenBenchmarking.org FPS, More Is Better libgav1 2019-10-05 Video Input: Chimera 1080p Clang 10.0 GCC 9.3 GCC 10.1 12 24 36 48 60 SE +/- 0.19, N = 3 SE +/- 0.20, N = 3 SE +/- 0.08, N = 3 52.42 51.64 50.72 1. (CXX) g++ options: -O3 -march=native -lpthread
YafaRay Total Time For Sample Scene OpenBenchmarking.org Seconds, Fewer Is Better YafaRay 3.4.1 Total Time For Sample Scene Clang 10.0 GCC 10.1 GCC 9.3 12 24 36 48 60 SE +/- 0.49, N = 3 SE +/- 0.88, N = 3 SE +/- 0.48, N = 3 50.38 51.95 52.03 1. (CXX) g++ options: -std=c++11 -O3 -ffast-math -rdynamic -ldl -lImath -lIlmImf -lIex -lHalf -lz -lIlmThread -lxml2 -lfreetype -lpthread
SQLite Speedtest Timed Time - Size 1,000 OpenBenchmarking.org Seconds, Fewer Is Better SQLite Speedtest 3.30 Timed Time - Size 1,000 GCC 9.3 GCC 10.1 Clang 10.0 14 28 42 56 70 SE +/- 0.08, N = 3 SE +/- 0.06, N = 3 SE +/- 0.13, N = 3 59.34 59.76 61.26 1. (CC) gcc options: -O3 -march=native -ldl -lz -lpthread
LAMMPS Molecular Dynamics Simulator Model: Rhodopsin Protein OpenBenchmarking.org ns/day, More Is Better LAMMPS Molecular Dynamics Simulator 9Jan2020 Model: Rhodopsin Protein Clang 10.0 GCC 10.1 GCC 9.3 6 12 18 24 30 SE +/- 0.19, N = 3 SE +/- 0.02, N = 3 SE +/- 0.16, N = 3 24.18 23.73 23.46 1. (CXX) g++ options: -O3 -march=native -rdynamic -ljpeg -lpng -lz -lfftw3 -lm
VP9 libvpx Encoding Speed: Speed 0 OpenBenchmarking.org Frames Per Second, More Is Better VP9 libvpx Encoding 1.8.2 Speed: Speed 0 Clang 10.0 GCC 10.1 GCC 9.3 2 4 6 8 10 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 8.03 7.92 7.79 1. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11
Basis Universal Settings: ETC1S OpenBenchmarking.org Seconds, Fewer Is Better Basis Universal 1.12 Settings: ETC1S GCC 10.1 GCC 9.3 Clang 10.0 10 20 30 40 50 SE +/- 0.06, N = 3 SE +/- 0.04, N = 3 SE +/- 0.03, N = 3 41.77 42.32 43.04 1. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread
POV-Ray Trace Time OpenBenchmarking.org Seconds, Fewer Is Better POV-Ray 3.7.0.7 Trace Time GCC 9.3 Clang 10.0 GCC 10.1 3 6 9 12 15 SE +/- 0.042, N = 3 SE +/- 0.009, N = 3 SE +/- 0.004, N = 3 8.891 8.993 9.160 1. (CXX) g++ options: -pipe -O3 -ffast-math -march=native -pthread -lSDL -lSM -lICE -lX11 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -lboost_system
SVT-VP9 Tuning: Visual Quality Optimized - Input: Bosphorus 1080p OpenBenchmarking.org Frames Per Second, More Is Better SVT-VP9 0.1 Tuning: Visual Quality Optimized - Input: Bosphorus 1080p Clang 10.0 GCC 9.3 GCC 10.1 70 140 210 280 350 SE +/- 3.09, N = 3 SE +/- 2.26, N = 3 SE +/- 2.98, N = 3 315.52 308.73 306.44 1. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm
Crypto++ Test: Keyed Algorithms OpenBenchmarking.org MiB/second, More Is Better Crypto++ 8.2 Test: Keyed Algorithms GCC 10.1 Clang 10.0 GCC 9.3 150 300 450 600 750 SE +/- 0.44, N = 3 SE +/- 4.37, N = 3 SE +/- 0.77, N = 3 699.93 686.58 680.58 1. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe
SVT-VP9 Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080p OpenBenchmarking.org Frames Per Second, More Is Better SVT-VP9 0.1 Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080p GCC 9.3 Clang 10.0 GCC 10.1 80 160 240 320 400 SE +/- 3.43, N = 3 SE +/- 2.68, N = 3 SE +/- 0.89, N = 3 381.34 379.62 372.75 1. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm
LeelaChessZero Backend: Random OpenBenchmarking.org Nodes Per Second, More Is Better LeelaChessZero 0.25 Backend: Random GCC 10.1 Clang 10.0 GCC 9.3 30K 60K 90K 120K 150K SE +/- 50.56, N = 3 SE +/- 111.65, N = 3 SE +/- 181.84, N = 3 150085 147757 146813 1. (CXX) g++ options: -O3 -march=native -pthread
Aircrack-ng OpenBenchmarking.org k/s, More Is Better Aircrack-ng 1.5.2 Clang 10.0 GCC 10.1 GCC 9.3 40K 80K 120K 160K 200K SE +/- 1089.29, N = 3 SE +/- 991.57, N = 3 SE +/- 993.07, N = 3 187755.72 185248.84 183954.51 1. (CXX) g++ options: -O3 -fvisibility=hidden -masm=intel -fcommon -rdynamic -lpthread -lz -lcrypto -lhwloc -ldl -lm -pthread
C-Blosc Compressor: blosclz OpenBenchmarking.org MB/s, More Is Better C-Blosc 2.0 Beta 5 Compressor: blosclz Clang 10.0 GCC 10.1 GCC 9.3 2K 4K 6K 8K 10K SE +/- 115.33, N = 3 SE +/- 82.59, N = 9 SE +/- 94.49, N = 9 8180.2 8116.5 8015.9 1. (CXX) g++ options: -O3 -march=native -rdynamic
dav1d Video Input: Summer Nature 1080p OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Summer Nature 1080p Clang 10.0 GCC 10.1 GCC 9.3 200 400 600 800 1000 SE +/- 0.38, N = 3 SE +/- 2.08, N = 3 SE +/- 1.15, N = 3 838.32 836.64 822.24 MIN: 266.91 / MAX: 960.61 MIN: 283.13 / MAX: 957.89 MIN: 264.08 / MAX: 940.76 1. (CC) gcc options: -O3 -march=native -pthread
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2019-12-17 H.264 Video Encoding GCC 9.3 GCC 10.1 Clang 10.0 40 80 120 160 200 SE +/- 0.60, N = 3 SE +/- 1.85, N = 3 SE +/- 0.18, N = 3 190.35 188.21 186.74 -mstack-alignment=64 1. (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
dav1d Video Input: Summer Nature 4K OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Summer Nature 4K GCC 10.1 Clang 10.0 GCC 9.3 80 160 240 320 400 SE +/- 0.88, N = 3 SE +/- 1.15, N = 3 SE +/- 2.31, N = 3 354.39 351.87 348.21 MIN: 134.58 / MAX: 390.35 MIN: 119.88 / MAX: 389.52 MIN: 121.88 / MAX: 386.22 1. (CC) gcc options: -O3 -march=native -pthread
SVT-VP9 Tuning: VMAF Optimized - Input: Bosphorus 1080p OpenBenchmarking.org Frames Per Second, More Is Better SVT-VP9 0.1 Tuning: VMAF Optimized - Input: Bosphorus 1080p Clang 10.0 GCC 9.3 GCC 10.1 80 160 240 320 400 SE +/- 1.30, N = 3 SE +/- 5.27, N = 3 SE +/- 1.33, N = 3 374.77 370.83 368.71 1. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm
SVT-AV1 Encoder Mode: Enc Mode 4 - Input: 1080p OpenBenchmarking.org Frames Per Second, More Is Better SVT-AV1 0.8 Encoder Mode: Enc Mode 4 - Input: 1080p GCC 10.1 GCC 9.3 Clang 10.0 3 6 9 12 15 SE +/- 0.04, N = 3 SE +/- 0.09, N = 3 SE +/- 0.11, N = 3 11.16 11.01 11.01 1. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie
Basis Universal Settings: UASTC Level 3 OpenBenchmarking.org Seconds, Fewer Is Better Basis Universal 1.12 Settings: UASTC Level 3 Clang 10.0 GCC 9.3 GCC 10.1 4 8 12 16 20 SE +/- 0.00, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 14.48 14.54 14.64 1. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread
x265 H.265 1080p Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x265 3.1.2 H.265 1080p Video Encoding Clang 10.0 GCC 9.3 GCC 10.1 13 26 39 52 65 SE +/- 0.21, N = 3 SE +/- 0.12, N = 3 SE +/- 0.25, N = 3 60.05 59.62 59.40 1. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.29 Static Web Page Serving GCC 9.3 GCC 10.1 Clang 10.0 7K 14K 21K 28K 35K SE +/- 56.97, N = 3 SE +/- 79.67, N = 3 SE +/- 50.93, N = 3 33015.44 32908.39 32735.31 1. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native
CppPerformanceBenchmarks Test: Atol OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Atol GCC 9.3 GCC 10.1 Clang 10.0 13 26 39 52 65 SE +/- 0.22, N = 3 SE +/- 0.14, N = 3 SE +/- 0.21, N = 3 58.67 58.82 58.88 1. (CXX) g++ options: -O3 -march=native -std=c++11
PostgreSQL pgbench Scaling: Buffer Test - Test: Normal Load - Mode: Read Only OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 12.0 Scaling: Buffer Test - Test: Normal Load - Mode: Read Only GCC 9.3 GCC 10.1 Clang 10.0 200K 400K 600K 800K 1000K SE +/- 7085.28, N = 3 SE +/- 1409.13, N = 3 SE +/- 9138.66, N = 3 1130282.14 1128208.70 1126703.97 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm
NGINX Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better NGINX Benchmark 1.9.9 Static Web Page Serving GCC 10.1 Clang 10.0 GCC 9.3 9K 18K 27K 36K 45K SE +/- 324.34, N = 3 SE +/- 643.61, N = 3 SE +/- 674.82, N = 3 43045.00 43033.62 42950.18 1. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native
PostgreSQL pgbench Scaling: Buffer Test - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 12.0 Scaling: Buffer Test - Test: Normal Load - Mode: Read Write GCC 10.1 GCC 9.3 Clang 10.0 1600 3200 4800 6400 8000 SE +/- 12.06, N = 3 SE +/- 74.02, N = 6 SE +/- 120.69, N = 12 7339.90 6401.71 6271.58 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm
Phoronix Test Suite v10.8.4