Apple M1 Compilers

Apple M1 compiler testing for a future article.

HTML result view exported from: https://openbenchmarking.org/result/2204107-NE-APPLEM1CO68&sro&grs.

Apple M1 CompilersProcessorMotherboardMemoryDiskGraphicsNetworkOSKernelDesktopDisplay ServerOpenGLCompilerFile-SystemScreen ResolutionGCC 11.2.0Clang 13.0.1Apple M1 @ 2.06GHz (4 Cores / 8 Threads)Apple Mac mini (M1 2020)8GB251GB APPLE SSD AP0256Q + 2 x 0GB APPLE SSD AP0256QllvmpipeBroadcom NetXtreme BCM57762 PCIe + Broadcom BRCM4378 + Broadcom Device 5f69Arch Linux ARM5.17.0-rc7-asahi-next-20220310-5-2-ARCH (aarch64)KDE Plasma 5.24.4X Server 1.21.1.34.5 Mesa 22.0.1 (LLVM 13.0.1 128 bits)GCC 11.2.0 + Clang 13.0.1ext41920x1080Clang 13.0.1OpenBenchmarking.orgEnvironment Details- CXXFLAGS="-O3 -flto" CFLAGS="-O3 -flto"Compiler Details- GCC 11.2.0: --build=aarch64-unknown-linux-gnu --disable-libssp --disable-libstdcxx-pch --disable-multilib --disable-werror --enable-__cxa_atexit --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --enable-gnu-indirect-function --enable-gnu-unique-object --enable-languages=c,c++,fortran,go,lto,objc,obj-c++,d --enable-lto --enable-plugin --enable-shared --enable-threads=posix --host=aarch64-unknown-linux-gnu --mandir=/usr/share/man --with-arch=armv8-a --with-isl --with-linker-hash-style=gnu Disk Details- MQ-DEADLINE / relatime,rw / Block Size: 4096Processor Details- Scaling Governor: apple-cpufreq schedutilPython Details- Python 3.10.4Security Details- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl + spectre_v1: Mitigation of __user pointer sanitization + spectre_v2: Not affected + srbds: Not affected + tsx_async_abort: Not affected

