GCC 10 vs. Clang 10 Benchmarks

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
Jump To Table - Results

View

Do Not Show Noisy Results
Do Not Show Results With Incomplete Data
Do Not Show Results With Little Change/Spread
List Notable Results

Limit displaying results to tests within:

Audio Encoding 2 Tests
AV1 3 Tests
C++ Boost Tests 2 Tests
Timed Code Compilation 6 Tests
C/C++ Compiler Tests 27 Tests
CPU Massive 21 Tests
Creator Workloads 14 Tests
Cryptography 2 Tests
Database Test Suite 2 Tests
Encoding 9 Tests
HPC - High Performance Computing 3 Tests
Common Kernel Benchmarks 3 Tests
Multi-Core 20 Tests
Programmer / Developer System Benchmarks 8 Tests
Python Tests 2 Tests
Raytracing 3 Tests
Renderers 3 Tests
Scientific Computing 2 Tests
Server 4 Tests
Server CPU Tests 10 Tests
Single-Threaded 4 Tests
Video Encoding 7 Tests
Common Workstation Benchmarks 2 Tests

Statistics

Show Overall Harmonic Mean(s)
Show Overall Geometric Mean
Show Geometric Means Per-Suite/Category
Show Wins / Losses Counts (Pie Chart)
Normalize Results
Remove Outliers Before Calculating Averages

Graph Settings

Force Line Graphs Where Applicable
Convert To Scalar Where Applicable
Prefer Vertical Bar Graphs

Multi-Way Comparison

Condense Multi-Option Tests Into Single Result Graphs

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
GCC 9.3
May 10 2020
  4 Hours, 53 Minutes
GCC 10.1
May 09 2020
  4 Hours, 47 Minutes
Clang 10.0
May 10 2020
  4 Hours, 52 Minutes
Invert Hiding All Results Option
  4 Hours, 50 Minutes

Only show results where is faster than
Only show results matching title/arguments (delimit multiple options with a comma):
Do not show results matching title/arguments (delimit multiple options with a comma):


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&sro.

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 Benchmarksblosc: 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 MP3aircrack-ng: pgbench: 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 ServingGCC 9.3GCC 10.1Clang 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.939183954.5101130282.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.929185248.8391128208.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.954187755.7241126703.9676796271.57916443.04014.48158.87532.139264.7351342.73867.76215.05326.48261.26343033.6232735.31OpenBenchmarking.org

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

Crypto++

Test: Keyed Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Keyed AlgorithmsClang 10.0GCC 10.1GCC 9.3150300450600750SE +/- 4.37, N = 3SE +/- 0.44, N = 3SE +/- 0.77, N = 3686.58699.93680.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 AlgorithmsClang 10.0GCC 10.1GCC 9.312002400360048006000SE +/- 3.05, N = 3SE +/- 16.95, N = 3SE +/- 8.49, N = 35127.185355.625399.571. (CXX) g++ options: -O3 -march=native -fPIC -pthread -pipe

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: RandomClang 10.0GCC 10.1GCC 9.330K60K90K120K150KSE +/- 111.65, N = 3SE +/- 50.56, N = 3SE +/- 181.84, N = 31477571500851468131. (CXX) g++ options: -O3 -march=native -pthread

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

libgav1

Video Input: Chimera 1080p

