Faster Bundler, Happier Developers
summary
Bundler and RubyGems deliver concrete speedups: a stable sort key replaces slow version comparisons (5× faster), Git gem clones run in parallel (≈5× faster for 10 repos, 40 repos <2s), HTTP connection pool size increases eliminate thread contention, and a global gem cache (opt‑in today, default soon) avoids redundant work. Measured results: 249 direct deps 37% faster, real network 2.6× faster, rails new drops ~20s→10s, and using CI Build Gem to publish precompiled binaries cuts a Rails install from ~13s to 3.8s.
AI-written summary · about
chapters (15)
- 0:00Introduction and welcome
- 2:35Bundler and RubyGems importance
- 4:20Performance challenges and goals
- 6:07Dependency resolution bottlenecks
- 8:10Optimizing gem version comparison
- 10:19Speeding up Git gems
- 11:23Faster gem downloads and installs
- 15:56Global gem cache benefits
- 17:18Performance improvements recap
- 18:01Benchmarking methodology
- 19:04Real-world speed gains
- 21:56Compilation bottleneck and solution
- 23:42Introducing CI Build Gem
- 26:08Precompiled gems in production
- 28:11Call to action and thanks
related talks
37mDeathmatch Bundler vs Rubygems.org
45m`bundle install` Y U SO SLOW: Server Edition
43mA History of Bundles: 2010 to 2017
01mExtreme Makeover - Rubygems Edition
37m`bundle install` Y U SO SLOW: Server Edition
37mExtreme Makeover: Rubygems Edition
01h 15mSpeedupRails, Speedup Your Code
39m"300x faster ruby"