Apple M1 Compilersncnn: CPU - resnet50ncnn: CPU - alexnetncnn: CPU - resnet18ncnn: CPU - vgg16ncnn: CPU - mnasnetncnn: CPU - efficientnet-b0ncnn: CPU-v2-v2 - mobilenet-v2ncnn: CPU-v3-v3 - mobilenet-v3ncnn: CPU - yolov4-tinyncnn: CPU - googlenetstress-ng: Vector Mathncnn: CPU - shufflenet-v2cryptopp: Unkeyed Algorithmsncnn: CPU - mobilenetncnn: CPU - squeezenet_ssdncnn: CPU - regnety_400mc-ray: Total Time - 4K, 16 Rays Per Pixelcryptopp: Keyed Algorithmsstress-ng: Memory Copyingliquid-dsp: 4 - 256 - 57liquid-dsp: 2 - 256 - 57liquid-dsp: 1 - 256 - 57liquid-dsp: 8 - 256 - 57stress-ng: Matrix Mathaobench: 2048 x 2048 - Total Timecoremark: CoreMark Size 666 - Iterations Per Secondencode-flac: WAV To FLACcryptopp: All Algorithmspovray: Trace Timeavifenc: 2encode-wavpack: WAV To WavPackencode-mp3: WAV To MP3cryptopp: Integer + Elliptic Curve Public Key Algorithmshimeno: Poisson Pressure Solvercompress-zstd: 3, Long Mode - Compression Speedavifenc: 0openssl: SHA256espeak: Text-To-Speech Synthesisavifenc: 6, Losslessavifenc: 6tjbench: Decompression Throughputcompress-zstd: 19 - Decompression Speedcompress-lz4: 9 - Decompression Speedcompress-lz4: 3 - Decompression Speedopenjpeg: NASA Curiosity Panorama M34compress-zstd: 3 - Decompression Speedcompress-zstd: 19, Long Mode - Decompression Speedcompress-zstd: 3, Long Mode - Decompression Speedcompress-zstd: 8 - Compression Speedavifenc: 10, Losslesscompress-zstd: 8, Long Mode - Decompression Speedcompress-zstd: 8 - Decompression Speedsqlite-speedtest: Timed Time - Size 1,000lczero: Eigencompress-zstd: 19 - Compression Speedcompress-lz4: 9 - Compression Speedstress-ng: IO_uringprimesieve: 1e12 Prime Number Generationxmrig: Monero - 1Mcompress-zstd: 8, Long Mode - Compression Speedcompress-lz4: 3 - Compression Speeddraco: Church Facadeopenssl: RSA4096compress-zstd: 3 - Compression Speedcompress-lz4: 1 - Decompression Speedstress-ng: Cryptodraco: Lionstress-ng: Socket Activityxmrig: Wownero - 1Mcompress-lz4: 1 - Compression Speedopenssl: RSA4096compress-zstd: 19, Long Mode - Compression SpeedGCC 11.2.0Clang 13.0.117.1611.817.3133.782.524.182.612.3417.2013.3223954.102.17539.28182714.4014.265.8864.437508.8364482763.25115230000576110002877866715112000023588.9627.458179896.59941170.648954.95611372.017143.44217.2057.2391766.9858807577.316534240.0287.397805969105022.28915.65314.094206.1773503546.217478.517490.9538903850.23765.44221.1721.56.0704416.34016.451.372126322.748.94144281.6729.1182247.2693.051.9956491408.53341.227018.51511.7537474331.712798.221909.4599370.518.846.7931.6618.1880.445.869.515.844.8232.7725.1141899.943.76338.40836922.2120.158.0887.824374.8961753741.17151820000758986673789733319651000030254.2133.402148361.36244059.074823.15353262.416161.61219.3208.1241875.5235207158.970486253.7303.550847452735023.42914.92913.516197.9452253684.316863.316877.4520243977.73887.34356.6699.65.8874553.44141.052.900129723.249.89147040.9829.6262209.7703.451.3257221391.43301.126736.41527.1737724313.482804.821875.5499445.418.8OpenBenchmarking.org

NCNN

Target: CPU - Model: resnet50

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: resnet50Clang 13.0.1GCC 11.2.01122334455SE +/- 0.01, N = 3SE +/- 0.08, N = 346.7917.16MIN: 46.7 / MAX: 46.9-lgomp -lpthread - MIN: 15.54 / MAX: 27.861. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: alexnet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: alexnetClang 13.0.1GCC 11.2.0714212835SE +/- 0.00, N = 3SE +/- 0.10, N = 331.6611.81MIN: 31.62 / MAX: 33.42-lgomp -lpthread - MIN: 9.48 / MAX: 21.581. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: resnet18

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: resnet18Clang 13.0.1GCC 11.2.048121620SE +/- 0.01, N = 3SE +/- 0.04, N = 318.187.31MIN: 18.14 / MAX: 18.23-lgomp -lpthread - MIN: 6.17 / MAX: 16.921. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: vgg16

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: vgg16Clang 13.0.1GCC 11.2.020406080100SE +/- 0.01, N = 3SE +/- 0.14, N = 380.4433.78MIN: 80.22 / MAX: 80.95-lgomp -lpthread - MIN: 30.68 / MAX: 45.721. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: mnasnet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: mnasnetClang 13.0.1GCC 11.2.01.31852.6373.95555.2746.5925SE +/- 0.01, N = 2SE +/- 0.01, N = 35.862.52MIN: 5.84 / MAX: 5.87-lgomp -lpthread - MIN: 2.48 / MAX: 2.841. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: efficientnet-b0

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: efficientnet-b0Clang 13.0.1GCC 11.2.03691215SE +/- 0.00, N = 3SE +/- 0.02, N = 39.514.18MIN: 9.47 / MAX: 9.67-lgomp -lpthread - MIN: 4.13 / MAX: 8.11. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

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

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU-v2-v2 - Model: mobilenet-v2Clang 13.0.1GCC 11.2.01.3142.6283.9425.2566.57SE +/- 0.01, N = 3SE +/- 0.05, N = 35.842.61MIN: 5.81 / MAX: 5.87-lgomp -lpthread - MIN: 2.48 / MAX: 12.21. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

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

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU-v3-v3 - Model: mobilenet-v3Clang 13.0.1GCC 11.2.01.08452.1693.25354.3385.4225SE +/- 0.01, N = 3SE +/- 0.01, N = 34.822.34MIN: 4.8 / MAX: 4.85-lgomp -lpthread - MIN: 2.32 / MAX: 2.491. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: yolov4-tiny

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: yolov4-tinyClang 13.0.1GCC 11.2.0816243240SE +/- 0.00, N = 3SE +/- 0.07, N = 332.7717.20MIN: 32.68 / MAX: 32.88-lgomp -lpthread - MIN: 14.01 / MAX: 27.331. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: googlenet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: googlenetClang 13.0.1GCC 11.2.0612182430SE +/- 0.01, N = 3SE +/- 0.10, N = 325.1113.32MIN: 25.07 / MAX: 25.16-lgomp -lpthread - MIN: 9.14 / MAX: 21.971. (CXX) g++ options: -O3 -flto -rdynamic