OpenBenchmarking.orgFPS, More Is Betterlibgav1 2019-10-05Video Input: Chimera 1080pClang 10.0GCC 10.1GCC 9.31224364860SE +/- 0.19, N = 3SE +/- 0.08, N = 3SE +/- 0.20, N = 352.4250.7251.641. (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

GraphicsMagick

Operation: Rotate

OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: RotateClang 10.0GCC 10.1GCC 9.3140280420560700SE +/- 0.67, N = 3SE +/- 1.33, N = 3SE +/- 1.20, N = 3606630604-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

dav1d

Video Input: Chimera 1080p

OpenBenchmarking.orgFPS, More Is Betterdav1d 0.6.0Video Input: Chimera 1080pClang 10.0GCC 10.1GCC 9.32004006008001000SE +/- 2.38, N = 3SE +/- 2.56, N = 3SE +/- 2.10, N = 3796.42799.15751.53MIN: 434.15 / MAX: 999.46MIN: 451.83 / MAX: 1010.19MIN: 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 4KClang 10.0GCC 10.1GCC 9.380160240320400SE +/- 1.15, N = 3SE +/- 0.88, N = 3SE +/- 2.31, N = 3351.87354.39348.21MIN: 119.88 / MAX: 389.52MIN: 134.58 / MAX: 390.35MIN: 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-bitClang 10.0GCC 10.1GCC 9.350100150200250SE +/- 0.40, N = 3SE +/- 0.34, N = 3SE +/- 0.50, N = 3126.13217.92218.61MIN: 87.7 / MAX: 200.75MIN: 153.98 / MAX: 349.82MIN: 155.52 / MAX: 345.611. (CC) gcc options: -O3 -march=native -pthread

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: 1080pClang 10.0GCC 10.1GCC 9.33691215SE +/- 0.11, N = 3SE +/- 0.04, N = 3SE +/- 0.09, N = 311.0111.1611.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 10.1GCC 9.380160240320400SE +/- 1.30, N = 3SE +/- 1.33, N = 3SE +/- 5.27, N = 3374.77368.71370.831. (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 1080pClang 10.0GCC 10.1GCC 9.380160240320400SE +/- 2.68, N = 3SE +/- 0.89, N = 3SE +/- 3.43, N = 3379.62372.75381.341. (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 10.1GCC 9.370140210280350SE +/- 3.09, N = 3SE +/- 2.98, N = 3SE +/- 2.26, N = 3315.52306.44308.731. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

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 EncodingClang 10.0GCC 10.1GCC 9.34080120160200SE +/- 0.18, N = 3SE +/- 1.85, N = 3SE +/- 0.60, N = 3186.74188.21190.35-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 10.1GCC 9.31326395265SE +/- 0.21, N = 3SE +/- 0.25, N = 3SE +/- 0.12, N = 360.0559.4059.621. (CXX) g++ options: -O3 -march=native -rdynamic -lpthread -lrt -ldl -lnuma

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverClang 10.0GCC 10.1GCC 9.310002000300040005000SE +/- 16.32, N = 3SE +/- 63.42, N = 3SE +/- 58.58, N = 44484.154752.804704.481. (CC) gcc options: -O3 -march=native -mavx2

Timed Apache Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed Apache Compilation 2.4.41Time To CompileClang 10.0GCC 10.1GCC 9.3510152025SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 322.5119.4919.10

Timed FFmpeg Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed FFmpeg Compilation 4.2.2Time To CompileClang 10.0GCC 10.1GCC 9.3714212835SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.12, N = 327.8019.2419.44

Timed ImageMagick Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed ImageMagick Compilation 6.9.0Time To CompileClang 10.0GCC 10.1GCC 9.348121620SE +/- 0.09, N = 3SE +/- 0.10, N = 3SE +/- 0.15, N = 317.9513.0212.84

Timed LLVM Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed LLVM Compilation 10.0Time To CompileClang 10.0GCC 10.1GCC 9.350100150200250SE +/- 0.82, N = 3SE +/- 0.39, N = 3SE +/- 0.97, N = 3233.08204.07199.77

Timed MPlayer Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MPlayer Compilation 1.4Time To CompileClang 10.0GCC 10.1GCC 9.3612182430SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.05, N = 323.8410.3310.19

Timed PHP Compilation

Time To Compile

OpenBenchmarking.orgSeconds, Fewer Is BetterTimed PHP Compilation 7.4.2Time To CompileClang 10.0GCC 10.1GCC 9.3816243240SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 334.1433.6331.35

C-Ray

Total Time - 4K, 16 Rays Per Pixel

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

POV-Ray

Trace Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.7.0.7Trace TimeClang 10.0GCC 10.1GCC 9.33691215SE +/- 0.009, N = 3SE +/- 0.004, N = 3SE +/- 0.042, N = 38.9939.1608.8911. (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.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

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

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3Clang 10.0GCC 10.1GCC 9.3246810SE +/- 0.021, N = 3SE +/- 0.010, N = 3SE +/- 0.012, N = 37.9546.9296.939-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

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

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 OnlyClang 10.0GCC 10.1GCC 9.3200K400K600K800K1000KSE +/- 9138.66, N = 3SE +/- 1409.13, N = 3SE +/- 7085.28, N = 31126703.971128208.701130282.141. (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 WriteClang 10.0GCC 10.1GCC 9.316003200480064008000SE +/- 120.69, N = 12SE +/- 12.06, N = 3SE +/- 74.02, N = 66271.587339.906401.711. (CC) gcc options: -fno-strict-aliasing -fwrapv -O3 -march=native -lpgcommon -lpgport -lpq -lpthread -lrt -lcrypt -ldl -lm

Basis Universal

Settings: ETC1S

OpenBenchmarking.orgSeconds, Fewer Is BetterBasis Universal 1.12Settings: ETC1SClang 10.0GCC 10.1GCC 9.31020304050SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 343.0441.7742.321. (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 10.1GCC 9.348121620SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 314.4814.6414.541. (CXX) g++ options: -std=c++11 -fvisibility=hidden -fPIC -fno-strict-aliasing -O3 -rdynamic -lm -lpthread

CppPerformanceBenchmarks

Test: Atol

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: AtolClang 10.0GCC 10.1GCC 9.31326395265SE +/- 0.21, N = 3SE +/- 0.14, N = 3SE +/- 0.22, N = 358.8858.8258.671. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Ctype

OpenBenchmarking.orgSeconds, Fewer Is BetterCppPerformanceBenchmarks 9Test: CtypeClang 10.0GCC 10.1GCC 9.3816243240SE +/- 0.04, N = 3SE +/- 0.28, N = 3SE +/- 0.03, N = 332.1435.0532.631. (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 NumbersClang 10.0GCC 10.1GCC 9.330060090012001500SE +/- 0.19, N = 3SE +/- 1.66, N = 3SE +/- 0.50, N = 31342.741104.581085.711. (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 ObjectsClang 10.0GCC 10.1GCC 9.348121620SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.00, N = 315.0514.0215.071. (CXX) g++ options: -O3 -march=native -std=c++11

CppPerformanceBenchmarks

Test: Stepanov Abstraction

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

SQLite Speedtest

Timed Time - Size 1,000

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite Speedtest 3.30Timed Time - Size 1,000Clang 10.0GCC 10.1GCC 9.31428425670SE +/- 0.13, N = 3SE +/- 0.06, N = 3SE +/- 0.08, N = 361.2659.7659.341. (CC) gcc options: -O3 -march=native -ldl -lz -lpthread

NGINX Benchmark

Static Web Page Serving

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

Apache Benchmark

Static Web Page Serving

OpenBenchmarking.orgRequests Per Second, More Is BetterApache Benchmark 2.4.29Static Web Page ServingClang 10.0GCC 10.1GCC 9.37K14K21K28K35KSE +/- 50.93, N = 3SE +/- 79.67, N = 3SE +/- 56.97, N = 332735.3132908.3933015.441. (CC) gcc options: -shared -fPIC -pthread -O3 -march=native


Phoronix Test Suite v10.8.4