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.

Compare your own system(s) to this result file with the Phoronix Test Suite by running the command: phoronix-test-suite benchmark 2105198-IB-11900KCOM08
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
Show Result Confidence Charts

Limit displaying results to tests within:

Audio Encoding 3 Tests
Bioinformatics 3 Tests
C/C++ Compiler Tests 12 Tests
CPU Massive 12 Tests
Creator Workloads 12 Tests
Encoding 6 Tests
HPC - High Performance Computing 6 Tests
Imaging 3 Tests
Machine Learning 2 Tests
MPI Benchmarks 2 Tests
Multi-Core 8 Tests
OpenMPI Tests 3 Tests
Renderers 2 Tests
Scientific Computing 4 Tests
Server CPU Tests 6 Tests
Single-Threaded 3 Tests
Video Encoding 3 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
On Line Graphs With Missing Data, Connect The Line Gaps

Multi-Way Comparison

Condense Comparison
Transpose Comparison

Table

Show Detailed System Result Table

Run Management

Highlight
Result
Hide
Result
Result
Identifier
Performance Per
Dollar
Date
Run
  Test
  Duration
GCC 11.1: -O2
May 18 2021
  4 Hours, 27 Minutes
GCC 11.1: -O3 -march=native
May 18 2021
  4 Hours, 36 Minutes
GCC 11.1: -O3 -march=native -flto
May 18 2021
  1 Hour, 47 Minutes
Clang 12: -O2
May 17 2021
  1 Hour, 43 Minutes
Clang 12: -O3 -march=native
May 17 2021
  1 Hour, 42 Minutes
Clang 12: -O3 -march=native -flto
May 18 2021
  1 Hour, 32 Minutes
Invert Hiding All Results Option
  2 Hours, 38 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):


Ryzen 9 5950X Clang 12 vs. GCC 11 BenchmarksOpenBenchmarking.orgPhoronix Test SuiteAMD 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)GCC 11.1.1 20210428 + Clang 12.0.0Clang 12.0.0btrfs3840x2160ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLCompilersFile-SystemScreen ResolutionRyzen 9 5950X Clang 12 Vs. GCC 11 Benchmarks PerformanceSystem Logs- Transparent Huge Pages: madvise- GCC 11.1: -O2: CXXFLAGS=-O2 CFLAGS=-O2- GCC 11.1: -O3 -march=native: CXXFLAGS="-O3 -march=native" CFLAGS="-O3 -march=native"- GCC 11.1: -O3 -march=native -flto: CXXFLAGS="-O3 -march=native -flto" CFLAGS="-O3 -march=native -flto" - 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: -O2, GCC 11.1: -O3 -march=native, GCC 11.1: -O3 -march=native -flto: --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 - Scaling Governor: acpi-cpufreq schedutil (Boost: Enabled) - CPU Microcode: 0xa201009- 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