Stress-NG

Test: Vector Math

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.13.02Test: Vector MathClang 13.0.1GCC 11.2.09K18K27K36K45KSE +/- 2.19, N = 3SE +/- 195.44, N = 1541899.9423954.101. (CC) gcc options: -O3 -flto -O2 -std=gnu99 -lm -laio -lbsd -lcrypt -lrt -lz -ldl -pthread -lkmod -lc -latomic

NCNN

Target: CPU - Model: shufflenet-v2

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: shufflenet-v2Clang 13.0.1GCC 11.2.00.8461.6922.5383.3844.23SE +/- 0.00, N = 3SE +/- 0.01, N = 33.762.17MAX: 3.85-lgomp -lpthread - MIN: 2.15 / MAX: 2.481. (CXX) g++ options: -O3 -flto -rdynamic

Crypto++

Test: Unkeyed Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Unkeyed AlgorithmsClang 13.0.1GCC 11.2.0120240360480600SE +/- 0.01, N = 3SE +/- 0.04, N = 3338.41539.281. (CXX) g++ options: -O3 -flto -fPIC -pthread -pipe

NCNN

Target: CPU - Model: mobilenet

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: mobilenetClang 13.0.1GCC 11.2.0510152025SE +/- 0.01, N = 3SE +/- 0.17, N = 322.2114.40MIN: 22.15 / MAX: 22.25-lgomp -lpthread - MIN: 9.21 / MAX: 25.21. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: squeezenet_ssd

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: squeezenet_ssdClang 13.0.1GCC 11.2.0510152025SE +/- 0.00, N = 3SE +/- 0.17, N = 320.1514.26MIN: 20.08 / MAX: 20.21-lgomp -lpthread - MIN: 9.6 / MAX: 28.571. (CXX) g++ options: -O3 -flto -rdynamic

NCNN

Target: CPU - Model: regnety_400m

OpenBenchmarking.orgms, Fewer Is BetterNCNN 20210720Target: CPU - Model: regnety_400mClang 13.0.1GCC 11.2.0246810SE +/- 0.00, N = 3SE +/- 0.03, N = 38.085.88MIN: 8.05 / MAX: 8.15-lgomp -lpthread - MIN: 5.78 / MAX: 8.621. (CXX) g++ options: -O3 -flto -rdynamic

C-Ray

