Ryzen 9 5950X Clang 12 vs. GCC 11 Benchmarks

GCC 11.1 versus LLVM Clang 12 on AMD Ryzen 9 5950X. Benchmarks by Michael Larabel for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2105198-IB-11900KCOM08&grr&rdt.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionClang 12GCC 11.1 -O2 -O3 -march=native -O3 -march=native -flto -O3 -march=native -flto -O3 -march=native -O2AMD Ryzen 9 5950X 16-Core @ 3.40GHz (16 Cores / 32 Threads)ASUS ROG CROSSHAIR VIII HERO (WI-FI) (3302 BIOS)AMD Starship/Matisse32GB500GB Western Digital WDS500G3X0C-00SJG0AMD Radeon RX 5600 OEM/5600 XT / 5700/5700 8GB (2100/875MHz)AMD Navi 10 HDMI AudioASUS MG28URealtek RTL8125 2.5GbE + Intel I211 + Intel Wi-Fi 6 AX200Fedora 345.11.20-300.fc34.x86_64 (x86_64)GNOME Shell 40.1X Server + Wayland4.6 Mesa 21.0.3 (LLVM 12.0.0)Clang 12.0.0btrfs3840x2160GCC 11.1.1 20210428 + Clang 12.0.0OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseEnvironment Details- Clang 12: -O2: CXXFLAGS=-O2 CFLAGS=-O2- Clang 12: -O3 -march=native: CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native"- Clang 12: -O3 -march=native -flto: CXXFLAGS="-O3 -march=native -flto" CFLAGS="-O3 -march=native -flto"- GCC 11.1: -O3 -march=native -flto: CXXFLAGS="-O3 -march=native -flto" CFLAGS="-O3 -march=native -flto"- GCC 11.1: -O3 -march=native: CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native"- GCC 11.1: -O2: CXXFLAGS=-O2 CFLAGS=-O2Processor Details- Scaling Governor: acpi-cpufreq schedutil (Boost: Enabled) - CPU Microcode: 0xa201009Security Details- SELinux + 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 IBRS_FW STIBP: always-on RSB filling + srbds: Not affected + tsx_async_abort: Not affected Compiler Details- GCC 11.1: -O3 -march=native -flto, GCC 11.1: -O3 -march=native, GCC 11.1: -O2: --build=x86_64-redhat-linux --disable-libunwind-exceptions --enable-__cxa_atexit --enable-bootstrap --enable-cet --enable-checking=release --enable-gnu-indirect-function --enable-gnu-unique-object --enable-initfini-array --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --enable-multilib --enable-offload-targets=nvptx-none --enable-plugin --enable-shared --enable-threads=posix --mandir=/usr/share/man --with-arch_32=i686 --with-gcc-major-version-only --with-linker-hash-style=gnu --with-tune=generic --without-cuda-driver

