Intel Core i9 11900K Compiler Benchmarks

GCC 11.1 versus LLVM Clang 12 on Intel Core i9 11900K Rocket Lake. Benchmarks by Michael Larabel for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2105176-IB-11900KCOM25&grw&sor.

ProcessorMotherboardChipsetMemoryDiskGraphicsAudioMonitorNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionGCC 11.1Clang 12 -O2 -O3 -march=native -O3 -march=native -flto -O2 -O3 -march=native -O3 -march=native -fltoIntel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads)ASUS ROG MAXIMUS XIII HERO (0707 BIOS)Intel Tiger Lake-H32GB500GB Western Digital WDS500G3X0C-00SJG0 + 15GB Ultra USB 3.0AMD Radeon VII 16GB (1801/1000MHz)Intel Tiger Lake-H HD AudioASUS MG28U2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411Fedora 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 20210428btrfs3840x2160Clang 12.0.0OpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseEnvironment Details- 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"Compiler Details- 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 Processor Details- Scaling Governor: intel_pstate powersave - CPU Microcode: 0x3c - Thermald 2.4.1Security 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 Enhanced IBRS IBPB: conditional RSB filling + srbds: Not affected + tsx_async_abort: Not affected

encode-flac: WAV To FLACencode-mp3: WAV To MP3tjbench: Decompression Throughputencode-opus: WAV To Opus Encodeastcenc: Mediumastcenc: Thoroughastcenc: Exhaustivewebp: Quality 100, Losslesswebp: Quality 100, Highest Compressionwebp: Quality 100, Lossless, Highest Compressionhmmer: Pfam Database Searchmrbayes: Primate Phylogeny Analysishimeno: Poisson Pressure Solvertnn: CPU - MobileNet v2tnn: CPU - SqueezeNet v1.1ncnn: 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_400mlammps: Rhodopsin Proteincoremark: CoreMark Size 666 - Iterations Per Secondaobench: 2048 x 2048 - Total Timegraphics-magick: Rotategraphics-magick: Sharpengraphics-magick: Enhancedgraphics-magick: Resizingsvt-vp9: VMAF Optimized - Bosphorus 1080psvt-vp9: PSNR/SSIM Optimized - Bosphorus 1080psvt-vp9: Visual Quality Optimized - Bosphorus 1080px265: Bosphorus 4Kc-ray: Total Time - 4K, 16 Rays Per Pixelsvt-hevc: 7 - Bosphorus 1080psvt-hevc: 10 - Bosphorus 1080pliquid-dsp: 8 - 256 - 57liquid-dsp: 16 - 256 - 57sqlite-speedtest: Timed Time - Size 1,000pjsip: INVITEpjsip: OPTIONS, Statefulpjsip: OPTIONS, StatelessGCC 11.1Clang 12 -O2 -O3 -march=native -O3 -march=native -flto -O2 -O3 -march=native -O3 -march=native -flto6.0867.304261.0347856.4675.248112.094991.379913.7635.36027.841103.29187.2976305.481850243.416236.05015.154.203.183.115.2311.1154.8011.309.6322.0716.159.618.023430127.49818924.45810661642191091191.83198.01160.6515.64106.522136.31273.6063550666771134333343.616500193812397925.9315.479273.1000465.5875.182011.384685.415712.9015.12727.264100.73786.6966878.507686230.019227.66311.833.242.552.304.3810.2054.5011.089.6318.2315.538.628.067432583.96435221.54411411952701198195.87201.70164.7715.8147.345139.13278.7268653000072289333344.085495993892414395.9365.376272.6007585.5755.170511.395285.420712.7065.10327.07499.97184.9297079.883870247.889242.55013.343.252.522.274.3210.2754.1311.399.7018.4315.928.918.328435901.44395921.57710721952691229195.07201.10166.0515.4047.613141.83278.5968435666772239333343.777505893952398927.5937.034273.2984346.2063.883210.508885.560913.0174.88528.257101.50385.5726204.052247308.514239.53212.603.452.642.394.4610.8655.6611.5010.0119.0615.349.558.140377278.13149024.99810511622171044193.85199.37163.9715.5982.659138.07271.5074207000081376666746.260496593622413125.9566.461282.7129665.9523.78139.555974.779813.0544.76028.07599.61082.5546291.576456336.911259.56712.053.362.562.334.3610.5854.4011.229.9118.3315.359.208.164366868.63195122.99710801632531070195.08199.59164.9515.5284.054142.10276.2971208000076843666746.543502493822414265.9586.205282.6666845.8703.77109.565374.804012.8884.73127.08199.00883.5586434.834670342.856258.98512.133.282.462.234.3910.5354.3811.199.8618.3115.468.998.239373279.58141122.89910921632541195199.49203.83167.9515.9385.080146.01283.2969998000075370333346.374OpenBenchmarking.org