Total Time - 4K, 16 Rays Per Pixel

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total Time - 4K, 16 Rays Per PixelClang 13.0.1GCC 11.2.020406080100SE +/- 0.05, N = 3SE +/- 0.04, N = 387.8264.441. (CC) gcc options: -lm -lpthread -O3 -flto

Crypto++

Test: Keyed Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Keyed AlgorithmsClang 13.0.1GCC 11.2.0110220330440550SE +/- 1.08, N = 3SE +/- 0.07, N = 3374.90508.841. (CXX) g++ options: -O3 -flto -fPIC -pthread -pipe

Stress-NG

Test: Memory Copying

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.13.02Test: Memory CopyingClang 13.0.1GCC 11.2.08001600240032004000SE +/- 15.21, N = 3SE +/- 6.71, N = 33741.172763.251. (CC) gcc options: -O3 -flto -O2 -std=gnu99 -lm -laio -lbsd -lcrypt -lrt -lz -ldl -pthread -lkmod -lc -latomic

Liquid-DSP

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

OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 4 - Buffer Length: 256 - Filter Length: 57Clang 13.0.1GCC 11.2.030M60M90M120M150MSE +/- 0.00, N = 3SE +/- 0.00, N = 31518200001152300001. (CC) gcc options: -O3 -flto -pthread -lm -lc -lliquid

Liquid-DSP

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

OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 2 - Buffer Length: 256 - Filter Length: 57Clang 13.0.1GCC 11.2.016M32M48M64M80MSE +/- 1763.83, N = 3SE +/- 2081.67, N = 375898667576110001. (CC) gcc options: -O3 -flto -pthread -lm -lc -lliquid

Liquid-DSP

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

OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 1 - Buffer Length: 256 - Filter Length: 57Clang 13.0.1GCC 11.2.08M16M24M32M40MSE +/- 2905.93, N = 3SE +/- 3527.67, N = 337897333287786671. (CC) gcc options: -O3 -flto -pthread -lm -lc -lliquid

Liquid-DSP

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

OpenBenchmarking.orgsamples/s, More Is BetterLiquid-DSP 2021.01.31Threads: 8 - Buffer Length: 256 - Filter Length: 57Clang 13.0.1GCC 11.2.040M80M120M160M200MSE +/- 0.00, N = 3SE +/- 0.00, N = 31965100001511200001. (CC) gcc options: -O3 -flto -pthread -lm -lc -lliquid

Stress-NG

Test: Matrix Math

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.13.02Test: Matrix MathClang 13.0.1GCC 11.2.06K12K18K24K30KSE +/- 0.69, N = 3SE +/- 332.61, N = 330254.2123588.961. (CC) gcc options: -O3 -flto -O2 -std=gnu99 -lm -laio -lbsd -lcrypt -lrt -lz -ldl -pthread -lkmod -lc -latomic

AOBench

Size: 2048 x 2048 - Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterAOBenchSize: 2048 x 2048 - Total TimeClang 13.0.1GCC 11.2.0816243240SE +/- 0.01, N = 3SE +/- 0.03, N = 333.4027.461. (CC) gcc options: -lm -O3 -flto

Coremark

CoreMark Size 666 - Iterations Per Second

OpenBenchmarking.orgIterations/Sec, More Is BetterCoremark 1.0CoreMark Size 666 - Iterations Per SecondClang 13.0.1GCC 11.2.040K80K120K160K200KSE +/- 146.27, N = 3SE +/- 59.94, N = 3148361.36179896.601. (CC) gcc options: -O2 -O3 -flto -lrt" -lrt

FLAC Audio Encoding

WAV To FLAC

OpenBenchmarking.orgSeconds, Fewer Is BetterFLAC Audio Encoding 1.3.3WAV To FLACClang 13.0.1GCC 11.2.01632486480SE +/- 0.01, N = 5SE +/- 0.01, N = 559.0770.65-fvisibility=hidden1. (CXX) g++ options: -O3 -flto -logg -lm

Crypto++

