Making CocoaPods Fast with Modern Ruby Tooling
summary
Claims a half reduction in pod install time and a 90 second savings by changing under 200 lines of code, validated on large apps that hit ~395 pods. Uses sampling and tracing profilers like rbspy and rubyprof plus a custom timing tool chronometer to find a graph traversal bottleneck, implements a memoization DSL and build settings refactor, ships incremental-installation cache files that save up to a minute, and shows architectural limits remain at scale.
AI-written summary · about
chapters (10)
- 0:00Introduction to CocoaPods
- 1:19Why performance matters
- 8:24Measuring app performance
- 14:16Profiling Ruby apps
- 22:51Tools for profiling CocoaPods
- 24:18Graph traversal bottleneck
- 30:16Memoization in build systems
- 35:02Engineering lessons learned
- 44:29Architecture vs algorithms
- 47:21Future of CocoaPods