FLAC Audio Encoding

WAV To FLAC

GCC 11.1Clang 12OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.2WAV To FLAC-O3 -march=native-O3 -march=native -flto-O2246810SE +/- 0.004, N = 5SE +/- 0.003, N = 5SE +/- 0.003, N = 5SE +/- 0.008, N = 5SE +/- 0.004, N = 5SE +/- 0.004, N = 55.9315.9366.0865.9565.9587.5931. (CXX) g++ options: -logg -lm

LAME MP3 Encoding

WAV To MP3

GCC 11.1Clang 12OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3-O3 -march=native -flto-O3 -march=native-O2246810SE +/- 0.003, N = 3SE +/- 0.010, N = 3SE +/- 0.048, N = 3SE +/- 0.018, N = 3SE +/- 0.019, N = 3SE +/- 0.029, N = 35.3765.4797.3046.2056.4617.0341. (CC) gcc options: -O3 -pipe -lm

libjpeg-turbo tjbench

Test: Decompression Throughput

Clang 12GCC 11.1OpenBenchmarking.orgMegapixels/sec, More Is Betterlibjpeg-turbo tjbench 2.1.0Test: Decompression Throughput-O3 -march=native-O3 -march=native -flto-O260120180240300SE +/- 0.87, N = 3SE +/- 0.50, N = 3SE +/- 0.86, N = 3SE +/- 0.20, N = 3SE +/- 0.41, N = 3SE +/- 0.16, N = 3282.71282.67273.30273.10272.60261.031. (CC) gcc options: -O3 -rdynamic

Opus Codec Encoding

WAV To Opus Encode

GCC 11.1Clang 12OpenBenchmarking.orgSeconds, Fewer Is BetterOpus Codec Encoding 1.3.1WAV To Opus Encode-O3 -march=native -flto-O3 -march=native-O2246810SE +/- 0.033, N = 5SE +/- 0.007, N = 5SE +/- 0.030, N = 5SE +/- 0.014, N = 5SE +/- 0.036, N = 5SE +/- 0.030, N = 55.5755.5876.4675.8705.9526.2061. (CXX) g++ options: -logg -lm

ASTC Encoder

Preset: Medium

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterASTC Encoder 2.4Preset: Medium-O3 -march=native -flto-O3 -march=native-O21.18082.36163.54244.72325.904SE +/- 0.0020, N = 3SE +/- 0.0028, N = 3SE +/- 0.0014, N = 3SE +/- 0.0065, N = 3SE +/- 0.0013, N = 3SE +/- 0.0027, N = 33.77103.78133.88325.17055.18205.24811. (CXX) g++ options: -flto -O2 -pthread

ASTC Encoder

Preset: Thorough

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterASTC Encoder 2.4Preset: Thorough-O3 -march=native-O3 -march=native -flto-O23691215SE +/- 0.0123, N = 3SE +/- 0.0155, N = 3SE +/- 0.0121, N = 3SE +/- 0.0205, N = 3SE +/- 0.0120, N = 3SE +/- 0.0131, N = 39.55599.565310.508811.384611.395212.09491. (CXX) g++ options: -O2 -flto -pthread

ASTC Encoder

Preset: Exhaustive

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterASTC Encoder 2.4Preset: Exhaustive-O3 -march=native-O3 -march=native -flto-O220406080100SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.04, N = 3SE +/- 0.00, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 374.7874.8085.5685.4285.4291.381. (CXX) g++ options: -O2 -flto -pthread

WebP Image Encode

Encode Settings: Quality 100, Lossless

