Performance
summary
Shows concrete wins: a real page that takes 4.38s but has a 329ms Rails slice, so focusing on assets (combine files, gzip, expires headers, CDN) cuts seconds—often 50%+ of load. Recommends Firebug + YSlow + Charles, runtime X-header, New Relic for call volume, and RubyProf + kcachegrind for CPU/memory hotspots. Introduces Rails 2.2 performance tests (CSV output with process time, memory, GC), and a GC tuning patch (raise heap thresholds) that eliminates frequent pauses and yields multi‑fold speedups.
AI-written summary · about
chapters (16)
- 0:00Introduction to Rails 2.2
- 1:35Browser performance basics
- 5:34Optimizing asset loading
- 10:16Browser caching strategies
- 14:16Advanced browser tuning
- 17:51Identifying application bottlenecks
- 21:12Monitoring and call volume
- 24:39Profiling and testing
- 28:52Benchmark and testing workflow
- 32:37REST and HTTP caching
- 37:29Simplifying caching logic
- 41:16Garbage collection tuning
- 46:37Deep diving with Ruby Prof
- 51:02Analyzing profile results
- 53:41Effective fragment caching
- 59:03Conclusion and summary
related talks
01h 15mSpeedupRails, Speedup Your Code
32mRails Performance First Aid
35m"10 performance sins of Rails applications"
42m3x Rails: Tuning the Framework Internals
26mRails Performance Monitoring 101: A Primer for Developers
45mRails Performance Monitoring 101: A Primer for Junior Developers
29mHow to Performance
41mSpeed up Rails, Speed up Your Code
