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&sor&grt.

GCC 10 vs. Clang 10 BenchmarksProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemScreen ResolutionGCC 9.3GCC 10.1Clang 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.0OpenBenchmarking.orgEnvironment 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: 0x8301025Python Details- + Python 3.8.2Security 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 Benchmarksaircrack-ng: apache: Static Web Page Servingbasis: ETC1Sbasis: UASTC Level 3blosc: blosclzc-ray: Total Time - 4K, 16 Rays Per Pixelcpp-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 Abstractioncryptopp: Keyed Algorithmscryptopp: Unkeyed Algorithmscryptopp: Integer + Elliptic Curve Public Key Algorithmsdav1d: Chimera 1080pdav1d: Summer Nature 4Kdav1d: Summer Nature 1080pdav1d: Chimera 1080p 10-bitencode-flac: WAV To FLACgraphics-magick: Rotatehimeno: Poisson Pressure Solverencode-mp3: WAV To MP3lammps: Rhodopsin Proteinlczero: Eigenlczero: Randlibgav1: Chimera 1080plibgav1: Chimera 1080p 10-bitnginx: Static Web Page Servingpgbench: Buffer Test - Normal Load - Read Onlypgbench: Buffer Test - Normal Load - Read Writepovray: Trace Timesqlite-speedtest: Timed Time - Size 1,000svt-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 1080pbuild-apache: Time To Compilebuild-ffmpeg: Time To Compilebuild-imagemagick: Time To Compilebuild-llvm: Time To Compilebuild-mplayer: Time To Compilebuild-php: Time To Compilevpxenc: Speed 0vpxenc: Speed 5x264: H.264 Video Encodingx265: H.265 1080p Video Encodingyafaray: Total Time For Sample SceneGCC 9.3GCC 10.1Clang 10.0183954.51033015.4442.31614.5448015.99.02458.67232.632274.0961085.70578.25815.07228.819680.575620375.9820125399.565024751.53348.21822.24218.618.5036044704.4771016.93923.45572014681351.6421.4142950.181130282.1371226401.7120478.89159.3410.16911.010106.048370.83381.34308.7319.10419.44112.840199.77210.18731.3537.7923.71190.3559.6252.034185248.83932908.3941.76514.6418116.59.00858.81635.051271.0331104.57777.37414.02128.893699.932286383.5466975355.618245799.15354.39836.64217.928.4276304752.8006616.92923.72874515008550.7221.4543045.001128208.7025237339.9043789.16059.7570.17011.157109.837368.71372.75306.4419.49219.24413.021204.06910.32633.6277.9224.06188.2159.4051.950187755.72432735.3143.04014.4818180.214.67858.87532.139264.7351342.73867.76215.05326.482686.581059394.6187015127.184102796.42351.87838.32126.137.6506064484.1509917.95424.17879314775752.4223.1143033.621126703.9676796271.5791648.99361.2630.18711.009117.271374.77379.62315.5222.51227.80017.953233.08323.83934.1428.0324.64186.7460.0550.377OpenBenchmarking.org

Aircrack-ng

OpenBenchmarking.orgk/s, More Is BetterAircrack-ng 1.5.2Clang 10.0GCC 10.1GCC 9.340K80K120K160K200KSE +/- 1089.29, N = 3SE +/- 991.57, N = 3SE +/- 993.07, N = 3187755.72185248.84183954.511. (CXX) g++ options: -O3 -fvisibility=hidden -masm=intel -fcommon -rdynamic -lpthread -lz -lcrypto -lhwloc -ldl -lm -pthread

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.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 = 333015.4432908.3932735.311. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native

Basis Universal

Settings: ETC1S

OpenBenchmarking.orgSeconds, Fewer Is BetterBasis Universal 1.12Settings: ETC1SGCC 10.1GCC 9.3Clang 10.01020304050SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.03, N = 341.7742.3243.041. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread

Basis Universal

Settings: UASTC Level 3

OpenBenchmarking.orgSeconds, Fewer Is BetterBasis Universal 1.12Settings: UASTC Level 3Clang 10.0GCC 9.3GCC 10.148121620SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 314.4814.5414.641. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread

C-Blosc

Compressor: blosclz

OpenBenchmarking.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 = 98180.28116.58015.91. (CXX) g++ options: -O3 -march=native -rdynamic

C-Ray

Total Time - 4K, 16 Rays Per Pixel

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per PixelGCC 10.1GCC 9.3Clang 10.048121620SE +/- 0.026, N = 3SE +/- 0.010, N = 3SE +/- 0.070, N = 39.0089.02414.6781. (CC) gcc options: -lm -lpthread -O3 -march=native

CppPerformanceBenchmarks

Test: Atol

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: AtolGCC 9.3GCC 10.1Clang 10.01326395265SE +/- 0.22, N = 3SE +/- 0.14, N = 3SE +/- 0.21, N = 358.6758.8258.881. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Ctype

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: CtypeClang 10.0GCC 9.3GCC 10.1816243240SE +/- 0.04, N = 3SE +/- 0.03, N = 3SE +/- 0.28, N = 332.1432.6335.051. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Math Library

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Math LibraryClang 10.0GCC 10.1GCC 9.360120180240300SE +/- 0.36, N = 3SE +/- 0.06, N = 3SE +/- 0.16, N = 3264.74271.03274.101. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Random Numbers

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Random NumbersGCC 9.3GCC 10.1Clang 10.030060090012001500SE +/- 0.50, N = 3SE +/- 1.66, N = 3SE +/- 0.19, N = 31085.711104.581342.741. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Stepanov Vector

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Stepanov VectorClang 10.0GCC 10.1GCC 9.320406080100SE +/- 0.04, N = 3SE +/- 0.08, N = 3SE +/- 0.03, N = 367.7677.3778.261. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Function Objects

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Function ObjectsGCC 10.1Clang 10.0GCC 9.348121620SE +/- 0.01, N = 3SE +/- 0.00, N = 3SE +/- 0.00, N = 314.0215.0515.071. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Stepanov Abstraction

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: Stepanov AbstractionClang 10.0GCC 9.3GCC 10.1714212835SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 326.4828.8228.891. (CXX) g++ options: -O3 -march=native -std=c++11

Crypto++

Test: Keyed Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Keyed AlgorithmsGCC 10.1Clang 10.0GCC 9.3150300450600750SE +/- 0.44, N = 3SE +/- 4.37, N = 3SE +/- 0.77, N = 3699.93686.58680.581. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

Crypto++

Test: Unkeyed Algorithms

OpenBenchmarking.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 = 3394.62383.55375.981. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

Crypto++

Test: Integer + Elliptic Curve Public Key Algorithms

OpenBenchmarking.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 = 35399.575355.625127.181. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

dav1d

Video Input: Chimera 1080p

OpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Chimera 1080pGCC 10.1Clang 10.0GCC 9.32004006008001000SE +/- 2.56, N = 3SE +/- 2.38, N = 3SE +/- 2.10, N = 3799.15796.42751.53MIN: 451.83 / MAX: 1010.19MIN: 434.15 / MAX: 999.46MIN: 441.06 / MAX: 933.081. (CC) gcc options: -O3 -march=native -pthread

dav1d

Video Input: Summer Nature 4K

OpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Summer Nature 4KGCC 10.1Clang 10.0GCC 9.380160240320400SE +/- 0.88, N = 3SE +/- 1.15, N = 3SE +/- 2.31, N = 3354.39351.87348.21MIN: 134.58 / MAX: 390.35MIN: 119.88 / MAX: 389.52MIN: 121.88 / MAX: 386.221. (CC) gcc options: -O3 -march=native -pthread

dav1d

Video Input: Summer Nature 1080p

OpenBenchmarking.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 = 3838.32836.64822.24MIN: 266.91 / MAX: 960.61MIN: 283.13 / MAX: 957.89MIN: 264.08 / MAX: 940.761. (CC) gcc options: -O3 -march=native -pthread

dav1d

Video Input: Chimera 1080p 10-bit

