macOS Sierra vs. Ubuntu 16.04 LTS Benchmarking MacBook Air Haswell testing of macOS 10.12 Sierra versus Ubuntu 16.04 LTS with both GCC and Clang compilers. Benchmarks by Michael Larabel for a future article on Phoronix.
HTML result view exported from: https://openbenchmarking.org/result/1609278-LO-MACOS858110&sor&grs .
macOS Sierra vs. Ubuntu 16.04 LTS Benchmarking Processor Motherboard Chipset Memory Disk Graphics Monitor Audio Network OS Kernel Compiler File-System Screen Resolution Desktop Display Server Display Driver OpenGL macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 Intel Core i5 @ 1.30GHz (4 Cores) Apple MacBook Air Apple SSD 2 x 2048 MB DDR3-1600MHz 121GB APPLE SSD SD0128F Intel HD 5000 1536MB Color LCD macOS 10.12 16.0.0 (x86_64) Apple LLVM 8.0.0 (clang-800.0.38) + GCC 4.2.1 + Xcode 8.0 Journaled HFS+ 1366x768 Intel Core i5-4250U @ 2.60GHz (4 Cores) Apple Mac-35C1E88140C3E6CF Intel Haswell-ULT DRAM 4096MB 121GB APPLE SSD SD0128 Intel Haswell-ULT IGP (1000MHz) Intel Haswell-ULT HD Audio Broadcom BCM4360 802.11ac Wireless Ubuntu 16.04 4.4.0-38-generic (x86_64) Unity 7.4.0 X Server 1.18.3 intel 2.99.917 3.3 Mesa 11.2.0 GCC 5.4.0 20160609 ext4 Clang 3.8.0-2ubuntu4 OpenBenchmarking.org System Details - macOS 10.12: Python 2.7.10. - Ubuntu 16.04.1 LTS: Python 2.7.12. - Ubuntu 16.04.1 LTS - Clang 3.8: Python 2.7.12. Compiler Details - Ubuntu 16.04.1 LTS: --build=x86_64-linux-gnu --disable-browser-plugin --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-gtk-cairo --enable-java-awt=gtk --enable-java-home --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --enable-libmpx --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-arch-directory=amd64 --with-default-libstdcxx-abi=new --with-multilib-list=m32,m64,mx32 --with-tune=generic -v Disk Details - Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: DEADLINE / data=ordered,errors=remount-ro,relatime,rw Processor Details - Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: Scaling Governor: intel_pstate powersave Graphics Details - Ubuntu 16.04.1 LTS, Ubuntu 16.04.1 LTS - Clang 3.8: SNA
macOS Sierra vs. Ubuntu 16.04 LTS Benchmarking pgbench: On-Disk - Normal Load - Read Write primesieve: 1e12 Prime Number Generation himeno: Poisson Pressure Solver build-imagemagick: Time To Compile compilebench: Compile pgbench: Mostly RAM - Normal Load - Read Write urbanterror: 1366 x 768 graphics-magick: HWB Color Space graphics-magick: Resizing scimark2: Composite hint: FLOAT fhourstones: Complex Connect-4 Solving stockfish: Total Time tscp: AI Chess Performance blake2: Phoronix Test Suite v6.6.0 openssl: RSA 4096-bit Performance c-ray: Total Time build-php: Time To Compile mafft: Multiple Sequence Alignment compilebench: Initial Create sqlite: Default Test Directory macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 2318.49 488.28 676.81 112.14 213.06 3088.64 53.93 96 77 1055.86 203814909.62 8505.53 5244 907403 4.52 44.83 97.77 85.36 41.25 50.60 31.97 1138.14 259.97 1282.88 152.11 335.80 2001.79 73.13 124 103 903.14 243097904.36 8838.08 4941 865880 4.36 192.37 73.28 63.83 16.12 271.03 27.10 1153.87 511.49 978.66 200.81 348.09 2088.44 92 78 1104.48 202585759.02 9135.77 4890 923505 6.07 134.55 146.65 89.77 14.63 270.56 29.19 OpenBenchmarking.org
Urban Terror Resolution: 1366 x 768 - Total Frame Time OpenBenchmarking.org Milliseconds, Fewer Is Better Urban Terror 4.2.013 Resolution: 1366 x 768 - Total Frame Time Ubuntu 16.04.1 LTS macOS 10.12 10 20 30 40 50 Min: 1 / Avg: 13.13 / Max: 43 Min: 2 / Avg: 18.37 / Max: 49
PostgreSQL pgbench Scaling: On-Disk - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: On-Disk - Test: Normal Load - Mode: Read Write macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS 500 1000 1500 2000 2500 SE +/- 5.29, N = 3 SE +/- 19.43, N = 3 SE +/- 10.80, N = 3 2318.49 1153.87 1138.14 -pthreads -mthreads -pthreads -mthreads -lrt -lcrypt -ldl -lrt -lcrypt -ldl 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 5.4.2 1e12 Prime Number Generation Ubuntu 16.04.1 LTS macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 110 220 330 440 550 SE +/- 2.14, N = 3 SE +/- 0.23, N = 3 SE +/- 2.01, N = 3 259.97 488.28 511.49 -fopenmp 1. (CXX) g++ options: -O2
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 300 600 900 1200 1500 SE +/- 2.16, N = 3 SE +/- 6.78, N = 3 SE +/- 0.80, N = 3 1282.88 978.66 676.81 -mavx2 -mavx2 1. (CC) gcc options: -O3
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.9.0 Time To Compile macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 40 80 120 160 200 SE +/- 0.05, N = 3 SE +/- 2.87, N = 6 SE +/- 2.11, N = 3 112.14 152.11 200.81
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS macOS 10.12 80 160 240 320 400 SE +/- 1.47, N = 3 SE +/- 2.28, N = 3 SE +/- 4.09, N = 3 348.09 335.80 213.06
PostgreSQL pgbench Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write OpenBenchmarking.org TPS, More Is Better PostgreSQL pgbench 9.4.3 Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS 700 1400 2100 2800 3500 SE +/- 24.81, N = 3 SE +/- 5.02, N = 3 SE +/- 15.59, N = 3 3088.64 2088.44 2001.79 -pthreads -mthreads -pthreads -mthreads -lrt -lcrypt -ldl -lrt -lcrypt -ldl 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -lm
Urban Terror Resolution: 1366 x 768 OpenBenchmarking.org Frames Per Second, More Is Better Urban Terror 4.2.013 Resolution: 1366 x 768 Ubuntu 16.04.1 LTS macOS 10.12 16 32 48 64 80 SE +/- 1.45, N = 3 SE +/- 0.03, N = 3 73.13 53.93
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: HWB Color Space Ubuntu 16.04.1 LTS macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 124 96 92 -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp -lbz2 -lxml2 -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma 1. (CC) gcc options: -O2 -lz -lm -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.19 Operation: Resizing Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 20 40 60 80 100 SE +/- 1.75, N = 4 SE +/- 1.15, N = 3 SE +/- 0.00, N = 3 103 78 77 -fopenmp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lgomp -pthread -ljbig -lwebp -ltiff -ljpeg -lXext -lX11 -llzma -lbz2 -lxml2 1. (CC) gcc options: -O2 -lz -lm -lpthread
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 Ubuntu 16.04.1 LTS 200 400 600 800 1000 SE +/- 7.49, N = 4 SE +/- 9.47, N = 4 SE +/- 3.53, N = 4 1104.48 1055.86 903.14
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT Ubuntu 16.04.1 LTS macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 50M 100M 150M 200M 250M SE +/- 374435.39, N = 3 SE +/- 251969.19, N = 3 SE +/- 29792.86, N = 3 243097904.36 203814909.62 202585759.02 1. (CC) gcc options: -O3 -march=native -lm
Fhourstones Complex Connect-4 Solving OpenBenchmarking.org Kpos / sec, More Is Better Fhourstones 3.1 Complex Connect-4 Solving Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS macOS 10.12 2K 4K 6K 8K 10K SE +/- 144.38, N = 6 SE +/- 149.35, N = 6 SE +/- 6.70, N = 3 9135.77 8838.08 8505.53 1. (CC) gcc options: -O3
Stockfish Total Time OpenBenchmarking.org ms, Fewer Is Better Stockfish 2014-11-26 Total Time Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS macOS 10.12 1100 2200 3300 4400 5500 SE +/- 0.88, N = 3 SE +/- 2.60, N = 3 SE +/- 6.96, N = 3 4890 4941 5244 -flto -arch -mdynamic-no-pic 1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 Ubuntu 16.04.1 LTS 200K 400K 600K 800K 1000K SE +/- 379.18, N = 5 SE +/- 2443.53, N = 5 SE +/- 5639.62, N = 5 923505 907403 865880 1. (CC) gcc options: -O3 -march=native
BLAKE2 Phoronix Test Suite v6.6.0 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20130131 Phoronix Test Suite v6.6.0 Ubuntu 16.04.1 LTS macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 2 4 6 8 10 SE +/- 0.00, N = 3 SE +/- 0.01, N = 3 SE +/- 0.96, N = 6 4.36 4.52 6.07 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1g RSA 4096-bit Performance Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 40 80 120 160 200 SE +/- 0.12, N = 3 SE +/- 17.49, N = 6 SE +/- 0.03, N = 3 192.37 134.55 44.83 -m64 -ldl -m64 -ldl -arch -fomit-frame-pointer 1. (CC) gcc options: -O3 -lssl -lcrypto
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time Ubuntu 16.04.1 LTS macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 30 60 90 120 150 SE +/- 0.01, N = 3 SE +/- 0.01, N = 3 SE +/- 6.24, N = 6 73.28 97.77 146.65 1. (CC) gcc options: -lm -lpthread -O3
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile Ubuntu 16.04.1 LTS macOS 10.12 Ubuntu 16.04.1 LTS - Clang 3.8 20 40 60 80 100 SE +/- 0.11, N = 3 SE +/- 0.07, N = 3 SE +/- 5.07, N = 6 63.83 85.36 89.77 -ldl -lpthread -liconv -ldl 1. (CC) gcc options: -O2 -pedantic -lz -lm
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment Ubuntu 16.04.1 LTS - Clang 3.8 Ubuntu 16.04.1 LTS macOS 10.12 9 18 27 36 45 SE +/- 0.05, N = 3 SE +/- 2.03, N = 6 SE +/- 0.07, N = 3 14.63 16.12 41.25 1. (CC) gcc options: -O3 -lm -lpthread
Compile Bench Test: Initial Create OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Initial Create Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 60 120 180 240 300 SE +/- 13.49, N = 3 SE +/- 12.70, N = 3 SE +/- 0.71, N = 3 271.03 270.56 50.60
SQLite Test Target: Default Test Directory OpenBenchmarking.org Seconds, Fewer Is Better SQLite 3.8.10.2 Test Target: Default Test Directory Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 7 14 21 28 35 SE +/- 0.37, N = 6 SE +/- 2.54, N = 6 SE +/- 1.93, N = 6 27.10 29.19 31.97 -ldl -lpthread -ldl -lpthread -lreadline -lcurses 1. (CC) gcc options: -O2
Phoronix Test Suite v10.8.5