3.7x faster builds in Xcode, what does that mean?
We could all use
this image and share it with our managers in hope for good news. After yesterday's announcements we're all dreaming of having those beautiful maxed out new MacBooks, but it's definitely not possible for all of us to get one.
Though, I do like to look into the details for app development since Apple explicitly mentions Xcode build times on the MacBook product pages. Compared to their Intel equivalent:
-
M1 13 inch 2020 2.8 times faster project builds
-
M1 PRO/MAX 14 inch 2021 3.7 times faster project builds
Without diving too much into details around these numbers, I just like to casually use those to convert them into a fun statistic. Say you're currently building your project 20 times a day on an Intel Mac. A clean build takes 60 seconds and on average, we work ~236 days a year:
236 days * 20 builds * 60 seconds = 283200 seconds
That equals 79 hours a year waiting for builds to complete!
What if that becomes
3.7 times faster?
It's surprisingly hard to calculate, but if I'm right it would come down to ~17 seconds of build time:
236 days * 20 builds * 17 seconds = 80240 seconds
That's like 22 hours. In other words,
you'll save 57 hours a year!
Shouldn't that be enough to convince your managers? I hope so, ha!
Enjoy this week's SwiftLee Weekly!