OpenBenchmarking.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 = 3218.61217.92126.13MIN: 155.52 / MAX: 345.61MIN: 153.98 / MAX: 349.82MIN: 87.7 / MAX: 200.751. (CC) gcc options: -O3 -march=native -pthread

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.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 = 57.6508.4278.503-fvisibility=hidden-fvisibility=hidden1. (CXX) g++ options: -O3 -march=native -logg -lm

GraphicsMagick

Operation: Rotate

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: RotateGCC 10.1Clang 10.0GCC 9.3140280420560700SE +/- 1.33, N = 3SE +/- 0.67, N = 3SE +/- 1.20, N = 3630606604-fopenmp-fopenmp1. (CC) gcc options: -O3 -march=native -pthread -ljbig -lwebp -lwebpmux -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lpthread

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverGCC 10.1GCC 9.3Clang 10.010002000300040005000SE +/- 63.42, N = 3SE +/- 58.58, N = 4SE +/- 16.32, N = 34752.804704.484484.151. (CC) gcc options: -O3 -march=native -mavx2

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3GCC 10.1GCC 9.3Clang 10.0246810SE +/- 0.010, N = 3SE +/- 0.012, N = 3SE +/- 0.021, N = 36.9296.9397.954-ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr-ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr1. (CC) gcc options: -O3 -pipe -march=native -lncurses -lm

LAMMPS Molecular Dynamics Simulator

Model: Rhodopsin Protein

OpenBenchmarking.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 = 324.1823.7323.461. (CXX) g++ options: -O3 -march=native -rdynamic -ljpeg -lpng -lz -lfftw3 -lm

LeelaChessZero

Backend: Eigen

OpenBenchmarking.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 = 37937457201. (CXX) g++ options: -O3 -march=native -pthread

LeelaChessZero

Backend: Random

OpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.25Backend: RandomGCC 10.1Clang 10.0GCC 9.330K60K90K120K150KSE +/- 50.56, N = 3SE +/- 111.65, N = 3SE +/- 181.84, N = 31500851477571468131. (CXX) g++ options: -O3 -march=native -pthread

libgav1

Video Input: Chimera 1080p

OpenBenchmarking.orgFPS, More Is Betterlibgav1 2019-10-05Video Input: Chimera 1080pClang 10.0GCC 9.3GCC 10.11224364860SE +/- 0.19, N = 3SE +/- 0.20, N = 3SE +/- 0.08, N = 352.4251.6450.721. (CXX) g++ options: -O3 -march=native -lpthread

libgav1

Video Input: Chimera 1080p 10-bit

OpenBenchmarking.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 = 323.1121.4521.411. (CXX) g++ options: -O3 -march=native -lpthread

NGINX Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterNGINX Benchmark 1.9.9Static Web Page ServingGCC 10.1Clang 10.0GCC 9.39K18K27K36K45KSE +/- 324.34, N = 3SE +/- 643.61, N = 3SE +/- 674.82, N = 343045.0043033.6242950.181. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -O3 -march=native

PostgreSQL pgbench

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