Test: All Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: All AlgorithmsClang 13.0.1GCC 11.2.02004006008001000SE +/- 0.17, N = 3SE +/- 0.23, N = 3823.15954.961. (CXX) g++ options: -O3 -flto -fPIC -pthread -pipe

POV-Ray

Trace Time

OpenBenchmarking.orgSeconds, Fewer Is BetterPOV-Ray 3.7.0.7Trace TimeClang 13.0.1GCC 11.2.01632486480SE +/- 0.64, N = 5SE +/- 0.85, N = 462.4272.02-R/usr/lib1. (CXX) g++ options: -pipe -O3 -ffast-math -flto -lSDL -lpthread -lXpm -lSM -lICE -lX11 -ltiff -ljpeg -lpng -lz -lrt -lm -lboost_thread -lboost_system

libavif avifenc

Encoder Speed: 2

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.10Encoder Speed: 2Clang 13.0.1GCC 11.2.04080120160200SE +/- 0.72, N = 3SE +/- 0.32, N = 3161.61143.441. (CXX) g++ options: -O3 -fPIC -flto -lm

WavPack Audio Encoding

WAV To WavPack

OpenBenchmarking.orgSeconds, Fewer Is BetterWavPack Audio Encoding 5.3WAV To WavPackClang 13.0.1GCC 11.2.0510152025SE +/- 0.00, N = 5SE +/- 0.00, N = 519.3217.211. (CXX) g++ options: -O3 -flto -rdynamic

LAME MP3 Encoding

WAV To MP3

OpenBenchmarking.orgSeconds, Fewer Is BetterLAME MP3 Encoding 3.100WAV To MP3Clang 13.0.1GCC 11.2.0246810SE +/- 0.005, N = 3SE +/- 0.011, N = 38.1247.239-pipe1. (CC) gcc options: -O3 -flto -lncurses -lm

Crypto++

Test: Integer + Elliptic Curve Public Key Algorithms

OpenBenchmarking.orgMiB/second, More Is BetterCrypto++ 8.2Test: Integer + Elliptic Curve Public Key AlgorithmsClang 13.0.1GCC 11.2.0400800120016002000SE +/- 1.78, N = 3SE +/- 0.67, N = 31875.521766.991. (CXX) g++ options: -O3 -flto -fPIC -pthread -pipe

Himeno Benchmark

Poisson Pressure Solver

OpenBenchmarking.orgMFLOPS, More Is BetterHimeno Benchmark 3.0Poisson Pressure SolverClang 13.0.1GCC 11.2.016003200480064008000SE +/- 3.44, N = 3SE +/- 2.64, N = 37158.977577.321. (CC) gcc options: -O3 -flto

Zstd Compression

Compression Level: 3, Long Mode - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 3, Long Mode - Compression SpeedClang 13.0.1GCC 11.2.060120180240300SE +/- 3.51, N = 3SE +/- 2.00, N = 15253.7240.01. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

libavif avifenc

Encoder Speed: 0

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.10Encoder Speed: 0Clang 13.0.1GCC 11.2.070140210280350SE +/- 0.16, N = 3SE +/- 0.92, N = 3303.55287.401. (CXX) g++ options: -O3 -fPIC -flto -lm

OpenSSL

Algorithm: SHA256

OpenBenchmarking.orgbyte/s, More Is BetterOpenSSL 3.0Algorithm: SHA256Clang 13.0.1GCC 11.2.02000M4000M6000M8000M10000MSE +/- 3887401.32, N = 3SE +/- 12283962.01, N = 384745273508059691050-Qunused-arguments1. (CC) gcc options: -pthread -O3 -flto -lssl -lcrypto -ldl

eSpeak-NG Speech Engine

Text-To-Speech Synthesis

OpenBenchmarking.orgSeconds, Fewer Is BettereSpeak-NG Speech Engine 20200907Text-To-Speech SynthesisClang 13.0.1GCC 11.2.0612182430SE +/- 0.03, N = 4SE +/- 0.03, N = 423.4322.291. (CC) gcc options: -O3 -flto -std=c99 -lpthread -lm