himeno: Poisson Pressure Solverncnn: CPU - yolov4-tinyncnn: CPU - blazefacencnn: CPU - shufflenet-v2ncnn: CPU - regnety_400mncnn: CPU - squeezenet_ssdncnn: CPU - resnet50ncnn: CPU - alexnetncnn: CPU - resnet18ncnn: CPU - vgg16ncnn: CPU - googlenetncnn: CPU - efficientnet-b0ncnn: CPU - mnasnetncnn: CPU-v3-v3 - mobilenet-v3ncnn: CPU-v2-v2 - mobilenet-v2ncnn: CPU - mobilenetpjsip: INVITEhmmer: Pfam Database Searchmrbayes: Primate Phylogeny Analysispjsip: OPTIONS, Statefulgraphics-magick: Sharpengraphics-magick: Enhancedgraphics-magick: Resizinggraphics-magick: Rotateastcenc: Exhaustivesqlite-speedtest: Timed Time - Size 1,000c-ray: Total Time - 4K, 16 Rays Per Pixelaobench: 2048 x 2048 - Total Timewebp: Quality 100, Lossless, Highest Compressioncoremark: CoreMark Size 666 - Iterations Per Secondtjbench: Decompression Throughputx265: Bosphorus 4Kliquid-dsp: 16 - 256 - 57liquid-dsp: 8 - 256 - 57tnn: CPU - MobileNet v2tnn: CPU - SqueezeNet v1.1webp: Quality 100, Losslesspjsip: OPTIONS, Statelessastcenc: Thoroughencode-flac: WAV To FLACencode-opus: WAV To Opus Encodeencode-mp3: WAV To MP3lammps: Rhodopsin Proteinwebp: Quality 100, Highest Compressionastcenc: Mediumsvt-hevc: 7 - Bosphorus 1080psvt-vp9: Visual Quality Optimized - Bosphorus 1080psvt-vp9: VMAF Optimized - Bosphorus 1080psvt-vp9: PSNR/SSIM Optimized - Bosphorus 1080psvt-hevc: 10 - Bosphorus 1080pClang 12GCC 11.1 -O2 -O3 -march=native -O3 -march=native -flto -O3 -march=native -flto -O3 -march=native -O24877.30641021.971.543.8112.9312.6122.9911.0914.0557.2611.884.523.263.363.5611.58457596.09293.5297942206411169392152.204847.79249.27533.77829.119712758.357826267.55306827.771056400000576660000271.028208.55513.6472211079.39507.6875.8746.56513.0874.7783.3367225.15225.57231.35235.64368.555192.19004221.731.523.7412.5912.3523.2511.1613.9056.9311.774.513.263.073.5711.46470895.21490.7857958235452176798151.823047.63045.01030.23428.640722694.006275272.51355927.751061900000576050000355.925215.78114.1052225729.35495.6665.5086.09813.2994.7033.3179229.27227.73234.71239.88375.955289.91757121.581.463.6912.1412.4322.9011.2513.8656.1111.624.303.082.933.4211.0593.31192.405237451176296151.897448.58444.74229.73027.400714933.858983266.22982928.471073466667587800000261.836207.92513.6369.44325.7565.5585.81013.3424.7223.3728236.05227.66232.66238.13375.085445.63522123.942.556.0118.5314.5025.8411.1314.8057.8413.265.363.923.864.4613.74461697.71493.3377916382449208596456.190046.47925.48226.31227.949849671.959442270.90915026.171093266667619393333215.341202.57213.2542225817.52996.1955.4755.40312.8135.1844.6995227.04222.33230.43234.70368.555314.73390421.001.804.3917.1813.9325.3310.9914.3357.6112.855.373.953.844.4312.70467197.74492.97379823704492120103656.641146.91725.40525.47928.327808580.862650268.11345625.911085000000611560000227.768214.27713.5502217597.57186.2375.3875.50312.7495.2004.6277221.71223.11231.16235.59369.545120.94026221.061.854.3317.2414.6126.1811.1614.5056.8213.155.413.974.154.5412.95481599.72296.7857860226422180398557.144547.40460.93131.73227.424830811.532116277.49680226.241041200000594850000219.130208.78013.1812305997.68415.8746.5156.80212.8555.3554.6296217.32222.63230.53235.27365.79OpenBenchmarking.org

Himeno Benchmark

Poisson Pressure Solver

Clang 12GCC 11.1OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O2-O3 -march=native-O3 -march=native -flto12002400360048006000SE +/- 62.44, N = 15SE +/- 66.92, N = 15SE +/- 96.57, N = 13SE +/- 68.97, N = 15SE +/- 90.91, N = 15SE +/- 83.12, N = 154877.315192.195289.925445.645314.735120.941. (CC) gcc options: -O3 -mavx2

NCNN