OpenBenchmarking.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 = 31130282.141128208.701126703.971. (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.orgTPS, More Is BetterPostgreSQL pgbench 12.0Scaling: Buffer Test - Test: Normal Load - Mode: Read WriteGCC 10.1GCC 9.3Clang 10.016003200480064008000SE +/- 12.06, N = 3SE +/- 74.02, N = 6SE +/- 120.69, N = 127339.906401.716271.581. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

POV-Ray

Trace Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.7.0.7Trace TimeGCC 9.3Clang 10.0GCC 10.13691215SE +/- 0.042, N = 3SE +/- 0.009, N = 3SE +/- 0.004, N = 38.8918.9939.1601. (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

SQLite Speedtest

Timed Time - Size 1,000

OpenBenchmarking.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 = 359.3459.7661.261. (CC) gcc options: -O3 -march=native -ldl -lz -lpthread

SVT-AV1

Encoder Mode: Enc Mode 0 - Input: 1080p

OpenBenchmarking.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 = 30.1870.1700.1691. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie

SVT-AV1

Encoder Mode: Enc Mode 4 - Input: 1080p

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-AV1 0.8Encoder Mode: Enc Mode 4 - Input: 1080pGCC 10.1GCC 9.3Clang 10.03691215SE +/- 0.04, N = 3SE +/- 0.09, N = 3SE +/- 0.11, N = 311.1611.0111.011. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie

SVT-AV1

Encoder Mode: Enc Mode 8 - Input: 1080p

OpenBenchmarking.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 = 3117.27109.84106.051. (CXX) g++ options: -O3 -fcommon -fPIE -fPIC -pie

SVT-VP9

Tuning: VMAF Optimized - Input: Bosphorus 1080p

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.1Tuning: VMAF Optimized - Input: Bosphorus 1080pClang 10.0GCC 9.3GCC 10.180160240320400SE +/- 1.30, N = 3SE +/- 5.27, N = 3SE +/- 1.33, N = 3374.77370.83368.711. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-VP9

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

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.1Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080pGCC 9.3Clang 10.0GCC 10.180160240320400SE +/- 3.43, N = 3SE +/- 2.68, N = 3SE +/- 0.89, N = 3381.34379.62372.751. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-VP9

Tuning: Visual Quality Optimized - Input: Bosphorus 1080p

OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.1Tuning: Visual Quality Optimized - Input: Bosphorus 1080pClang 10.0GCC 9.3GCC 10.170140210280350SE +/- 3.09, N = 3SE +/- 2.26, N = 3SE +/- 2.98, N = 3315.52308.73306.441. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

Timed Apache Compilation

Time To Compile

OpenBenchmarking.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 = 319.1019.4922.51

Timed FFmpeg Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed FFmpeg Compilation 4.2.2Time To CompileGCC 10.1GCC 9.3Clang 10.0714212835SE +/- 0.03, N = 3SE +/- 0.12, N = 3SE +/- 0.03, N = 319.2419.4427.80

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileGCC 9.3GCC 10.1Clang 10.048121620SE +/- 0.15, N = 3SE +/- 0.10, N = 3SE +/- 0.09, N = 312.8413.0217.95

Timed LLVM Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed LLVM Compilation 10.0Time To CompileGCC 9.3GCC 10.1Clang 10.050100150200250SE +/- 0.97, N = 3SE +/- 0.39, N = 3SE +/- 0.82, N = 3199.77204.07233.08

Timed MPlayer Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MPlayer Compilation 1.4Time To CompileGCC 9.3GCC 10.1Clang 10.0612182430SE +/- 0.05, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 310.1910.3323.84

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 7.4.2Time To CompileGCC 9.3GCC 10.1Clang 10.0816243240SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 331.3533.6334.14

VP9 libvpx Encoding

Speed: Speed 0

OpenBenchmarking.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 = 38.037.927.791. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11

VP9 libvpx Encoding

Speed: Speed 5

OpenBenchmarking.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 = 324.6424.0623.711. (CXX) g++ options: -m64 -lm -lpthread -O3 -march=native -fPIC -U_FORTIFY_SOURCE -std=c++11

x264

H.264 Video Encoding

OpenBenchmarking.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 = 3190.35188.21186.74-mstack-alignment=641. (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.orgFrames Per Second, More Is Betterx265 3.1.2H.265 1080p Video EncodingClang 10.0GCC 9.3GCC 10.11326395265SE +/- 0.21, N = 3SE +/- 0.12, N = 3SE +/- 0.25, N = 360.0559.6259.401. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma

YafaRay

Total Time For Sample Scene

OpenBenchmarking.orgSeconds, Fewer Is BetterYafaRay 3.4.1Total Time For Sample SceneClang 10.0GCC 10.1GCC 9.31224364860SE +/- 0.49, N = 3SE +/- 0.88, N = 3SE +/- 0.48, N = 350.3851.9552.031. (CXX) g++ options: -std=c++11 -O3 -ffast-math -rdynamic -ldl -lImath -lIlmImf -lIex -lHalf -lz -lIlmThread -lxml2 -lfreetype -lpthread


Phoronix Test Suite v10.8.4