libavif avifenc

Encoder Speed: 6, Lossless

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.10Encoder Speed: 6, LosslessClang 13.0.1GCC 11.2.048121620SE +/- 0.21, N = 3SE +/- 0.18, N = 314.9315.651. (CXX) g++ options: -O3 -fPIC -flto -lm

libavif avifenc

Encoder Speed: 6

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.10Encoder Speed: 6Clang 13.0.1GCC 11.2.048121620SE +/- 0.15, N = 5SE +/- 0.14, N = 613.5214.091. (CXX) g++ options: -O3 -fPIC -flto -lm

libjpeg-turbo tjbench

Test: Decompression Throughput

OpenBenchmarking.orgMegapixels/sec, More Is Betterlibjpeg-turbo tjbench 2.1.0Test: Decompression ThroughputClang 13.0.1GCC 11.2.050100150200250SE +/- 2.27, N = 3SE +/- 0.03, N = 3197.95206.18-lm1. (CC) gcc options: -O3 -flto -rdynamic

Zstd Compression

Compression Level: 19 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19 - Decompression SpeedClang 13.0.1GCC 11.2.08001600240032004000SE +/- 1.62, N = 3SE +/- 0.15, N = 33684.33546.21. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

LZ4 Compression

Compression Level: 9 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterLZ4 Compression 1.9.3Compression Level: 9 - Decompression SpeedClang 13.0.1GCC 11.2.04K8K12K16K20KSE +/- 3.18, N = 3SE +/- 1.03, N = 316863.317478.51. (CC) gcc options: -O3

LZ4 Compression

Compression Level: 3 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterLZ4 Compression 1.9.3Compression Level: 3 - Decompression SpeedClang 13.0.1GCC 11.2.04K8K12K16K20KSE +/- 3.46, N = 3SE +/- 0.40, N = 316877.417490.91. (CC) gcc options: -O3

OpenJPEG

Encode: NASA Curiosity Panorama M34

OpenBenchmarking.orgms, Fewer Is BetterOpenJPEG 2.4Encode: NASA Curiosity Panorama M34Clang 13.0.1GCC 11.2.012K24K36K48K60KSE +/- 161.48, N = 3SE +/- 92.73, N = 352024538901. (CXX) g++ options: -O3 -flto -rdynamic

Zstd Compression

Compression Level: 3 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 3 - Decompression SpeedClang 13.0.1GCC 11.2.09001800270036004500SE +/- 0.75, N = 3SE +/- 0.87, N = 33977.73850.21. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

Zstd Compression

Compression Level: 19, Long Mode - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19, Long Mode - Decompression SpeedClang 13.0.1GCC 11.2.08001600240032004000SE +/- 0.69, N = 4SE +/- 0.92, N = 33887.33765.41. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

Zstd Compression

Compression Level: 3, Long Mode - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 3, Long Mode - Decompression SpeedClang 13.0.1GCC 11.2.09001800270036004500SE +/- 0.40, N = 3SE +/- 0.25, N = 154356.64221.11. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

Zstd Compression

Compression Level: 8 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 8 - Compression SpeedClang 13.0.1GCC 11.2.0160320480640800SE +/- 4.97, N = 3SE +/- 3.70, N = 3699.6721.51. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

libavif avifenc

Encoder Speed: 10, Lossless

OpenBenchmarking.orgSeconds, Fewer Is Betterlibavif avifenc 0.10Encoder Speed: 10, LosslessClang 13.0.1GCC 11.2.0246810SE +/- 0.047, N = 3SE +/- 0.049, N = 35.8876.0701. (CXX) g++ options: -O3 -fPIC -flto -lm

Zstd Compression

Compression Level: 8, Long Mode - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 8, Long Mode - Decompression SpeedClang 13.0.1GCC 11.2.010002000300040005000SE +/- 3.13, N = 3SE +/- 1.55, N = 34553.44416.31. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