Target: CPU - Model: yolov4-tiny

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: yolov4-tiny-O2-O3 -march=native-O3 -march=native -flto612182430SE +/- 0.18, N = 3SE +/- 0.12, N = 3SE +/- 0.10, N = 3SE +/- 0.41, N = 3SE +/- 0.14, N = 15SE +/- 0.11, N = 1521.9721.7321.5823.9421.0021.061. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: blazeface

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: blazeface-O2-O3 -march=native-O3 -march=native -flto0.57381.14761.72142.29522.869SE +/- 0.04, N = 3SE +/- 0.04, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 15SE +/- 0.01, N = 151.541.521.462.551.801.851. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: shufflenet-v2

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: shufflenet-v2-O2-O3 -march=native-O3 -march=native -flto246810SE +/- 0.05, N = 3SE +/- 0.05, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.15, N = 15SE +/- 0.01, N = 143.813.743.696.014.394.331. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: regnety_400m

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: regnety_400m-O2-O3 -march=native-O3 -march=native -flto510152025SE +/- 0.20, N = 3SE +/- 0.16, N = 3SE +/- 0.14, N = 3SE +/- 0.09, N = 3SE +/- 0.05, N = 15SE +/- 0.06, N = 1512.9312.5912.1418.5317.1817.241. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: squeezenet_ssd

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: squeezenet_ssd-O2-O3 -march=native-O3 -march=native -flto48121620SE +/- 0.31, N = 3SE +/- 0.20, N = 3SE +/- 0.20, N = 3SE +/- 0.06, N = 3SE +/- 0.09, N = 15SE +/- 0.10, N = 1512.6112.3512.4314.5013.9314.611. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: resnet50

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: resnet50-O2-O3 -march=native-O3 -march=native -flto612182430SE +/- 0.11, N = 3SE +/- 0.06, N = 3SE +/- 0.09, N = 3SE +/- 0.21, N = 3SE +/- 0.10, N = 15SE +/- 0.18, N = 1522.9923.2522.9025.8425.3326.181. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: alexnet

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: alexnet-O2-O3 -march=native-O3 -march=native -flto3691215SE +/- 0.03, N = 3SE +/- 0.05, N = 3SE +/- 0.10, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 15SE +/- 0.06, N = 1511.0911.1611.2511.1310.9911.161. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: resnet18

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: resnet18-O2-O3 -march=native-O3 -march=native -flto48121620SE +/- 0.23, N = 3SE +/- 0.13, N = 3SE +/- 0.13, N = 3SE +/- 0.22, N = 3SE +/- 0.09, N = 15SE +/- 0.11, N = 1514.0513.9013.8614.8014.3314.501. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: vgg16

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: vgg16-O2-O3 -march=native-O3 -march=native -flto1326395265SE +/- 0.08, N = 3SE +/- 0.53, N = 3SE +/- 0.45, N = 3SE +/- 0.23, N = 3SE +/- 0.08, N = 15SE +/- 0.08, N = 1557.2656.9356.1157.8457.6156.821. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: googlenet

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: googlenet-O2-O3 -march=native-O3 -march=native -flto3691215SE +/- 0.13, N = 3SE +/- 0.16, N = 3SE +/- 0.09, N = 3SE +/- 0.44, N = 3SE +/- 0.12, N = 15SE +/- 0.22, N = 1511.8811.7711.6213.2612.8513.151. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: efficientnet-b0

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: efficientnet-b0-O2-O3 -march=native-O3 -march=native -flto1.21732.43463.65194.86926.0865SE +/- 0.06, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 15SE +/- 0.05, N = 154.524.514.305.365.375.411. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: mnasnet

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: mnasnet-O2-O3 -march=native-O3 -march=native -flto0.89331.78662.67993.57324.4665SE +/- 0.08, N = 3SE +/- 0.05, N = 3SE +/- 0.04, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 15SE +/- 0.04, N = 153.263.263.083.923.953.971. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU-v3-v3 - Model: mobilenet-v3

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU-v3-v3 - Model: mobilenet-v3-O2-O3 -march=native-O3 -march=native -flto0.93381.86762.80143.73524.669SE +/- 0.07, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 15SE +/- 0.03, N = 153.363.072.933.863.844.151. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU-v2-v2 - Model: mobilenet-v2

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU-v2-v2 - Model: mobilenet-v2-O2-O3 -march=native-O3 -march=native -flto1.02152.0433.06454.0865.1075SE +/- 0.11, N = 3SE +/- 0.04, N = 3SE +/- 0.08, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 15SE +/- 0.04, N = 153.563.573.424.464.434.541. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: mobilenet

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: mobilenet-O2-O3 -march=native-O3 -march=native -flto48121620SE +/- 0.03, N = 3SE +/- 0.11, N = 3SE +/- 0.12, N = 3SE +/- 0.17, N = 3SE +/- 0.13, N = 15SE +/- 0.11, N = 1511.5811.4611.0513.7412.7012.951. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

PJSIP

Method: INVITE

Clang 12GCC 11.1OpenBenchmarking.orgResponses Per Second, More Is BetterPJSIP 2.11Method: INVITE-O2-O3 -march=native-O3 -march=native -flto10002000300040005000SE +/- 42.78, N = 3SE +/- 66.36, N = 3SE +/- 65.77, N = 3SE +/- 32.67, N = 15SE +/- 16.33, N = 3457547084616467148151. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