svt-hevc: 7 - Bosphorus 1080psvt-hevc: 10 - Bosphorus 1080psvt-vp9: VMAF Optimized - Bosphorus 1080psvt-vp9: PSNR/SSIM Optimized - Bosphorus 1080psvt-vp9: Visual Quality Optimized - Bosphorus 1080px265: Bosphorus 4Kgraphics-magick: Rotategraphics-magick: Sharpengraphics-magick: Enhancedgraphics-magick: Resizingcoremark: CoreMark Size 666 - Iterations Per Secondtjbench: Decompression Throughputhimeno: Poisson Pressure Solverlammps: Rhodopsin Proteinpjsip: INVITEpjsip: OPTIONS, Statefulpjsip: OPTIONS, Statelessliquid-dsp: 8 - 256 - 57liquid-dsp: 16 - 256 - 57webp: Quality 100, Losslesswebp: Quality 100, Highest Compressionwebp: Quality 100, Lossless, Highest Compressionncnn: CPU - mobilenetncnn: CPU-v2-v2 - mobilenet-v2ncnn: CPU-v3-v3 - mobilenet-v3ncnn: CPU - mnasnetncnn: CPU - efficientnet-b0ncnn: CPU - googlenetncnn: CPU - vgg16ncnn: CPU - resnet18ncnn: CPU - alexnetncnn: CPU - resnet50ncnn: CPU - squeezenet_ssdncnn: CPU - regnety_400mtnn: CPU - MobileNet v2tnn: CPU - SqueezeNet v1.1ncnn: CPU - shufflenet-v2ncnn: CPU - blazefacencnn: CPU - yolov4-tinymrbayes: Primate Phylogeny Analysishmmer: Pfam Database Searchc-ray: Total Time - 4K, 16 Rays Per Pixelaobench: 2048 x 2048 - Total Timeencode-flac: WAV To FLACencode-mp3: WAV To MP3encode-opus: WAV To Opus Encodeastcenc: Mediumastcenc: Thoroughastcenc: Exhaustivesqlite-speedtest: Timed Time - Size 1,000GCC 11.1Clang 12 -O2 -O3 -march=native -O3 -march=native -flto -O2 -O3 -march=native -O3 -march=native -flto217.32365.79230.53235.27222.6326.249852264221803830811.532116277.4968025120.94026212.85548157860230599594850000104120000013.1815.35527.42412.954.544.153.975.4113.1556.8214.5011.1626.1814.6117.24219.130208.7804.331.8521.0696.78599.72260.93131.7325.8746.8026.5154.62967.684157.144547.404221.71369.54231.16235.59223.1125.9110363704492120808580.862650268.1134565314.73390412.74946717982221759611560000108500000013.5505.20028.32712.704.433.843.955.3712.8557.6114.3310.9925.3313.9317.18227.768214.2774.391.8021.0092.97397.74425.40525.4796.2375.5035.3874.62777.571856.641146.917227.04368.55230.43234.70222.3326.179643824492085849671.959442270.9091505445.63522112.81346167916222581619393333109326666713.2545.18427.94913.744.463.863.925.3613.2657.8414.8011.1325.8414.5018.53215.341202.5726.012.5523.9493.33797.71425.48226.3126.1955.4035.4754.69957.529956.190046.479225.15368.55231.35235.64225.5727.779212064111693712758.357826267.5530684877.30641013.08745757942221107576660000105640000013.6474.77829.11911.583.563.363.264.5211.8857.2614.0511.0922.9912.6112.93271.028208.5553.811.5421.9793.52996.09249.27533.7787.6876.5655.8743.33679.395052.204847.792229.27375.95234.71239.88227.7327.759812354521767722694.006275272.5135595192.19004213.29947087958222572576050000106190000014.1054.70328.64011.463.573.073.264.5111.7756.9313.9011.1623.2512.3512.59355.925215.7813.741.5221.7390.78595.21445.01030.2345.6666.0985.5083.31799.354951.823047.630236.05375.08232.66238.13227.6628.479612374511762714933.858983266.2298295289.91757113.342587800000107346666713.6364.72227.40011.053.422.933.084.3011.6256.1113.8611.2522.9012.4312.14261.836207.9253.691.4621.5892.40593.31144.74229.7305.7565.8105.5583.37289.443251.897448.584OpenBenchmarking.org

SVT-HEVC

This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-HEVC CPU-based multi-threaded video encoder for the HEVC / H.265 video format with a sample 1080p YUV video file. Learn more via the OpenBenchmarking.org test page.

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.49, N = 3SE +/- 0.83, N = 3SE +/- 0.03, N = 3225.15229.27236.05217.32221.71227.041. (CC) gcc options: -O2 -fPIE -fPIC -O3 -pie -rdynamic -lpthread -lrt

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 +/- 1.24, N = 3SE +/- 1.07, N = 3SE +/- 0.57, N = 3368.55375.95375.08365.79369.54368.551. (CC) gcc options: -O2 -fPIE -fPIC -O3 -pie -rdynamic -lpthread -lrt

SVT-VP9

