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&rdt&gru .
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 10.1 GCC 9.3 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 10.1.0 ext4 1920x1080 GCC 9.3.0 Clang 10.0.0 + LLVM 10.0.0 OpenBenchmarking.org Environment Details - CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native" Compiler Details - GCC 10.1: --disable-multilib --enable-checking=release - GCC 9.3: --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 libgav1: Chimera 1080p libgav1: Chimera 1080p 10-bit dav1d: Chimera 1080p dav1d: Summer Nature 4K dav1d: Summer Nature 1080p dav1d: Chimera 1080p 10-bit svt-av1: Enc Mode 0 - 1080p svt-av1: Enc Mode 4 - 1080p svt-av1: Enc Mode 8 - 1080p svt-vp9: VMAF Optimized - Bosphorus 1080p svt-vp9: PSNR/SSIM Optimized - Bosphorus 1080p svt-vp9: Visual Quality Optimized - Bosphorus 1080p vpxenc: Speed 0 vpxenc: Speed 5 x264: H.264 Video Encoding x265: H.265 1080p Video Encoding graphics-magick: Rotate aircrack-ng: blosc: blosclz himeno: Poisson Pressure Solver cryptopp: Keyed Algorithms cryptopp: Unkeyed Algorithms cryptopp: Integer + Elliptic Curve Public Key Algorithms lczero: Eigen lczero: Rand lammps: Rhodopsin Protein nginx: Static Web Page Serving apache: Static Web Page Serving pgbench: Buffer Test - Normal Load - Read Only pgbench: Buffer Test - Normal Load - Read Write build-apache: Time To Compile build-ffmpeg: Time To Compile build-imagemagick: Time To Compile build-llvm: Time To Compile build-mplayer: Time To Compile build-php: Time To Compile c-ray: Total Time - 4K, 16 Rays Per Pixel povray: Trace Time yafaray: Total Time For Sample Scene encode-flac: WAV To FLAC encode-mp3: WAV To MP3 basis: ETC1S basis: UASTC Level 3 cpp-perf-bench: Atol cpp-perf-bench: Ctype cpp-perf-bench: Math Library cpp-perf-bench: Rand Numbers cpp-perf-bench: Stepanov Vector cpp-perf-bench: Function Objects cpp-perf-bench: Stepanov Abstraction sqlite-speedtest: Timed Time - Size 1,000 GCC 10.1 GCC 9.3 Clang 10.0 50.72 21.45 799.15 354.39 836.64 217.92 0.170 11.157 109.837 368.71 372.75 306.44 7.92 24.06 188.21 59.40 630 185248.839 8116.5 4752.800661 699.932286 383.546697 5355.618245 745 150085 23.728 43045.00 32908.39 1128208.702523 7339.904378 19.492 19.244 13.021 204.069 10.326 33.627 9.008 9.160 51.950 8.427 6.929 41.765 14.641 58.816 35.051 271.033 1104.577 77.374 14.021 28.893 59.757 51.64 21.41 751.53 348.21 822.24 218.61 0.169 11.010 106.048 370.83 381.34 308.73 7.79 23.71 190.35 59.62 604 183954.510 8015.9 4704.477101 680.575620 375.982012 5399.565024 720 146813 23.455 42950.18 33015.44 1130282.137122 6401.712047 19.104 19.441 12.840 199.772 10.187 31.353 9.024 8.891 52.034 8.503 6.939 42.316 14.544 58.672 32.632 274.096 1085.705 78.258 15.072 28.819 59.341 52.42 23.11 796.42 351.87 838.32 126.13 0.187 11.009 117.271 374.77 379.62 315.52 8.03 24.64 186.74 60.05 606 187755.724 8180.2 4484.150991 686.581059 394.618701 5127.184102 793 147757 24.178 43033.62 32735.31 1126703.967679 6271.579164 22.512 27.800 17.953 233.083 23.839 34.142 14.678 8.993 50.377 7.650 7.954 43.040 14.481 58.875 32.139 264.735 1342.738 67.762 15.053 26.482 61.263 OpenBenchmarking.org
libgav1 Video Input: Chimera 1080p OpenBenchmarking.org FPS, More Is Better libgav1 2019-10-05 Video Input: Chimera 1080p GCC 10.1 GCC 9.3 Clang 10.0 12 24 36 48 60 SE +/- 0.08, N = 3 SE +/- 0.20, N = 3 SE +/- 0.19, N = 3 50.72 51.64 52.42 1. (CXX) g++ options: -O3 -march=native -lpthread
libgav1 Video Input: Chimera 1080p 10-bit OpenBenchmarking.org FPS, More Is Better libgav1 2019-10-05 Video Input: Chimera 1080p 10-bit GCC 10.1 GCC 9.3 Clang 10.0 6 12 18 24 30 SE +/- 0.05, N = 3 SE +/- 0.07, N = 3 SE +/- 0.08, N = 3 21.45 21.41 23.11 1. (CXX) g++ options: -O3 -march=native -lpthread
dav1d Video Input: Chimera 1080p OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Chimera 1080p GCC 10.1 GCC 9.3 Clang 10.0 200 400 600 800 1000 SE +/- 2.56, N = 3 SE +/- 2.10, N = 3 SE +/- 2.38, N = 3 799.15 751.53 796.42 MIN: 451.83 / MAX: 1010.19 MIN: 441.06 / MAX: 933.08 MIN: 434.15 / MAX: 999.46 1. (CC) gcc options: -O3 -march=native -pthread
dav1d Video Input: Summer Nature 4K OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Summer Nature 4K GCC 10.1 GCC 9.3 Clang 10.0 80 160 240 320 400 SE +/- 0.88, N = 3 SE +/- 2.31, N = 3 SE +/- 1.15, N = 3 354.39 348.21 351.87 MIN: 134.58 / MAX: 390.35 MIN: 121.88 / MAX: 386.22 MIN: 119.88 / MAX: 389.52 1. (CC) gcc options: -O3 -march=native -pthread
dav1d Video Input: Summer Nature 1080p OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Summer Nature 1080p GCC 10.1 GCC 9.3 Clang 10.0 200 400 600 800 1000 SE +/- 2.08, N = 3 SE +/- 1.15, N = 3 SE +/- 0.38, N = 3 836.64 822.24 838.32 MIN: 283.13 / MAX: 957.89 MIN: 264.08 / MAX: 940.76 MIN: 266.91 / MAX: 960.61 1. (CC) gcc options: -O3 -march=native -pthread
dav1d Video Input: Chimera 1080p 10-bit OpenBenchmarking.org FPS, More Is Better dav1d 0.6.0 Video Input: Chimera 1080p 10-bit GCC 10.1 GCC 9.3 Clang 10.0 50 100 150 200 250 SE +/- 0.34, N = 3 SE +/- 0.50, N = 3 SE +/- 0.40, N = 3 217.92 218.61 126.13 MIN: 153.98 / MAX: 349.82 MIN: 155.52 / MAX: 345.61 MIN: 87.7 / MAX: 200.75 1. (CC) gcc options: -O3 -march=native -pthread
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 GCC 10.1 GCC 9.3 Clang 10.0 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.170 0.169 0.187 1. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie
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
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 GCC 10.1 GCC 9.3 Clang 10.0 30 60 90 120 150 SE +/- 1.11, N = 3 SE +/- 0.53, N = 3 SE +/- 0.85, N = 3 109.84 106.05 117.27 1. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie
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 GCC 10.1 GCC 9.3 Clang 10.0 80 160 240 320 400 SE +/- 1.33, N = 3 SE +/- 5.27, N = 3 SE +/- 1.30, N = 3 368.71 370.83 374.77 1. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm
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 10.1 GCC 9.3 Clang 10.0 80 160 240 320 400 SE +/- 0.89, N = 3 SE +/- 3.43, N = 3 SE +/- 2.68, N = 3 372.75 381.34 379.62 1. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm
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 GCC 10.1 GCC 9.3 Clang 10.0 70 140 210 280 350 SE +/- 2.98, N = 3 SE +/- 2.26, N = 3 SE +/- 3.09, N = 3 306.44 308.73 315.52 1. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm
VP9 libvpx Encoding Speed: Speed 0 OpenBenchmarking.org Frames Per Second, More Is Better VP9 libvpx Encoding 1.8.2 Speed: Speed 0 GCC 10.1 GCC 9.3 Clang 10.0 2 4 6 8 10 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 7.92 7.79 8.03 1. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11
VP9 libvpx Encoding Speed: Speed 5 OpenBenchmarking.org Frames Per Second, More Is Better VP9 libvpx Encoding 1.8.2 Speed: Speed 5 GCC 10.1 GCC 9.3 Clang 10.0 6 12 18 24 30 SE +/- 0.06, N = 3 SE +/- 0.01, N = 3 SE +/- 0.06, N = 3 24.06 23.71 24.64 1. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2019-12-17 H.264 Video Encoding GCC 10.1 GCC 9.3 Clang 10.0 40 80 120 160 200 SE +/- 1.85, N = 3 SE +/- 0.60, N = 3 SE +/- 0.18, N = 3 188.21 190.35 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
x265 H.265 1080p Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x265 3.1.2 H.265 1080p Video Encoding GCC 10.1 GCC 9.3 Clang 10.0 13 26 39 52 65 SE +/- 0.25, N = 3 SE +/- 0.12, N = 3 SE +/- 0.21, N = 3 59.40 59.62 60.05 1. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma
GraphicsMagick Operation: Rotate OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.33 Operation: Rotate GCC 10.1 GCC 9.3 Clang 10.0 140 280 420 560 700 SE +/- 1.33, N = 3 SE +/- 1.20, N = 3 SE +/- 0.67, N = 3 630 604 606 -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
Aircrack-ng OpenBenchmarking.org k/s, More Is Better Aircrack-ng 1.5.2 GCC 10.1 GCC 9.3 Clang 10.0 40K 80K 120K 160K 200K SE +/- 991.57, N = 3 SE +/- 993.07, N = 3 SE +/- 1089.29, N = 3 185248.84 183954.51 187755.72 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 GCC 10.1 GCC 9.3 Clang 10.0 2K 4K 6K 8K 10K SE +/- 82.59, N = 9 SE +/- 94.49, N = 9 SE +/- 115.33, N = 3 8116.5 8015.9 8180.2 1. (CXX) g++ options: -O3 -march=native -rdynamic
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: Keyed Algorithms OpenBenchmarking.org MiB/second, More Is Better Crypto++ 8.2 Test: Keyed Algorithms GCC 10.1 GCC 9.3 Clang 10.0 150 300 450 600 750 SE +/- 0.44, N = 3 SE +/- 0.77, N = 3 SE +/- 4.37, N = 3 699.93 680.58 686.58 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 GCC 10.1 GCC 9.3 Clang 10.0 90 180 270 360 450 SE +/- 0.15, N = 3 SE +/- 0.26, N = 3 SE +/- 1.07, N = 3 383.55 375.98 394.62 1. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe
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 10.1 GCC 9.3 Clang 10.0 1200 2400 3600 4800 6000 SE +/- 16.95, N = 3 SE +/- 8.49, N = 3 SE +/- 3.05, N = 3 5355.62 5399.57 5127.18 1. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe
LeelaChessZero Backend: Eigen OpenBenchmarking.org Nodes Per Second, More Is Better LeelaChessZero 0.25 Backend: Eigen GCC 10.1 GCC 9.3 Clang 10.0 200 400 600 800 1000 SE +/- 12.06, N = 3 SE +/- 8.50, N = 3 SE +/- 12.88, N = 3 745 720 793 1. (CXX) g++ options: -O3 -march=native -pthread
LeelaChessZero Backend: Random OpenBenchmarking.org Nodes Per Second, More Is Better LeelaChessZero 0.25 Backend: Random GCC 10.1 GCC 9.3 Clang 10.0 30K 60K 90K 120K 150K SE +/- 50.56, N = 3 SE +/- 181.84, N = 3 SE +/- 111.65, N = 3 150085 146813 147757 1. (CXX) g++ options: -O3 -march=native -pthread
LAMMPS Molecular Dynamics Simulator Model: Rhodopsin Protein OpenBenchmarking.org ns/day, More Is Better LAMMPS Molecular Dynamics Simulator 9Jan2020 Model: Rhodopsin Protein GCC 10.1 GCC 9.3 Clang 10.0 6 12 18 24 30 SE +/- 0.02, N = 3 SE +/- 0.16, N = 3 SE +/- 0.19, N = 3 23.73 23.46 24.18 1. (CXX) g++ options: -O3 -march=native -rdynamic -ljpeg -lpng -lz -lfftw3 -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 GCC 9.3 Clang 10.0 9K 18K 27K 36K 45K SE +/- 324.34, N = 3 SE +/- 674.82, N = 3 SE +/- 643.61, N = 3 43045.00 42950.18 43033.62 1. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native
Apache Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better Apache Benchmark 2.4.29 Static Web Page Serving GCC 10.1 GCC 9.3 Clang 10.0 7K 14K 21K 28K 35K SE +/- 79.67, N = 3 SE +/- 56.97, N = 3 SE +/- 50.93, N = 3 32908.39 33015.44 32735.31 1. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native
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 10.1 GCC 9.3 Clang 10.0 200K 400K 600K 800K 1000K SE +/- 1409.13, N = 3 SE +/- 7085.28, N = 3 SE +/- 9138.66, N = 3 1128208.70 1130282.14 1126703.97 1. (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 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
Timed Apache Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed Apache Compilation 2.4.41 Time To Compile GCC 10.1 GCC 9.3 Clang 10.0 5 10 15 20 25 SE +/- 0.03, N = 3 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 19.49 19.10 22.51
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 10.1 GCC 9.3 Clang 10.0 4 8 12 16 20 SE +/- 0.10, N = 3 SE +/- 0.15, N = 3 SE +/- 0.09, N = 3 13.02 12.84 17.95
Timed LLVM Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed LLVM Compilation 10.0 Time To Compile GCC 10.1 GCC 9.3 Clang 10.0 50 100 150 200 250 SE +/- 0.39, N = 3 SE +/- 0.97, N = 3 SE +/- 0.82, N = 3 204.07 199.77 233.08
Timed MPlayer Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed MPlayer Compilation 1.4 Time To Compile GCC 10.1 GCC 9.3 Clang 10.0 6 12 18 24 30 SE +/- 0.02, N = 3 SE +/- 0.05, N = 3 SE +/- 0.07, N = 3 10.33 10.19 23.84
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 7.4.2 Time To Compile GCC 10.1 GCC 9.3 Clang 10.0 8 16 24 32 40 SE +/- 0.02, N = 3 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 33.63 31.35 34.14
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
POV-Ray Trace Time OpenBenchmarking.org Seconds, Fewer Is Better POV-Ray 3.7.0.7 Trace Time GCC 10.1 GCC 9.3 Clang 10.0 3 6 9 12 15 SE +/- 0.004, N = 3 SE +/- 0.042, N = 3 SE +/- 0.009, N = 3 9.160 8.891 8.993 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
YafaRay Total Time For Sample Scene OpenBenchmarking.org Seconds, Fewer Is Better YafaRay 3.4.1 Total Time For Sample Scene GCC 10.1 GCC 9.3 Clang 10.0 12 24 36 48 60 SE +/- 0.88, N = 3 SE +/- 0.48, N = 3 SE +/- 0.49, N = 3 51.95 52.03 50.38 1. (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 OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.2 WAV To FLAC GCC 10.1 GCC 9.3 Clang 10.0 2 4 6 8 10 SE +/- 0.017, N = 5 SE +/- 0.058, N = 5 SE +/- 0.029, N = 5 8.427 8.503 7.650 -fvisibility=hidden -fvisibility=hidden 1. (CXX) g++ options: -O3 -march=native -logg -lm
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
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
Basis Universal Settings: UASTC Level 3 OpenBenchmarking.org Seconds, Fewer Is Better Basis Universal 1.12 Settings: UASTC Level 3 GCC 10.1 GCC 9.3 Clang 10.0 4 8 12 16 20 SE +/- 0.03, N = 3 SE +/- 0.03, N = 3 SE +/- 0.00, N = 3 14.64 14.54 14.48 1. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread
CppPerformanceBenchmarks Test: Atol OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Atol GCC 10.1 GCC 9.3 Clang 10.0 13 26 39 52 65 SE +/- 0.14, N = 3 SE +/- 0.22, N = 3 SE +/- 0.21, N = 3 58.82 58.67 58.88 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Ctype OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Ctype GCC 10.1 GCC 9.3 Clang 10.0 8 16 24 32 40 SE +/- 0.28, N = 3 SE +/- 0.03, N = 3 SE +/- 0.04, N = 3 35.05 32.63 32.14 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Math Library OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Math Library GCC 10.1 GCC 9.3 Clang 10.0 60 120 180 240 300 SE +/- 0.06, N = 3 SE +/- 0.16, N = 3 SE +/- 0.36, N = 3 271.03 274.10 264.74 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Random Numbers OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Random Numbers GCC 10.1 GCC 9.3 Clang 10.0 300 600 900 1200 1500 SE +/- 1.66, N = 3 SE +/- 0.50, N = 3 SE +/- 0.19, N = 3 1104.58 1085.71 1342.74 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Stepanov Vector OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Stepanov Vector GCC 10.1 GCC 9.3 Clang 10.0 20 40 60 80 100 SE +/- 0.08, N = 3 SE +/- 0.03, N = 3 SE +/- 0.04, N = 3 77.37 78.26 67.76 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Function Objects OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Function Objects GCC 10.1 GCC 9.3 Clang 10.0 4 8 12 16 20 SE +/- 0.01, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 14.02 15.07 15.05 1. (CXX) g++ options: -O3 -march=native -std=c++11
CppPerformanceBenchmarks Test: Stepanov Abstraction OpenBenchmarking.org Seconds, Fewer Is Better CppPerformanceBenchmarks 9 Test: Stepanov Abstraction GCC 10.1 GCC 9.3 Clang 10.0 7 14 21 28 35 SE +/- 0.02, N = 3 SE +/- 0.02, N = 3 SE +/- 0.01, N = 3 28.89 28.82 26.48 1. (CXX) g++ options: -O3 -march=native -std=c++11
SQLite Speedtest Timed Time - Size 1,000 OpenBenchmarking.org Seconds, Fewer Is Better SQLite Speedtest 3.30 Timed Time - Size 1,000 GCC 10.1 GCC 9.3 Clang 10.0 14 28 42 56 70 SE +/- 0.06, N = 3 SE +/- 0.08, N = 3 SE +/- 0.13, N = 3 59.76 59.34 61.26 1. (CC) gcc options: -O3 -march=native -ldl -lz -lpthread
Phoronix Test Suite v10.8.4