Zstd Compression

Compression Level: 8 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 8 - Decompression SpeedClang 13.0.1GCC 11.2.09001800270036004500SE +/- 3.02, N = 3SE +/- 1.95, N = 34141.04016.41. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

SQLite Speedtest

Timed Time - Size 1,000

OpenBenchmarking.orgSeconds, Fewer Is BetterSQLite Speedtest 3.30Timed Time - Size 1,000Clang 13.0.1GCC 11.2.01224364860SE +/- 0.07, N = 3SE +/- 0.04, N = 352.9051.371. (CC) gcc options: -O3 -flto -lz

LeelaChessZero

Backend: Eigen

OpenBenchmarking.orgNodes Per Second, More Is BetterLeelaChessZero 0.28Backend: EigenClang 13.0.1GCC 11.2.030060090012001500SE +/- 18.26, N = 3SE +/- 10.69, N = 3129712631. (CXX) g++ options: -flto -O3 -pthread

Zstd Compression

Compression Level: 19 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19 - Compression SpeedClang 13.0.1GCC 11.2.0612182430SE +/- 0.17, N = 3SE +/- 0.07, N = 323.222.71. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

LZ4 Compression

Compression Level: 9 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterLZ4 Compression 1.9.3Compression Level: 9 - Compression SpeedClang 13.0.1GCC 11.2.01122334455SE +/- 0.12, N = 3SE +/- 0.09, N = 349.8948.941. (CC) gcc options: -O3

Stress-NG

Test: IO_uring

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.13.02Test: IO_uringClang 13.0.1GCC 11.2.030K60K90K120K150KSE +/- 271.95, N = 3SE +/- 28.54, N = 3147040.98144281.671. (CC) gcc options: -O3 -flto -O2 -std=gnu99 -lm -laio -lbsd -lcrypt -lrt -lz -ldl -pthread -lkmod -lc -latomic

Primesieve

1e12 Prime Number Generation

OpenBenchmarking.orgSeconds, Fewer Is BetterPrimesieve 7.71e12 Prime Number GenerationClang 13.0.1GCC 11.2.0714212835SE +/- 0.03, N = 3SE +/- 0.01, N = 329.6329.121. (CXX) g++ options: -O3 -flto

Xmrig

Variant: Monero - Hash Count: 1M

OpenBenchmarking.orgH/s, More Is BetterXmrig 6.12.1Variant: Monero - Hash Count: 1MClang 13.0.1GCC 11.2.05001000150020002500SE +/- 7.70, N = 3SE +/- 9.05, N = 32209.72247.2-funroll-loops-static-libgcc -static-libstdc++1. (CXX) g++ options: -O3 -flto -fexceptions -fno-rtti -Ofast -rdynamic -lssl -lcrypto -luv -lpthread -lrt -ldl -lhwloc

Zstd Compression

Compression Level: 8, Long Mode - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 8, Long Mode - Compression SpeedClang 13.0.1GCC 11.2.0150300450600750SE +/- 2.38, N = 3SE +/- 2.35, N = 3703.4693.01. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

LZ4 Compression

Compression Level: 3 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterLZ4 Compression 1.9.3Compression Level: 3 - Compression SpeedClang 13.0.1GCC 11.2.01224364860SE +/- 0.09, N = 3SE +/- 0.05, N = 351.3251.991. (CC) gcc options: -O3

Google Draco

Model: Church Facade

OpenBenchmarking.orgms, Fewer Is BetterGoogle Draco 1.5.0Model: Church FacadeClang 13.0.1GCC 11.2.012002400360048006000SE +/- 3.79, N = 3SE +/- 7.21, N = 3572256491. (CXX) g++ options: -O3 -flto

OpenSSL

Algorithm: RSA4096

