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. macOS 10.12: Processor: Intel Core i5 @ 1.30GHz (4 Cores), Motherboard: Apple MacBook Air, Chipset: Apple SSD, Memory: 2 x 2048 MB DDR3-1600MHz, Disk: 121GB APPLE SSD SD0128F, Graphics: Intel HD 5000 1536MB, Monitor: Color LCD OS: macOS 10.12, Kernel: 16.0.0 (x86_64), Compiler: Apple LLVM 8.0.0 (clang-800.0.38) + GCC 4.2.1 + Xcode 8.0, File-System: Journaled HFS+, Screen Resolution: 1366x768 Ubuntu 16.04.1 LTS: Processor: Intel Core i5-4250U @ 2.60GHz (4 Cores), Motherboard: Apple Mac-35C1E88140C3E6CF, Chipset: Intel Haswell-ULT DRAM, Memory: 4096MB, Disk: 121GB APPLE SSD SD0128, Graphics: Intel Haswell-ULT IGP (1000MHz), Audio: Intel Haswell-ULT HD Audio, Monitor: Color LCD, Network: Broadcom BCM4360 802.11ac Wireless OS: Ubuntu 16.04, Kernel: 4.4.0-38-generic (x86_64), Desktop: Unity 7.4.0, Display Server: X Server 1.18.3, Display Driver: intel 2.99.917, OpenGL: 3.3 Mesa 11.2.0, Compiler: GCC 5.4.0 20160609, File-System: ext4, Screen Resolution: 1366x768 Ubuntu 16.04.1 LTS - Clang 3.8: Processor: Intel Core i5-4250U @ 2.60GHz (4 Cores), Motherboard: Apple Mac-35C1E88140C3E6CF, Chipset: Intel Haswell-ULT DRAM, Memory: 4096MB, Disk: 121GB APPLE SSD SD0128, Graphics: Intel Haswell-ULT IGP (1000MHz), Audio: Intel Haswell-ULT HD Audio, Monitor: Color LCD, Network: Broadcom BCM4360 802.11ac Wireless OS: Ubuntu 16.04, Kernel: 4.4.0-38-generic (x86_64), Desktop: Unity 7.4.0, Display Server: X Server 1.18.3, Display Driver: intel 2.99.917, OpenGL: 3.3 Mesa 11.2.0, Compiler: Clang 3.8.0-2ubuntu4, File-System: ext4, Screen Resolution: 1366x768 SQLite 3.8.10.2 Test Target: Default Test Directory Seconds < Lower Is Better macOS 10.12 .................... 31.97 |======================================= Ubuntu 16.04.1 LTS ............. 27.10 |================================= Ubuntu 16.04.1 LTS - Clang 3.8 . 29.19 |==================================== Compile Bench 0.6 Test: Compile MB/s > Higher Is Better macOS 10.12 .................... 213.06 |======================= Ubuntu 16.04.1 LTS ............. 335.80 |===================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 348.09 |====================================== Compile Bench 0.6 Test: Initial Create MB/s > Higher Is Better macOS 10.12 .................... 50.60 |======= Ubuntu 16.04.1 LTS ............. 271.03 |====================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 270.56 |====================================== Timed MAFFT Alignment 6.864 Multiple Sequence Alignment Seconds < Lower Is Better macOS 10.12 .................... 41.25 |======================================= Ubuntu 16.04.1 LTS ............. 16.12 |=============== Ubuntu 16.04.1 LTS - Clang 3.8 . 14.63 |============== Fhourstones 3.1 Complex Connect-4 Solving Kpos / sec > Higher Is Better macOS 10.12 .................... 8505.53 |================================== Ubuntu 16.04.1 LTS ............. 8838.08 |==================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 9135.77 |===================================== TSCP 1.81 AI Chess Performance Nodes Per Second > Higher Is Better macOS 10.12 .................... 907403 |===================================== Ubuntu 16.04.1 LTS ............. 865880 |==================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 923505 |====================================== GraphicsMagick 1.3.19 Operation: Resizing Iterations Per Minute > Higher Is Better macOS 10.12 .................... 77 |=============================== Ubuntu 16.04.1 LTS ............. 103 |========================================= Ubuntu 16.04.1 LTS - Clang 3.8 . 78 |=============================== GraphicsMagick 1.3.19 Operation: HWB Color Space Iterations Per Minute > Higher Is Better macOS 10.12 .................... 96 |================================ Ubuntu 16.04.1 LTS ............. 124 |========================================= Ubuntu 16.04.1 LTS - Clang 3.8 . 92 |============================== Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better macOS 10.12 .................... 676.81 |==================== Ubuntu 16.04.1 LTS ............. 1282.88 |===================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 978.66 |============================ Timed ImageMagick Compilation 6.9.0 Time To Compile Seconds < Lower Is Better macOS 10.12 .................... 112.14 |===================== Ubuntu 16.04.1 LTS ............. 152.11 |============================= Ubuntu 16.04.1 LTS - Clang 3.8 . 200.81 |====================================== Timed PHP Compilation 5.2.9 Time To Compile Seconds < Lower Is Better macOS 10.12 .................... 85.36 |===================================== Ubuntu 16.04.1 LTS ............. 63.83 |============================ Ubuntu 16.04.1 LTS - Clang 3.8 . 89.77 |======================================= C-Ray 1.1 Total Time Seconds < Lower Is Better macOS 10.12 .................... 97.77 |========================= Ubuntu 16.04.1 LTS ............. 73.28 |=================== Ubuntu 16.04.1 LTS - Clang 3.8 . 146.65 |====================================== Stockfish 2014-11-26 Total Time ms < Lower Is Better macOS 10.12 .................... 5244 |======================================== Ubuntu 16.04.1 LTS ............. 4941 |====================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 4890 |===================================== OpenSSL 1.0.1g RSA 4096-bit Performance Signs Per Second > Higher Is Better macOS 10.12 .................... 44.83 |========= Ubuntu 16.04.1 LTS ............. 192.37 |====================================== Ubuntu 16.04.1 LTS - Clang 3.8 . 134.55 |=========================== PostgreSQL pgbench 9.4.3 Scaling: Mostly RAM - Test: Normal Load - Mode: Read Write TPS > Higher Is Better macOS 10.12 .................... 3088.64 |===================================== Ubuntu 16.04.1 LTS ............. 2001.79 |======================== Ubuntu 16.04.1 LTS - Clang 3.8 . 2088.44 |========================= PostgreSQL pgbench 9.4.3 Scaling: On-Disk - Test: Normal Load - Mode: Read Write TPS > Higher Is Better macOS 10.12 .................... 2318.49 |===================================== Ubuntu 16.04.1 LTS ............. 1138.14 |================== Ubuntu 16.04.1 LTS - Clang 3.8 . 1153.87 |================== Hierarchical INTegration 1.0 Test: FLOAT QUIPs > Higher Is Better macOS 10.12 .................... 203814909.62 |=========================== Ubuntu 16.04.1 LTS ............. 243097904.36 |================================ Ubuntu 16.04.1 LTS - Clang 3.8 . 202585759.02 |=========================== Urban Terror 4.2.013 Resolution: 1366 x 768 Frames Per Second > Higher Is Better macOS 10.12 ........ 53.93 |====================================== Ubuntu 16.04.1 LTS . 73.13 |=================================================== Urban Terror 4.2.013 Resolution: 1366 x 768 - Total Frame Time Milliseconds < Lower Is Better macOS 10.12 ........ MIN: 2.0 AVG: 18.4 MAX: 49.0 Ubuntu 16.04.1 LTS . MIN: 1.0 AVG: 13.1 MAX: 43.0 BLAKE2 20130131 Phoronix Test Suite v6.6.0 Cycles Per Byte < Lower Is Better macOS 10.12 .................... 4.52 |============================== Ubuntu 16.04.1 LTS ............. 4.36 |============================= Ubuntu 16.04.1 LTS - Clang 3.8 . 6.07 |======================================== SciMark 2.0 Computational Test: Composite Mflops > Higher Is Better macOS 10.12 .................... 1055.86 |=================================== Ubuntu 16.04.1 LTS ............. 903.14 |============================== Ubuntu 16.04.1 LTS - Clang 3.8 . 1104.48 |===================================== Primesieve 5.4.2 1e12 Prime Number Generation Seconds < Lower Is Better macOS 10.12 .................... 488.28 |==================================== Ubuntu 16.04.1 LTS ............. 259.97 |=================== Ubuntu 16.04.1 LTS - Clang 3.8 . 511.49 |======================================