|The best hardware to build with Swift is not what you think|
|By Thom Holwerda on 2017-03-15 23:22:09|
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."
- Head to head, does the Apple HomePod really sound the best? - 2018-02-15
- How Apple built a chip powerhouse - 2018-01-30
- Apple changed the future of laptops 10 years ago today - 2018-01-17
- Apple's iOS security document - 2018-01-13
- More related articles