Content Deep Dive

How to reduce Github Actions runtime for an iOS project

Blog post from Namespace

Post Details
Company
Date Published
Author
Zack Chase
Word Count
1,029
Company Posts That Month
3
Language
-
Hacker News Points
-
Post removed?
No
Summary

A migration of the Wikipedia iOS app’s three required pull-request workflows from GitHub-hosted macOS runners to Namespace macOS runners and Cache Volumes reportedly reduced execution times substantially for unit tests, end-to-end simulator tests, and strict concurrency checks. The original workflows, which used GitHub’s macos-26 runners without dependency caching, averaged 14 minutes 30 seconds for unit tests, 18 minutes 38 seconds for end-to-end tests, and 2 minutes 50 seconds for concurrency checks; moving to dedicated Namespace hardware reduced these times by roughly 68–74% before caching. The migration required adding an explicit installation step for xcpretty, which is preinstalled on GitHub’s image but not on the Namespace environment. Enabling caches for SwiftPM, CocoaPods, and Xcode derived data produced an additional 10–12% reduction in total workflow duration, with larger improvements within individual build steps. Combined, the changes reduced the slowest required check from 18 minutes 38 seconds to 5 minutes 26 seconds, and a modeled private-repository cost comparison estimated a 70% decrease in per-PR and monthly CI costs. The reported gains are attributed to newer, larger Apple hardware, more CPU and memory, and local NVMe-backed persistent cache volumes that avoid remote cache upload and download cycles.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.