This is a test of the Intel Open Visual Cloud Scalable Video Technology SVT-VP9 CPU-based multi-threaded video encoder for the VP9 video format with a sample YUV input video file. Learn more via the OpenBenchmarking.org test page.

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.09, N = 3SE +/- 0.46, N = 3SE +/- 0.18, N = 3231.35234.71232.66230.53231.16230.431. (CC) gcc options: -O3 -fcommon -O2 -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

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.37, N = 3SE +/- 0.23, N = 3SE +/- 0.33, N = 3235.64239.88238.13235.27235.59234.701. (CC) gcc options: -O3 -fcommon -O2 -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

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.82, N = 3SE +/- 0.87, N = 3SE +/- 0.97, N = 3225.57227.73227.66222.63223.11222.331. (CC) gcc options: -O3 -fcommon -O2 -fPIE -fPIC -fvisibility=hidden -pie -rdynamic -lpthread -lrt -lm

x265

This is a simple test of the x265 encoder run on the CPU with 1080p and 4K options for H.265 video encode performance with x265. Learn more via the OpenBenchmarking.org test page.

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.06, N = 3SE +/- 0.04, N = 3SE +/- 0.09, N = 327.7727.7528.4726.2425.9126.171. (CXX) g++ options: -O2 -rdynamic -lpthread -lrt -ldl

GraphicsMagick

This is a test of GraphicsMagick with its OpenMP implementation that performs various imaging tests on a sample 6000x4000 pixel JPEG image. Learn more via the OpenBenchmarking.org test page.

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 +/- 11.70, N = 3SE +/- 5.57, N = 3SE +/- 3.48, N = 392198196198510369641. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

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.33, N = 3SE +/- 1.20, N = 3SE +/- 0.88, N = 32062352372263703821. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

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 = 34114524514224494491. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

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 +/- 0.88, N = 3SE +/- 1.53, N = 3SE +/- 3.71, N = 31693176717621803212020851. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

Coremark

This is a test of EEMBC CoreMark processor benchmark. Learn more via the OpenBenchmarking.org test page.

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 +/- 989.68, N = 3SE +/- 2230.96, N = 3SE +/- 836.68, N = 3712758.36722694.01714933.86830811.53808580.86849671.961. (CC) gcc options: -O2 -lrt" -lrt

libjpeg-turbo tjbench

tjbench is a JPEG decompression/compression benchmark that is part of libjpeg-turbo, a JPEG image codec library optimized for SIMD instructions on modern CPU architectures. Learn more via the OpenBenchmarking.org test page.

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 +/- 1.92, N = 3SE +/- 1.27, N = 3SE +/- 0.45, N = 3267.55272.51266.23277.50268.11270.911. (CC) gcc options: -O3 -rdynamic

Himeno Benchmark

The Himeno benchmark is a linear solver of pressure Poisson using a point-Jacobi method. Learn more via the OpenBenchmarking.org test page.

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 +/- 83.12, N = 15SE +/- 90.91, N = 15SE +/- 68.97, N = 154877.315192.195289.925120.945314.735445.641. (CC) gcc options: -O3 -mavx2

LAMMPS Molecular Dynamics Simulator

LAMMPS is a classical molecular dynamics code, and an acronym for Large-scale Atomic/Molecular Massively Parallel Simulator. Learn more via the OpenBenchmarking.org test page.

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.11, N = 8SE +/- 0.14, N = 4SE +/- 0.09, N = 1513.0913.3013.3412.8612.7512.811. (CXX) g++ options: -O2 -pthread -lm

PJSIP

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. It combines signaling protocol (SIP) with rich multimedia framework and NAT traversal functionality into high level API that is portable and suitable for almost any type of systems ranging from desktops, embedded systems, to mobile handsets. This test profile is making use of pjsip-perf with both the client/server on teh system. More details on the PJSIP benchmark at https://www.pjsip.org/high-performance-sip.htm Learn more via the OpenBenchmarking.org test page.

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 +/- 16.33, N = 3SE +/- 32.67, N = 15SE +/- 65.77, N = 3457547084815467146161. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

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 +/- 72.34, N = 3SE +/- 21.79, N = 3SE +/- 56.75, N = 3794279587860798279161. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

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 +/- 586.86, N = 3SE +/- 1749.48, N = 3SE +/- 705.50, N = 32211072225722305992217592225811. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