GCC 11.1Clang 12OpenBenchmarking.orgEncode Time - Seconds, Fewer Is BetterWebP Image Encode 1.1Encode Settings: Quality 100, Lossless-O3 -march=native -flto-O3 -march=native-O248121620SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.04, N = 312.7112.9013.7612.8913.0213.051. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

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-O3 -march=native -flto-O3 -march=native-O21.2062.4123.6184.8246.03SE +/- 0.005, N = 3SE +/- 0.006, N = 3SE +/- 0.007, N = 3SE +/- 0.008, N = 3SE +/- 0.014, N = 3SE +/- 0.005, N = 34.7314.7604.8855.1035.1275.3601. (CC) gcc options: -fvisibility=hidden -pthread -lm -ljpeg

WebP Image Encode

Encode Settings: Quality 100, Lossless, Highest Compression

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

Timed HMMer Search

Pfam Database Search

Clang 12GCC 11.1OpenBenchmarking.orgSeconds, Fewer Is BetterTimed HMMer Search 3.3.2Pfam Database Search-O3 -march=native -flto-O3 -march=native-O220406080100SE +/- 0.09, N = 3SE +/- 0.10, N = 3SE +/- 0.04, N = 3SE +/- 0.08, N = 3SE +/- 0.04, N = 3SE +/- 0.08, N = 399.0199.61101.5099.97100.74103.291. (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-O3 -march=native-O3 -march=native -flto-O220406080100SE +/- 0.04, N = 3SE +/- 0.18, N = 3SE +/- 0.56, N = 3SE +/- 0.32, N = 3SE +/- 0.06, N = 3SE +/- 0.53, N = 382.5583.5685.5784.9386.7087.301. (CC) gcc options: -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msha -maes -mavx -mfma -mavx2 -mavx512f -mavx512cd -mavx512vl -mavx512bw -mavx512dq -mavx512ifma -mavx512vbmi -mrdrnd -mbmi -mbmi2 -madx -mmpx -mabm -O3 -std=c99 -pedantic -lm

Himeno Benchmark

Poisson Pressure Solver

GCC 11.1Clang 12OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure Solver-O3 -march=native -flto-O3 -march=native-O215003000450060007500SE +/- 3.24, N = 3SE +/- 6.62, N = 3SE +/- 0.74, N = 3SE +/- 16.27, N = 3SE +/- 3.97, N = 3SE +/- 4.35, N = 37079.886878.516305.486434.836291.586204.051. (CC) gcc options: -O3 -mavx2

TNN

Target: CPU - Model: MobileNet v2

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterTNN 0.2.3Target: CPU - Model: MobileNet v2-O3 -march=native-O2-O3 -march=native -flto70140210280350SE +/- 0.15, N = 3SE +/- 0.21, N = 3SE +/- 0.12, N = 3SE +/- 0.25, N = 3SE +/- 0.21, N = 3SE +/- 0.06, N = 3230.02243.42247.89308.51336.91342.861. (CXX) g++ options: -fopenmp=libomp -pthread -fvisibility=hidden -O2 -rdynamic -ldl

TNN

Target: CPU - Model: SqueezeNet v1.1

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterTNN 0.2.3Target: CPU - Model: SqueezeNet v1.1-O3 -march=native-O2-O3 -march=native -flto60120180240300SE +/- 0.17, N = 3SE +/- 0.09, N = 3SE +/- 0.12, N = 3SE +/- 0.07, N = 3SE +/- 0.07, N = 3SE +/- 0.13, N = 3227.66236.05242.55239.53258.99259.571. (CXX) g++ options: -fopenmp=libomp -pthread -fvisibility=hidden -O2 -rdynamic -ldl

NCNN

Target: CPU - Model: mobilenet

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: mobilenet-O3 -march=native-O3 -march=native -flto-O248121620SE +/- 0.06, N = 3SE +/- 0.01, N = 3SE +/- 0.14, N = 15SE +/- 0.03, N = 3SE +/- 0.03, N = 3SE +/- 0.06, N = 311.8313.3415.1512.0512.1312.601. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

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

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU-v2-v2 - Model: mobilenet-v2-O3 -march=native-O3 -march=native -flto-O20.9451.892.8353.784.725SE +/- 0.04, N = 3SE +/- 0.01, N = 3SE +/- 0.02, N = 15SE +/- 0.02, N = 3SE +/- 0.09, N = 3SE +/- 0.04, N = 33.243.254.203.283.363.451. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

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

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU-v3-v3 - Model: mobilenet-v3-O3 -march=native -flto-O3 -march=native-O20.71551.4312.14652.8623.5775SE +/- 0.01, N = 3SE +/- 0.06, N = 3SE +/- 0.01, N = 3SE +/- 0.01, N = 3SE +/- 0.05, N = 3SE +/- 0.01, N = 152.462.562.642.522.553.181. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

Target: CPU - Model: mnasnet

Clang 12GCC 11.1OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: mnasnet-O3 -march=native -flto-O3 -march=native-O20.69981.39962.09942.79923.499SE +/- 0.02, N = 3SE +/- 0.06, N = 3SE +/- 0.04, N = 3SE +/- 0.01, N = 3SE +/- 0.06, N = 3SE +/- 0.01, N = 142.232.332.392.272.303.111. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

Target: CPU - Model: efficientnet-b0

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: efficientnet-b0-O3 -march=native -flto-O3 -march=native-O21.17682.35363.53044.70725.884SE +/- 0.01, N = 3SE +/- 0.08, N = 3SE +/- 0.02, N = 15SE +/- 0.08, N = 3SE +/- 0.03, N = 3SE +/- 0.04, N = 34.324.385.234.364.394.461. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

Target: CPU - Model: googlenet

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: googlenet-O3 -march=native-O3 -march=native -flto-O23691215SE +/- 0.21, N = 3SE +/- 0.13, N = 3SE +/- 0.08, N = 15SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.02, N = 310.2010.2711.1110.5310.5810.861. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

Target: CPU - Model: vgg16

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: vgg16-O3 -march=native -flto-O3 -march=native-O21326395265SE +/- 0.13, N = 3SE +/- 0.14, N = 3SE +/- 0.05, N = 15SE +/- 0.17, N = 3SE +/- 0.16, N = 3SE +/- 0.07, N = 354.1354.5054.8054.3854.4055.661. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

Target: CPU - Model: resnet18

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: resnet18-O3 -march=native-O3 -march=native -flto-O23691215SE +/- 0.17, N = 3SE +/- 0.06, N = 14SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.02, N = 311.0811.3011.3911.1911.2211.501. (CXX) g++ options: -O2 -rdynamic -lpthread

NCNN

Target: CPU - Model: alexnet

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: alexnet-O2-O3 -march=native-O3 -march=native -flto3691215SE +/- 0.01, N = 15SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 3SE +/- 0.03, N = 3SE +/- 0.03, N = 39.639.639.709.869.9110.011. (CXX) g++ options: -O2 -rdynamic -lomp -lpthread

NCNN

Target: CPU - Model: resnet50

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: resnet50-O3 -march=native-O3 -march=native -flto-O2510152025SE +/- 0.16, N = 3SE +/- 0.06, N = 3SE +/- 0.08, N = 15SE +/- 0.01, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 318.2318.4322.0718.3118.3319.061. (CXX) g++ options: -O2 -rdynamic -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.04, N = 3SE +/- 0.01, N = 3SE +/- 0.06, N = 3SE +/- 0.12, N = 3SE +/- 0.28, N = 3SE +/- 0.01, N = 1515.3415.3515.4615.5315.9216.151. (CXX) g++ options: -O2 -rdynamic -lgomp -lpthread

NCNN

Target: CPU - Model: regnety_400m

GCC 11.1Clang 12OpenBenchmarking.orgms, Fewer Is BetterNCNN 20201218Target: CPU - Model: regnety_400m-O3 -march=native-O3 -march=native -flto-O23691215SE +/- 0.03, N = 3SE +/- 0.06, N = 3SE +/- 0.02, N = 12SE +/- 0.02, N = 3SE +/- 0.02, N = 3SE +/- 0.01, N = 38.628.919.618.999.209.551. (CXX) g++ options: -O2 -rdynamic -lpthread

LAMMPS Molecular Dynamics Simulator

Model: Rhodopsin Protein

GCC 11.1Clang 12OpenBenchmarking.orgns/day, More Is BetterLAMMPS Molecular Dynamics Simulator 29Oct2020Model: Rhodopsin Protein-O3 -march=native -flto-O3 -march=native-O2246810SE +/- 0.055, N = 15SE +/- 0.063, N = 15SE +/- 0.106, N = 3SE +/- 0.030, N = 3SE +/- 0.034, N = 3SE +/- 0.093, N = 48.3288.0678.0238.2398.1648.1401. (CXX) g++ options: -O2 -pthread -lm

Coremark

CoreMark Size 666 - Iterations Per Second

GCC 11.1Clang 12OpenBenchmarking.orgIterations/Sec, More Is BetterCoremark 1.0CoreMark Size 666 - Iterations Per Second-O3 -march=native -flto-O3 -march=native-O290K180K270K360K450KSE +/- 166.46, N = 3SE +/- 1364.82, N = 3SE +/- 1236.61, N = 3SE +/- 476.82, N = 3SE +/- 176.14, N = 3SE +/- 494.48, N = 3435901.44432583.96430127.50377278.13373279.58366868.631. (CC) gcc options: -O2 -lrt" -lrt

AOBench

Size: 2048 x 2048 - Total Time

GCC 11.1Clang 12OpenBenchmarking.orgSeconds, Fewer Is BetterAOBenchSize: 2048 x 2048 - Total Time-O3 -march=native-O3 -march=native -flto-O2612182430SE +/- 0.01, N = 3SE +/- 0.05, N = 3SE +/- 0.03, N = 3SE +/- 0.00, N = 3SE +/- 0.03, N = 3SE +/- 0.01, N = 321.5421.5824.4622.9023.0025.001. (CC) gcc options: -lm -O3

GraphicsMagick

Operation: Rotate

GCC 11.1Clang 12OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Rotate-O3 -march=native-O3 -march=native -flto-O22004006008001000SE +/- 1.53, N = 3SE +/- 0.67, N = 3SE +/- 1.67, N = 3SE +/- 2.85, N = 3SE +/- 0.88, N = 31141107210661092108010511. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

GraphicsMagick

Operation: Sharpen

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

GraphicsMagick

Operation: Enhanced

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

GraphicsMagick

Operation: Resizing

GCC 11.1Clang 12OpenBenchmarking.orgIterations Per Minute, More Is BetterGraphicsMagick 1.3.33Operation: Resizing-O3 -march=native -flto-O3 -march=native-O230060090012001500SE +/- 1.20, N = 3SE +/- 6.89, N = 3SE +/- 5.24, N = 3SE +/- 1.73, N = 3SE +/- 0.67, N = 31229119810911195107010441. (CC) gcc options: -fopenmp -pthread -ljpeg -lz -lm -lpthread

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-O3 -march=native -flto-O3 -march=native-O24080120160200SE +/- 0.25, N = 3SE +/- 0.47, N = 3SE +/- 1.33, N = 3SE +/- 1.48, N = 10SE +/- 1.49, N = 10SE +/- 1.51, N = 10199.49195.08193.85195.87195.07191.831. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -O2 -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-O3 -march=native -flto-O3 -march=native-O24080120160200SE +/- 0.21, N = 3SE +/- 0.42, N = 3SE +/- 0.20, N = 3SE +/- 0.28, N = 3SE +/- 0.29, N = 3SE +/- 0.06, N = 3203.83199.59199.37201.70201.10198.011. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -O2 -pie -rdynamic -lpthread -lrt -lm

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-O3 -march=native -flto-O3 -march=native-O24080120160200SE +/- 0.26, N = 3SE +/- 0.29, N = 3SE +/- 0.06, N = 3SE +/- 0.31, N = 3SE +/- 0.01, N = 3SE +/- 0.13, N = 3167.95164.95163.97166.05164.77160.651. (CC) gcc options: -O3 -fcommon -fPIE -fPIC -fvisibility=hidden -O2 -pie -rdynamic -lpthread -lrt -lm

x265

Video Input: Bosphorus 4K

Clang 12GCC 11.1OpenBenchmarking.orgFrames Per Second, More Is Betterx265 3.4Video Input: Bosphorus 4K-O3 -march=native -flto-O3 -march=native-O248121620SE +/- 0.13, N = 3SE +/- 0.04, N = 3SE +/- 0.13, N = 8SE +/- 0.13, N = 15SE +/- 0.21, N = 3SE +/- 0.15, N = 615.9315.5915.5215.8115.6415.401. (CXX) g++ options: -O2 -rdynamic -lpthread -lrt -ldl

C-Ray

Total Time - 4K, 16 Rays Per Pixel

GCC 11.1Clang 12OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per Pixel-O3 -march=native-O3 -march=native -flto-O220406080100SE +/- 0.15, N = 3SE +/- 0.16, N = 3SE +/- 0.05, N = 3SE +/- 0.18, N = 3SE +/- 0.13, N = 3SE +/- 0.31, N = 347.3547.61106.5282.6684.0585.081. (CC) gcc options: -lm -lpthread -O3

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-O3 -march=native -flto-O3 -march=native-O2306090120150SE +/- 0.02, N = 3SE +/- 0.16, N = 3SE +/- 1.53, N = 5SE +/- 1.44, N = 5SE +/- 1.58, N = 4SE +/- 1.53, N = 4146.01142.10138.07141.83139.13136.311. (CC) gcc options: -O3 -fPIE -fPIC -O2 -pie -rdynamic -lpthread -lrt

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-O3 -march=native -flto-O3 -march=native-O260120180240300SE +/- 0.47, N = 3SE +/- 0.62, N = 3SE +/- 0.56, N = 3SE +/- 0.09, N = 3SE +/- 0.22, N = 3SE +/- 0.52, N = 3283.29276.29271.50278.72278.59273.601. (CC) gcc options: -O3 -fPIE -fPIC -O2 -pie -rdynamic -lpthread -lrt

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 -flto160M320M480M640M800MSE +/- 4115754.28, N = 3SE +/- 3025001.38, N = 3SE +/- 3850155.84, N = 3SE +/- 2160717.47, N = 3SE +/- 2050604.25, N = 3SE +/- 766753.62, N = 37420700007120800006999800006865300006843566676355066671. (CC) gcc options: -O3 -pthread -lm -lc -lliquid

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 +/- 49103.07, N = 3SE +/- 317612.62, N = 3SE +/- 391975.06, N = 3SE +/- 209549.78, N = 3SE +/- 322714.18, N = 3SE +/- 189414.30, N = 38137666677684366677537033337228933337223933337113433331. (CC) gcc options: -O3 -pthread -lm -lc -lliquid

SQLite Speedtest

Timed Time - Size 1,000

GCC 11.1Clang 12OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite Speedtest 3.30Timed Time - Size 1,000-O2-O3 -march=native -flto-O3 -march=native1122334455SE +/- 0.15, N = 3SE +/- 0.13, N = 3SE +/- 0.30, N = 3SE +/- 0.15, N = 3SE +/- 0.09, N = 3SE +/- 0.28, N = 343.6243.7844.0946.2646.3746.541. (CC) gcc options: -ldl -lz -lpthread

PJSIP

Method: INVITE

GCC 11.1Clang 12OpenBenchmarking.orgResponses Per Second, More Is BetterPJSIP 2.11Method: INVITE-O3 -march=native -flto-O3 -march=native-O211002200330044005500SE +/- 3.18, N = 3SE +/- 32.83, N = 3SE +/- 41.25, N = 3SE +/- 13.67, N = 3SE +/- 34.53, N = 3505850014959502449651. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

PJSIP

Method: OPTIONS, Stateful

GCC 11.1Clang 12OpenBenchmarking.orgResponses Per Second, More Is BetterPJSIP 2.11Method: OPTIONS, Stateful-O3 -march=native -flto-O3 -march=native-O22K4K6K8K10KSE +/- 4.58, N = 3SE +/- 6.96, N = 3SE +/- 1.67, N = 3SE +/- 2.33, N = 3939593899381938293621. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread

PJSIP

Method: OPTIONS, Stateless

GCC 11.1Clang 12OpenBenchmarking.orgResponses Per Second, More Is BetterPJSIP 2.11Method: OPTIONS, Stateless-O3 -march=native-O2-O3 -march=native -flto50K100K150K200K250KSE +/- 1015.58, N = 3SE +/- 101.47, N = 3SE +/- 504.43, N = 3SE +/- 238.95, N = 3SE +/- 468.55, N = 32414392398922397922414262413121. (CC) gcc options: -lstdc++ -lssl -lcrypto -lm -lrt -lpthread


Phoronix Test Suite v10.8.5