Apple M1 Compilers

Apple M1 compiler testing for a future article.

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

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 Compilerscryptopp: All Algorithmsxmrig: Monero - 1Mcryptopp: Keyed Algorithmslczero: Eigenxmrig: Wownero - 1Mavifenc: 0cryptopp: Integer + Elliptic Curve Public Key Algorithmsopenssl: SHA256avifenc: 2compress-zstd: 3, Long Mode - Decompression Speedcompress-zstd: 3, Long Mode - Compression Speedencode-flac: WAV To FLACpovray: Trace Timestress-ng: Vector Mathcompress-zstd: 19, Long Mode - Decompression Speedcompress-zstd: 19, Long Mode - Compression Speedncnn: CPU - regnety_400mncnn: CPU - squeezenet_ssdncnn: CPU - yolov4-tinyncnn: CPU - resnet50ncnn: CPU - alexnetncnn: CPU - resnet18ncnn: CPU - vgg16ncnn: CPU - googlenetncnn: CPU - efficientnet-b0ncnn: CPU - mnasnetncnn: CPU - shufflenet-v2ncnn: CPU-v3-v3 - mobilenet-v3ncnn: CPU-v2-v2 - mobilenet-v2ncnn: CPU - mobilenetc-ray: Total Time - 4K, 16 Rays Per Pixelcryptopp: Unkeyed Algorithmscompress-zstd: 19 - Decompression Speedcompress-zstd: 19 - Compression Speedcompress-lz4: 9 - Decompression Speedcompress-lz4: 9 - Compression Speedopenssl: RSA4096openssl: RSA4096compress-lz4: 3 - Decompression Speedcompress-lz4: 3 - Compression Speedsqlite-speedtest: Timed Time - Size 1,000compress-zstd: 8, Long Mode - Decompression Speedcompress-zstd: 8, Long Mode - Compression Speedcompress-zstd: 8 - Decompression Speedcompress-zstd: 8 - Compression Speedcompress-zstd: 3 - Decompression Speedcompress-zstd: 3 - Compression Speedespeak: Text-To-Speech Synthesisencode-wavpack: WAV To WavPackaobench: 2048 x 2048 - Total Timestress-ng: Cryptostress-ng: Memory Copyingstress-ng: IO_uringstress-ng: Matrix Mathstress-ng: Socket Activityprimesieve: 1e12 Prime Number Generationcompress-lz4: 1 - Decompression Speedcompress-lz4: 1 - Compression Speedcoremark: CoreMark Size 666 - Iterations Per Secondavifenc: 6tjbench: Decompression Throughputliquid-dsp: 8 - 256 - 57liquid-dsp: 4 - 256 - 57liquid-dsp: 2 - 256 - 57liquid-dsp: 1 - 256 - 57avifenc: 6, Losslesshimeno: Poisson Pressure Solveropenjpeg: NASA Curiosity Panorama M34encode-mp3: WAV To MP3draco: Church Facadeavifenc: 10, Losslessdraco: LionGCC 11.2.0Clang 13.0.1954.9561132247.2508.83644812632798.2287.3971766.9858808059691050143.4424221.1240.070.64872.01723954.103765.418.85.8814.2617.2017.1611.817.3133.7813.324.182.522.172.342.6114.4064.437539.2818273546.222.717478.548.9499370.51408.517490.951.9951.3724416.3693.04016.4721.53850.23341.222.28917.20527.4581511.752763.25144281.6723588.964331.7129.11827018.521909.45179896.59941114.094206.177350151120000115230000576110002877866715.6537577.316534538907.23956496.0703747823.1535322209.7374.89617512972804.8303.5501875.5235208474527350161.6124356.6253.759.07462.41641899.943887.318.88.0820.1532.7746.7931.6618.1880.4425.119.515.863.764.825.8422.2187.824338.4083693684.323.216863.349.8999445.41391.416877.451.3252.9004553.4703.44141.0699.63977.73301.123.42919.32033.4021527.173741.17147040.9830254.214313.4829.62626736.421875.54148361.36244013.516197.945225196510000151820000758986673789733314.9297158.970486520248.12457225.8873772OpenBenchmarking.org

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

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

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

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

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

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

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

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

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

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: 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

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

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

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

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: 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

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

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: 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: 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: 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

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 - 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: 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

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-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 - 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

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: 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

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

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 - 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: 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

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

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

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

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

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

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, 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

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

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

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: 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Phoronix Test Suite v10.8.5