Timed HMMer Search

Pfam Database Search

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 3.3.2Pfam Database Search-O2-O3 -march=native-O3 -march=native -flto20406080100SE +/- 0.08, N = 3SE +/- 0.11, N = 3SE +/- 0.08, N = 3SE +/- 0.08, N = 3SE +/- 0.04, N = 3SE +/- 0.04, N = 396.0995.2193.3197.7197.7499.721. (CC) gcc options: -pthread -lhmmer -leasel -lm -lmpi

Timed MrBayes Analysis

Primate Phylogeny Analysis

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterTimed MrBayes Analysis 3.2.7Primate Phylogeny Analysis-O2-O3 -march=native-O3 -march=native -flto20406080100SE +/- 0.21, N = 3SE +/- 0.18, N = 3SE +/- 0.19, N = 3SE +/- 0.13, N = 3SE +/- 0.29, N = 3SE +/- 0.13, N = 393.5390.7992.4193.3492.9796.791. (CC) gcc options: -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4a -msha -maes -mavx -mfma -mavx2 -mrdrnd -mbmi -mbmi2 -madx -mabm -O3 -std=c99 -pedantic -lm

PJSIP

Method: OPTIONS, Stateful

Clang 12GCC 11.1OpenBenchmarking.orgResponses Per Second, More Is BetterPJSIP 2.11Method: OPTIONS, Stateful-O2-O3 -march=native-O3 -march=native -flto2K4K6K8K10KSE +/- 27.78, N = 3SE +/- 47.54, N = 3SE +/- 56.75, N = 3SE +/- 21.79, N = 3SE +/- 72.34, N = 3794279587916798278601. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

GraphicsMagick

Operation: Sharpen

Clang 12GCC 11.1OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Sharpen-O2-O3 -march=native-O3 -march=native -flto80160240320400SE +/- 0.58, N = 3SE +/- 0.33, N = 3SE +/- 0.67, N = 3SE +/- 0.88, N = 3SE +/- 1.20, N = 3SE +/- 0.33, N = 32062352373823702261. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

GraphicsMagick

Operation: Enhanced

Clang 12GCC 11.1OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Enhanced-O2-O3 -march=native-O3 -march=native -flto100200300400500SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 3SE +/- 0.33, N = 34114524514494494221. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

GraphicsMagick

Operation: Resizing

Clang 12GCC 11.1OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Resizing-O2-O3 -march=native-O3 -march=native -flto5001000150020002500SE +/- 4.48, N = 3SE +/- 3.61, N = 3SE +/- 2.85, N = 3SE +/- 3.71, N = 3SE +/- 1.53, N = 3SE +/- 0.88, N = 31693176717622085212018031. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

GraphicsMagick

Operation: Rotate

Clang 12GCC 11.1OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Rotate-O2-O3 -march=native-O3 -march=native -flto2004006008001000SE +/- 5.55, N = 3SE +/- 0.58, N = 3SE +/- 4.37, N = 3SE +/- 3.48, N = 3SE +/- 5.57, N = 3SE +/- 11.70, N = 392198196196410369851. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

ASTC Encoder

Preset: Exhaustive

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterASTC Encoder 2.4Preset: Exhaustive-O2-O3 -march=native-O3 -march=native -flto1326395265SE +/- 0.11, N = 3SE +/- 0.11, N = 3SE +/- 0.07, N = 3SE +/- 0.10, N = 3SE +/- 0.08, N = 3SE +/- 0.09, N = 352.2051.8251.9056.1956.6457.141. (CXX) g++ options: -O2 -flto -pthread

SQLite Speedtest

Timed Time - Size 1,000

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite Speedtest 3.30Timed Time - Size 1,000-O2-O3 -march=native-O3 -march=native -flto1122334455SE +/- 0.13, N = 3SE +/- 0.50, N = 3SE +/- 0.18, N = 3SE +/- 0.54, N = 3SE +/- 0.16, N = 3SE +/- 0.02, N = 347.7947.6348.5846.4846.9247.401. (CC) gcc options: -ldl -lz -lpthread

C-Ray

