Code is Required
summary
Measures show Rails boot at about 12 seconds on a large app; most projects have ~100 gems and a surprising ~4,000 files (survey: 466 projects, 140 systems, max 287 gems per project). Analysis uses MRI, RubyGems, Bundler and R. RubyGems’ require currently triggers O(n) load_path scans; a built proof-of-concept hash that caches short-to-full paths at gem install gives near-constant-time require (<1 ms) and a separate C fix resolves a baffling autoload bug for files named like b.rb.
AI-written summary · about
chapters (28)
- 0:00Start
- 4:59Awkward Richard Stallman
- 10:38Branch Strategy
- 13:24App Stats
- 13:38Measuring Boot
- 14:39Modify the list
- 16:14Usage (full path)
- 17:53Output
- 20:25Usage (relative path)
- 20:41Returns a Boolean
- 22:09Require Logic
- 24:16Constant Reference
- 25:42Autoload Logic
- 26:48Load Steps
- 27:24Require Rack
- 33:04Collected Info
- 34:26Responses
- 35:04Ruby Versions
- 35:37Implementations
- 36:01Ruby Gems Upgrades
- 36:34Project Distribution
- 36:53OS Distribution
- 38:17File Distribution
- 39:07Gem Distribution
- 39:29Summary
- 39:56Average Project
- 41:10Test Code
- 47:15Translation Hash