Liquid-DSP

LiquidSDR's Liquid-DSP is a software-defined radio (SDR) digital signal processing library. This test profile runs a multi-threaded benchmark of this SDR/DSP library focused on embedded platform usage. Learn more via the OpenBenchmarking.org test page.

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 +/- 185202.59, N = 3SE +/- 4455270.29, N = 3SE +/- 1343755.10, N = 35766600005760500005878000005948500006115600006193933331. (CC) gcc options: -O3 -pthread -lm -lc -lliquid

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 +/- 4650806.38, N = 3SE +/- 1252996.41, N = 3SE +/- 783865.07, N = 31056400000106190000010734666671041200000108500000010932666671. (CC) gcc options: -O3 -pthread -lm -lc -lliquid

WebP Image Encode

This is a test of Google's libwebp with the cwebp image encode utility and using a sample 6000x4000 pixel JPEG image as the input. Learn more via the OpenBenchmarking.org test page.

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.04, N = 3SE +/- 0.06, N = 3SE +/- 0.17, N = 313.6514.1113.6413.1813.5513.251. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

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.021, N = 3SE +/- 0.023, N = 3SE +/- 0.036, N = 34.7784.7034.7225.3555.2005.1841. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

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.03, N = 3SE +/- 0.02, N = 3SE +/- 0.07, N = 329.1228.6427.4027.4228.3327.951. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

NCNN

NCNN is a high performance neural network inference framework optimized for mobile and other platforms developed by Tencent. Learn more via the OpenBenchmarking.org test page.

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.11, N = 15SE +/- 0.13, N = 15SE +/- 0.17, N = 311.5811.4611.0512.9512.7013.741. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.04, N = 15SE +/- 0.01, N = 15SE +/- 0.01, N = 33.563.573.424.544.434.461. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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 = 15SE +/- 0.02, N = 15SE +/- 0.03, N = 33.363.072.934.153.843.861. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.04, N = 15SE +/- 0.04, N = 15SE +/- 0.02, N = 33.263.263.083.973.953.921. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.05, N = 15SE +/- 0.03, N = 15SE +/- 0.02, N = 34.524.514.305.415.375.361. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.22, N = 15SE +/- 0.12, N = 15SE +/- 0.44, N = 311.8811.7711.6213.1512.8513.261. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.08, N = 15SE +/- 0.08, N = 15SE +/- 0.23, N = 357.2656.9356.1156.8257.6157.841. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.11, N = 15SE +/- 0.09, N = 15SE +/- 0.22, N = 314.0513.9013.8614.5014.3314.801. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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 = 15SE +/- 0.04, N = 15SE +/- 0.06, N = 311.0911.1611.2511.1610.9911.131. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.18, N = 15SE +/- 0.10, N = 15SE +/- 0.21, N = 322.9923.2522.9026.1825.3325.841. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.10, N = 15SE +/- 0.09, N = 15SE +/- 0.06, N = 312.6112.3512.4314.6113.9314.501. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.06, N = 15SE +/- 0.05, N = 15SE +/- 0.09, N = 312.9312.5912.1417.2417.1818.531. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

TNN

TNN is an open-source deep learning reasoning framework developed by Tencent. Learn more via the OpenBenchmarking.org test page.

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.57, N = 3SE +/- 0.86, N = 3SE +/- 1.27, N = 3271.03355.93261.84219.13227.77215.341. (CXX) g++ options: -O2 -fopenmp -pthread -fvisibility=hidden -rdynamic -ldl

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.08, N = 3SE +/- 0.50, N = 3SE +/- 0.11, N = 3208.56215.78207.93208.78214.28202.571. (CXX) g++ options: -O2 -fopenmp -pthread -fvisibility=hidden -rdynamic -ldl

NCNN

