Linked by Thom Holwerda on Wed 15th Mar 2017 23:22 UTC

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."

Permalink for comment 641972
To read all comments associated with this story, please click here.
RE: Comment by joekiser
by laffer1 on Thu 16th Mar 2017 12:35 UTC in reply to "Comment by joekiser"
Member since:

A Mac pro is a 2013 era machine too. It hasn't been refreshed. The other issue here is that depending on the setup of their software, the compiler can't optimize well. If they have most of there code in only a few files, it can't be done in parallel easily.

If you test compiling something huge like say the linux kernel or FreeBSD, you can see parallel builds are faster up to the point you're I/O blocked.

It's certainly possible the swift front end for the compiler is not optimized for parallel builds too.

All we've proved is that yesteryear apple tech is slow. If tim cook would only refresh the mac line like he's supposed to. No one sent him the memo that tech companies have short upgrade cycles.

Reply Parent Score: 4