Total Time - 4K, 16 Rays Per Pixel

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per Pixel-O2-O3 -march=native-O3 -march=native -flto1428425670SE +/- 0.16, N = 3SE +/- 0.10, N = 3SE +/- 0.17, N = 3SE +/- 0.08, N = 3SE +/- 0.08, N = 3SE +/- 0.18, N = 349.2845.0144.7425.4825.4160.931. (CC) gcc options: -lm -lpthread -O3

AOBench

Size: 2048 x 2048 - Total Time

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterAOBenchSize: 2048 x 2048 - Total Time-O2-O3 -march=native-O3 -march=native -flto816243240SE +/- 0.04, N = 3SE +/- 0.43, N = 3SE +/- 0.09, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.14, N = 333.7830.2329.7326.3125.4831.731. (CC) gcc options: -lm -O3

WebP Image Encode

Encode Settings: Quality 100, Lossless, Highest Compression

Clang 12GCC 11.1OpenBenchmarking.orgEncode Time - Seconds, Fewer Is BetterWebP Image Encode 1.1Encode Settings: Quality 100, Lossless, Highest Compression-O2-O3 -march=native-O3 -march=native -flto714212835SE +/- 0.13, N = 3SE +/- 0.05, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 3SE +/- 0.02, N = 3SE +/- 0.03, N = 329.1228.6427.4027.9528.3327.421. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

Coremark

CoreMark Size 666 - Iterations Per Second

Clang 12GCC 11.1OpenBenchmarking.orgIterations/Sec, More Is BetterCoremark 1.0CoreMark Size 666 - Iterations Per Second-O2-O3 -march=native-O3 -march=native -flto200K400K600K800K1000KSE +/- 789.22, N = 3SE +/- 845.83, N = 3SE +/- 581.76, N = 3SE +/- 836.68, N = 3SE +/- 2230.96, N = 3SE +/- 989.68, N = 3712758.36722694.01714933.86849671.96808580.86830811.531. (CC) gcc options: -O2 -lrt" -lrt

libjpeg-turbo tjbench

Test: Decompression Throughput

Clang 12GCC 11.1OpenBenchmarking.orgMegapixels/sec, More Is Betterlibjpeg-turbo tjbench 2.1.0Test: Decompression Throughput-O2-O3 -march=native-O3 -march=native -flto60120180240300SE +/- 1.65, N = 3SE +/- 0.59, N = 3SE +/- 0.54, N = 3SE +/- 0.45, N = 3SE +/- 1.27, N = 3SE +/- 1.92, N = 3267.55272.51266.23270.91268.11277.501. (CC) gcc options: -O3 -rdynamic

x265

Video Input: Bosphorus 4K

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is Betterx265 3.4Video Input: Bosphorus 4K-O2-O3 -march=native-O3 -march=native -flto714212835SE +/- 0.12, N = 3SE +/- 0.04, N = 3SE +/- 0.10, N = 3SE +/- 0.09, N = 3SE +/- 0.04, N = 3SE +/- 0.06, N = 327.7727.7528.4726.1725.9126.241. (CXX) g++ options: -O2 -rdynamic -lpthread -lrt -ldl

Liquid-DSP

Threads: 16 - Buffer Length: 256 - Filter Length: 57

Clang 12GCC 11.1OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 16 - Buffer Length: 256 - Filter Length: 57-O2-O3 -march=native-O3 -march=native -flto200M400M600M800M1000MSE +/- 2690724.81, N = 3SE +/- 493288.29, N = 3SE +/- 3219903.38, N = 3SE +/- 783865.07, N = 3SE +/- 1252996.41, N = 3SE +/- 4650806.38, N = 31056400000106190000010734666671093266667108500000010412000001. (CC) gcc options: -O3 -pthread -lm -lc -lliquid

Liquid-DSP

Threads: 8 - Buffer Length: 256 - Filter Length: 57

Clang 12GCC 11.1OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 8 - Buffer Length: 256 - Filter Length: 57-O2-O3 -march=native-O3 -march=native -flto130M260M390M520M650MSE +/- 1824399.44, N = 3SE +/- 4072558.57, N = 3SE +/- 1855020.22, N = 3SE +/- 1343755.10, N = 3SE +/- 4455270.29, N = 3SE +/- 185202.59, N = 35766600005760500005878000006193933336115600005948500001. (CC) gcc options: -O3 -pthread -lm -lc -lliquid

