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&sro&grw .
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 tscp: AI Chess Performance scimark2: Composite compilebench: Compile compilebench: Initial Create hint: FLOAT blake2: Phoronix Test Suite v6.6.0 mafft: Multiple Sequence Alignment himeno: Poisson Pressure Solver build-imagemagick: Time To Compile primesieve: 1e12 Prime Number Generation stockfish: Total Time build-php: Time To Compile graphics-magick: Resizing graphics-magick: HWB Color Space c-ray: Total Time openssl: RSA 4096-bit Performance sqlite: Default Test Directory pgbench: Mostly RAM - Normal Load - Read Write urbanterror: 1366 x 768 pgbench: On-Disk - Normal Load - Read Write fhourstones: Complex Connect-4 Solving macOS 10.12 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 907403 1055.86 213.06 50.60 203814909.62 4.52 41.25 676.81 112.14 488.28 5244 85.36 77 96 97.77 44.83 31.97 3088.64 53.93 2318.49 8505.53 865880 903.14 335.80 271.03 243097904.36 4.36 16.12 1282.88 152.11 259.97 4941 63.83 103 124 73.28 192.37 27.10 2001.79 73.13 1138.14 8838.08 923505 1104.48 348.09 270.56 202585759.02 6.07 14.63 978.66 200.81 511.49 4890 89.77 78 92 146.65 134.55 29.19 2088.44 1153.87 9135.77 OpenBenchmarking.org
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 200K 400K 600K 800K 1000K SE +/- 5639.62, N = 5 SE +/- 379.18, N = 5 SE +/- 2443.53, N = 5 865880 923505 907403 1. (CC) gcc options: -O3 -march=native
SciMark Computational Test: Composite OpenBenchmarking.org Mflops, More Is Better SciMark 2.0 Computational Test: Composite Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 200 400 600 800 1000 SE +/- 3.53, N = 4 SE +/- 7.49, N = 4 SE +/- 9.47, N = 4 903.14 1104.48 1055.86
Compile Bench Test: Compile OpenBenchmarking.org MB/s, More Is Better Compile Bench 0.6 Test: Compile Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 80 160 240 320 400 SE +/- 2.28, N = 3 SE +/- 1.47, N = 3 SE +/- 4.09, N = 3 335.80 348.09 213.06
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
Hierarchical INTegration Test: FLOAT OpenBenchmarking.org QUIPs, More Is Better Hierarchical INTegration 1.0 Test: FLOAT Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 50M 100M 150M 200M 250M SE +/- 374435.39, N = 3 SE +/- 29792.86, N = 3 SE +/- 251969.19, N = 3 243097904.36 202585759.02 203814909.62 1. (CC) gcc options: -O3 -march=native -lm
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 Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 2 4 6 8 10 SE +/- 0.00, N = 3 SE +/- 0.96, N = 6 SE +/- 0.01, N = 3 4.36 6.07 4.52 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
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 Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 9 18 27 36 45 SE +/- 2.03, N = 6 SE +/- 0.05, N = 3 SE +/- 0.07, N = 3 16.12 14.63 41.25 1. (CC) gcc options: -O3 -lm -lpthread
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 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 40 80 120 160 200 SE +/- 2.87, N = 6 SE +/- 2.11, N = 3 SE +/- 0.05, N = 3 152.11 200.81 112.14
Primesieve 1e12 Prime Number Generation OpenBenchmarking.org Seconds, Fewer Is Better Primesieve 5.4.2 1e12 Prime Number Generation Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 110 220 330 440 550 SE +/- 2.14, N = 3 SE +/- 2.01, N = 3 SE +/- 0.23, N = 3 259.97 511.49 488.28 -fopenmp 1. (CXX) g++ options: -O2
Stockfish Total Time OpenBenchmarking.org ms, Fewer Is Better Stockfish 2014-11-26 Total Time Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 1100 2200 3300 4400 5500 SE +/- 2.60, N = 3 SE +/- 0.88, N = 3 SE +/- 6.96, N = 3 4941 4890 5244 -flto -arch -mdynamic-no-pic 1. (CXX) g++ options: -lpthread -fno-exceptions -fno-rtti -ansi -pedantic -O3 -msse -msse3 -mpopcnt
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 Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 20 40 60 80 100 SE +/- 0.11, N = 3 SE +/- 5.07, N = 6 SE +/- 0.07, N = 3 63.83 89.77 85.36 -ldl -ldl -lpthread -liconv 1. (CC) gcc options: -O2 -pedantic -lz -lm
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
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 Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 124 92 96 -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
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 30 60 90 120 150 SE +/- 0.01, N = 3 SE +/- 6.24, N = 6 SE +/- 0.01, N = 3 73.28 146.65 97.77 1. (CC) gcc options: -lm -lpthread -O3
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
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
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 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 700 1400 2100 2800 3500 SE +/- 15.59, N = 3 SE +/- 5.02, N = 3 SE +/- 24.81, N = 3 2001.79 2088.44 3088.64 -lrt -lcrypt -ldl -pthreads -mthreads -lrt -lcrypt -ldl -pthreads -mthreads 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
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 Ubuntu 16.04.1 LTS Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 500 1000 1500 2000 2500 SE +/- 10.80, N = 3 SE +/- 19.43, N = 3 SE +/- 5.29, N = 3 1138.14 1153.87 2318.49 -lrt -lcrypt -ldl -pthreads -mthreads -lrt -lcrypt -ldl -pthreads -mthreads 1. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -pthread -lpgcommon -lpgport -lpq -lpthread -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 Ubuntu 16.04.1 LTS - Clang 3.8 macOS 10.12 2K 4K 6K 8K 10K SE +/- 149.35, N = 6 SE +/- 144.38, N = 6 SE +/- 6.70, N = 3 8838.08 9135.77 8505.53 1. (CC) gcc options: -O3
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
Phoronix Test Suite v10.8.5