r/iOSProgramming • u/ToddGergey • 5d ago
3rd Party Service We timed DuckDuckGo's iOS build on GitHub's largest macOS runner and on M5 Pro: 523 s vs 147 s
Disclosure: I work at Bitrise, and the M5 Pro and M6 runners below are ours.
We ran the same xcodebuild build-for-testing on DuckDuckGo’s open-source iOS app (https://github.com/duckduckgo/apple-browsers) with Xcode 27.0 on each machine:
| Runner | Hardware | Time |
|---|---|---|
| GitHub’s XLarge macOS runner (their largest) | M2, 5 vCPU, 14GB | 523.3 s |
| Build Hub M6 X-Large | M6, 12 vCPU, 28GB | 169.6 s |
| Build Hub M5 Pro X-Large | M5 Pro, 18 vCPU, 54GB | 147.1 s |
GitHub’s runner took about 3.6 times as long as M5 Pro, which is close to the difference in vCPU count. So most of that gap is probably the extra cores. The M6 number says more about the chips. It has two thirds of the cores and was only about 15% slower than M5 Pro.
If your app is small, GitHub’s runner is still the easy option. There’s nothing to set up, and a few extra minutes may not bother anyone.
It’s one app, and I don’t know how much of this carries over to yours. Our numbers come from 3 runs per runner. Per-run data and results for other open-source apps are at https://benchmarks.bitrise.io
The full setup is in the write-up: https://bitrise.io/blog/post/m5-pro-runners-live-github-actions
2
u/ikonet 5d ago
Once I offload my build to someone else's hardware, I don't really pay attention to how fast it builds. I want fast builds in my development environment but care less about committed code firing off tasks elsewhere.
2
u/Which-Meat-3388 5d ago
Not that I appreciate what amounts to an ad and obvious result (new machine with 2-4x the memory is faster) but -
Even for small app iOS app, GitHub is annoyingly slow and expensive for what it is.
1
u/huckingfooligan12345 2d ago
How does the pricing compare to something like Blacksmith? I am currently looking to get off of Github and setup my own runner on a separate server, but it's bottlenecking as well.
1
u/dawedev 5d ago
Nice that you used a real open-source app instead of a hello-world project. Were these cold builds with empty DerivedData and no SPM cache on every runner, or warm? On CI the package resolve and cache restore steps often take a big chunk of the time, so splitting resolve time from compile time would make the comparison clearer.
1
u/mrdzyn 3d ago
Good numbers to see side-by-side. In practice, for smaller indie/team repos, the bigger variable alongside raw CPU cores is SwiftPM dependency resolution and
DerivedDatacaching — if a runner isn't caching packages and build intermediates cleanly between runs, cold-starting Xcode eats a noticeable chunk of the time you save on compilation.For solo devs, GitHub's standard runner or Xcode Cloud's 25 free monthly hours usually covers it, but once a codebase hits DuckDuckGo's scale or runs PR checks all day, jumping from 5 vCPUs to 12–18 is a huge quality-of-life difference.
2
u/[deleted] 4d ago
[removed] — view removed comment