The best hardware to build with Swift is not what you think

Some interesting figures from LinkedIn, who benchmark the compiling times of their Swift-based iOS application. You’d think the Mac Pro would deliver the fastest compiles, but as it turns out – that’s not quite true.

As you can see, 12-core MacPro is indeed the slowest machine to build our code with Swift, and going from the default 24 jobs setting down to only 5 threads improves compilation time by 23%. Due to this, even a 2-core Mac Mini ($1,399.00) builds faster than the 12-cores Mac Pro ($6,999.00).

As Steven Troughton-Smith notes on Twitter – “People suggested that the Mac Pro is necessary because devs need more cores; maybe we just need better compilers? There’s no point even theorizing about a 24-core iMac Pro if a 4-core MBP or mini will beat it at compiling.”

36 Comments

  1. 2017-03-16 3:49 am
    • 2017-03-16 6:27 am
      • 2017-03-16 11:16 am
        • 2017-03-16 11:36 am
          • 2017-03-16 1:22 pm
        • 2017-03-16 2:41 pm
      • 2017-03-16 2:44 pm
        • 2017-03-16 5:41 pm
          • 2017-03-16 7:03 pm
          • 2017-03-16 7:17 pm
          • 2017-03-16 7:04 pm
        • 2017-03-17 4:19 am
          • 2017-03-17 7:06 am
      • 2017-03-16 4:14 pm
    • 2017-03-16 6:43 am
    • 2017-03-16 2:40 pm
    • 2017-03-17 5:27 pm
  2. 2017-03-16 3:51 am
    • 2017-03-16 12:35 pm
      • 2017-03-16 5:22 pm
    • 2017-03-16 5:22 pm
      • 2017-03-17 8:21 pm
  3. 2017-03-16 5:39 am
  4. 2017-03-16 6:56 pm
    • 2017-03-17 2:22 am
      • 2017-03-17 2:04 pm
  5. 2017-03-16 7:57 pm
    • 2017-03-16 8:19 pm
    • 2017-03-16 10:56 pm
    • 2017-03-17 5:53 pm
  6. 2017-03-17 6:16 pm
  7. 2017-03-18 2:06 am
    • 2017-03-18 2:26 am
      • 2017-03-19 4:39 am
        • 2017-03-19 5:54 pm
          • 2017-03-20 2:55 am