TNN

Target: CPU - Model: MobileNet v2

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterTNN 0.2.3Target: CPU - Model: MobileNet v2-O2-O3 -march=native-O3 -march=native -flto80160240320400SE +/- 0.41, N = 3SE +/- 0.48, N = 3SE +/- 0.55, N = 3SE +/- 1.27, N = 3SE +/- 0.86, N = 3SE +/- 1.57, N = 3271.03355.93261.84215.34227.77219.131. (CXX) g++ options: -O2 -fopenmp -pthread -fvisibility=hidden -rdynamic -ldl

TNN

Target: CPU - Model: SqueezeNet v1.1

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterTNN 0.2.3Target: CPU - Model: SqueezeNet v1.1-O2-O3 -march=native-O3 -march=native -flto50100150200250SE +/- 0.23, N = 3SE +/- 0.69, N = 3SE +/- 0.41, N = 3SE +/- 0.11, N = 3SE +/- 0.50, N = 3SE +/- 0.08, N = 3208.56215.78207.93202.57214.28208.781. (CXX) g++ options: -O2 -fopenmp -pthread -fvisibility=hidden -rdynamic -ldl

WebP Image Encode

Encode Settings: Quality 100, Lossless

Clang 12GCC 11.1OpenBenchmarking.orgEncode Time - Seconds, Fewer Is BetterWebP Image Encode 1.1Encode Settings: Quality 100, Lossless-O2-O3 -march=native-O3 -march=native -flto48121620SE +/- 0.19, N = 3SE +/- 0.05, N = 3SE +/- 0.15, N = 4SE +/- 0.17, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 313.6514.1113.6413.2513.5513.181. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

PJSIP

Method: OPTIONS, Stateless

Clang 12GCC 11.1OpenBenchmarking.orgResponses Per Second, More Is BetterPJSIP 2.11Method: OPTIONS, Stateless-O2-O3 -march=native-O3 -march=native -flto50K100K150K200K250KSE +/- 1827.48, N = 3SE +/- 962.04, N = 3SE +/- 705.50, N = 3SE +/- 1749.48, N = 3SE +/- 586.86, N = 32211072225722225812217592305991. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

ASTC Encoder

Preset: Thorough

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterASTC Encoder 2.4Preset: Thorough-O2-O3 -march=native-O3 -march=native -flto3691215SE +/- 0.0279, N = 3SE +/- 0.0407, N = 3SE +/- 0.0114, N = 3SE +/- 0.0109, N = 3SE +/- 0.0351, N = 3SE +/- 0.0109, N = 39.39509.35499.44327.52997.57187.68411. (CXX) g++ options: -O2 -flto -pthread

FLAC Audio Encoding

WAV To FLAC

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLAC-O2-O3 -march=native-O3 -march=native -flto246810SE +/- 0.024, N = 5SE +/- 0.005, N = 5SE +/- 0.030, N = 5SE +/- 0.036, N = 5SE +/- 0.020, N = 5SE +/- 0.045, N = 57.6875.6665.7566.1956.2375.8741. (CXX) g++ options: -fvisibility=hidden -logg -lm

Opus Codec Encoding

WAV To Opus Encode

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterOpus Codec Encoding 1.3.1WAV To Opus Encode-O2-O3 -march=native-O3 -march=native -flto246810SE +/- 0.052, N = 5SE +/- 0.045, N = 5SE +/- 0.016, N = 5SE +/- 0.023, N = 5SE +/- 0.048, N = 5SE +/- 0.035, N = 55.8745.5085.5585.4755.3876.5151. (CXX) g++ options: -fvisibility=hidden -logg -lm

LAME MP3 Encoding

WAV To MP3

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3-O2-O3 -march=native-O3 -march=native -flto246810SE +/- 0.068, N = 4SE +/- 0.045, N = 3SE +/- 0.056, N = 3SE +/- 0.010, N = 3SE +/- 0.071, N = 3SE +/- 0.084, N = 36.5656.0985.8105.4035.5036.8021. (CC) gcc options: -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -lm

LAMMPS Molecular Dynamics Simulator

Model: Rhodopsin Protein