NCNN is a high performance neural network inference framework optimized for mobile and other platforms developed by Tencent. Learn more via the OpenBenchmarking.org test page.

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.01, N = 14SE +/- 0.15, N = 15SE +/- 0.02, N = 33.813.743.694.334.396.011. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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 = 15SE +/- 0.01, N = 15SE +/- 0.01, N = 31.541.521.461.851.802.551. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

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.11, N = 15SE +/- 0.14, N = 15SE +/- 0.41, N = 321.9721.7321.5821.0621.0023.941. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

Timed MrBayes Analysis

This test performs a bayesian analysis of a set of primate genome sequences in order to estimate their phylogeny. Learn more via the OpenBenchmarking.org test page.

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.4196.7992.9793.341. (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

Timed HMMer Search

This test searches through the Pfam database of profile hidden markov models. The search finds the domain structure of Drosophila Sevenless protein. Learn more via the OpenBenchmarking.org test page.

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.04, N = 3SE +/- 0.04, N = 3SE +/- 0.08, N = 396.0995.2193.3199.7297.7497.711. (CC) gcc options: -pthread -lhmmer -leasel -lm -lmpi

C-Ray

This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image. Learn more via the OpenBenchmarking.org test page.

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.18, N = 3SE +/- 0.08, N = 3SE +/- 0.08, N = 349.2845.0144.7460.9325.4125.481. (CC) gcc options: -lm -lpthread -O3

AOBench

AOBench is a lightweight ambient occlusion renderer, written in C. The test profile is using a size of 2048 x 2048. Learn more via the OpenBenchmarking.org test page.

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.14, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 333.7830.2329.7331.7325.4826.311. (CC) gcc options: -lm -O3

FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC format five times. Learn more via the OpenBenchmarking.org test page.

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.045, N = 5SE +/- 0.020, N = 5SE +/- 0.036, N = 57.6875.6665.7565.8746.2376.1951. (CXX) g++ options: -fvisibility=hidden -logg -lm

LAME MP3 Encoding

LAME is an MP3 encoder licensed under the LGPL. This test measures the time required to encode a WAV file to MP3 format. Learn more via the OpenBenchmarking.org test page.

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.084, N = 3SE +/- 0.071, N = 3SE +/- 0.010, N = 36.5656.0985.8106.8025.5035.4031. (CC) gcc options: -O3 -ffast-math -funroll-loops -fschedule-insns2 -fbranch-count-reg -fforce-addr -pipe -lm

Opus Codec Encoding

Opus is an open audio codec. Opus is a lossy audio compression format designed primarily for interactive real-time applications over the Internet. This test uses Opus-Tools and measures the time required to encode a WAV file to Opus. Learn more via the OpenBenchmarking.org test page.

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.035, N = 5SE +/- 0.048, N = 5SE +/- 0.023, N = 55.8745.5085.5586.5155.3875.4751. (CXX) g++ options: -fvisibility=hidden -logg -lm

ASTC Encoder

ASTC Encoder (astcenc) is for the Adaptive Scalable Texture Compression (ASTC) format commonly used with OpenGL, OpenGL ES, and Vulkan graphics APIs. This test profile does a coding test of both compression/decompression. Learn more via the OpenBenchmarking.org test page.

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.0337, N = 3SE +/- 0.0292, N = 3SE +/- 0.0045, N = 33.33673.31793.37284.62964.62774.69951. (CXX) g++ options: -O2 -flto -pthread

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.68417.57187.52991. (CXX) g++ options: -O2 -flto -pthread

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.09, N = 3SE +/- 0.08, N = 3SE +/- 0.10, N = 352.2051.8251.9057.1456.6456.191. (CXX) g++ options: -O2 -flto -pthread

SQLite Speedtest

This is a benchmark of SQLite's speedtest1 benchmark program with an increased problem size of 1,000. Learn more via the OpenBenchmarking.org test page.

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.02, N = 3SE +/- 0.16, N = 3SE +/- 0.54, N = 347.7947.6348.5847.4046.9246.481. (CC) gcc options: -ldl -lz -lpthread