OpenBenchmarking.orgsign/s, More Is BetterOpenSSL 3.0Algorithm: RSA4096Clang 13.0.1GCC 11.2.030060090012001500SE +/- 0.15, N = 3SE +/- 0.78, N = 31391.41408.5-Qunused-arguments1. (CC) gcc options: -pthread -O3 -flto -lssl -lcrypto -ldl

Zstd Compression

Compression Level: 3 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 3 - Compression SpeedClang 13.0.1GCC 11.2.07001400210028003500SE +/- 39.46, N = 3SE +/- 6.19, N = 33301.13341.21. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4

LZ4 Compression

Compression Level: 1 - Decompression Speed

OpenBenchmarking.orgMB/s, More Is BetterLZ4 Compression 1.9.3Compression Level: 1 - Decompression SpeedClang 13.0.1GCC 11.2.06K12K18K24K30KSE +/- 8.86, N = 3SE +/- 1.47, N = 326736.427018.51. (CC) gcc options: -O3

Stress-NG

Test: Crypto

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.13.02Test: CryptoClang 13.0.1GCC 11.2.030060090012001500SE +/- 0.94, N = 3SE +/- 16.47, N = 31527.171511.751. (CC) gcc options: -O3 -flto -O2 -std=gnu99 -lm -laio -lbsd -lcrypt -lrt -lz -ldl -pthread -lkmod -lc -latomic

Google Draco

Model: Lion

OpenBenchmarking.orgms, Fewer Is BetterGoogle Draco 1.5.0Model: LionClang 13.0.1GCC 11.2.08001600240032004000SE +/- 0.58, N = 3SE +/- 2.73, N = 3377237471. (CXX) g++ options: -O3 -flto

Stress-NG

Test: Socket Activity

OpenBenchmarking.orgBogo Ops/s, More Is BetterStress-NG 0.13.02Test: Socket ActivityClang 13.0.1GCC 11.2.09001800270036004500SE +/- 13.20, N = 3SE +/- 4.58, N = 34313.484331.711. (CC) gcc options: -O3 -flto -O2 -std=gnu99 -lm -laio -lbsd -lcrypt -lrt -lz -ldl -pthread -lkmod -lc -latomic

Xmrig

Variant: Wownero - Hash Count: 1M

OpenBenchmarking.orgH/s, More Is BetterXmrig 6.12.1Variant: Wownero - Hash Count: 1MClang 13.0.1GCC 11.2.06001200180024003000SE +/- 1.95, N = 3SE +/- 1.83, N = 32804.82798.2-funroll-loops-static-libgcc -static-libstdc++1. (CXX) g++ options: -O3 -flto -fexceptions -fno-rtti -Ofast -rdynamic -lssl -lcrypto -luv -lpthread -lrt -ldl -lhwloc

LZ4 Compression

Compression Level: 1 - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterLZ4 Compression 1.9.3Compression Level: 1 - Compression SpeedClang 13.0.1GCC 11.2.05K10K15K20K25KSE +/- 3.05, N = 3SE +/- 5.50, N = 321875.5421909.451. (CC) gcc options: -O3

OpenSSL

Algorithm: RSA4096

OpenBenchmarking.orgverify/s, More Is BetterOpenSSL 3.0Algorithm: RSA4096Clang 13.0.1GCC 11.2.020K40K60K80K100KSE +/- 16.80, N = 3SE +/- 18.59, N = 399445.499370.5-Qunused-arguments1. (CC) gcc options: -pthread -O3 -flto -lssl -lcrypto -ldl

Zstd Compression

Compression Level: 19, Long Mode - Compression Speed

OpenBenchmarking.orgMB/s, More Is BetterZstd Compression 1.5.0Compression Level: 19, Long Mode - Compression SpeedClang 13.0.1GCC 11.2.0510152025SE +/- 0.21, N = 4SE +/- 0.13, N = 318.818.81. (CC) gcc options: -O3 -flto -pthread -lz -llzma -llz4


Phoronix Test Suite v10.8.5