Clang 12GCC 11.1OpenBenchmarking.orgns/day, More Is BetterLAMMPS Molecular Dynamics Simulator 29Oct2020Model: Rhodopsin Protein-O2-O3 -march=native-O3 -march=native -flto3691215SE +/- 0.08, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.09, N = 15SE +/- 0.14, N = 4SE +/- 0.11, N = 813.0913.3013.3412.8112.7512.861. (CXX) g++ options: -O2 -pthread -lm

WebP Image Encode

Encode Settings: Quality 100, Highest Compression

Clang 12GCC 11.1OpenBenchmarking.orgEncode Time - Seconds, Fewer Is BetterWebP Image Encode 1.1Encode Settings: Quality 100, Highest Compression-O2-O3 -march=native-O3 -march=native -flto1.20492.40983.61474.81966.0245SE +/- 0.059, N = 4SE +/- 0.026, N = 3SE +/- 0.027, N = 3SE +/- 0.036, N = 3SE +/- 0.023, N = 3SE +/- 0.021, N = 34.7784.7034.7225.1845.2005.3551. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

ASTC Encoder

Preset: Medium

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterASTC Encoder 2.4Preset: Medium-O2-O3 -march=native-O3 -march=native -flto1.05742.11483.17224.22965.287SE +/- 0.0156, N = 3SE +/- 0.0243, N = 3SE +/- 0.0302, N = 3SE +/- 0.0045, N = 3SE +/- 0.0292, N = 3SE +/- 0.0337, N = 33.33673.31793.37284.69954.62774.62961. (CXX) g++ options: -O2 -flto -pthread

SVT-HEVC

Tuning: 7 - Input: Bosphorus 1080p

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-HEVC 1.5.0Tuning: 7 - Input: Bosphorus 1080p-O2-O3 -march=native-O3 -march=native -flto50100150200250SE +/- 0.95, N = 3SE +/- 0.32, N = 3SE +/- 1.15, N = 3SE +/- 0.03, N = 3SE +/- 0.83, N = 3SE +/- 0.49, N = 3225.15229.27236.05227.04221.71217.321. (CC) gcc options: -O2 -fPIE -fPIC -O3 -pie -rdynamic -lpthread -lrt

SVT-VP9

Tuning: Visual Quality Optimized - Input: Bosphorus 1080p

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.3Tuning: Visual Quality Optimized - Input: Bosphorus 1080p-O2-O3 -march=native-O3 -march=native -flto50100150200250SE +/- 1.28, N = 3SE +/- 0.75, N = 3SE +/- 0.89, N = 3SE +/- 0.97, N = 3SE +/- 0.87, N = 3SE +/- 0.82, N = 3225.57227.73227.66222.33223.11222.631. (CC) gcc options: -O3 -fcommon -O2 -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-VP9

Tuning: VMAF Optimized - Input: Bosphorus 1080p

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.3Tuning: VMAF Optimized - Input: Bosphorus 1080p-O2-O3 -march=native-O3 -march=native -flto50100150200250SE +/- 0.33, N = 3SE +/- 0.32, N = 3SE +/- 0.70, N = 3SE +/- 0.18, N = 3SE +/- 0.46, N = 3SE +/- 0.09, N = 3231.35234.71232.66230.43231.16230.531. (CC) gcc options: -O3 -fcommon -O2 -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-VP9

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

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-VP9 0.3Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080p-O2-O3 -march=native-O3 -march=native -flto50100150200250SE +/- 0.18, N = 3SE +/- 0.40, N = 3SE +/- 0.48, N = 3SE +/- 0.33, N = 3SE +/- 0.23, N = 3SE +/- 0.37, N = 3235.64239.88238.13234.70235.59235.271. (CC) gcc options: -O3 -fcommon -O2 -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

SVT-HEVC

Tuning: 10 - Input: Bosphorus 1080p

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is BetterSVT-HEVC 1.5.0Tuning: 10 - Input: Bosphorus 1080p-O2-O3 -march=native-O3 -march=native -flto80160240320400SE +/- 0.23, N = 3SE +/- 1.66, N = 3SE +/- 0.90, N = 3SE +/- 0.57, N = 3SE +/- 1.07, N = 3SE +/- 1.24, N = 3368.55375.95375.08368.55369.54365.791. (CC) gcc options: -O2 -fPIE -fPIC -O3 -pie -rdynamic -lpthread -lrt


Phoronix Test Suite v10.8.5