Panel: Performance... performance
summary
Panel lists actual tools and concrete fixes: Derailed Benchmarks, mini-profiler, New Relic and Chrome throttling, and a memory profiler are used to prove regressions and measure before and after. Advice includes capping Ruby heap growth factor rather than blind GC tweaks, moving expensive DB work into SQL (use delete_all not destroy_all), rolling a new Rails version into a subset of servers to compare metrics, and including benchmarks with PRs to get framework fixes.
AI-written summary · about
chapters (4)
- 0:00Start
- 23:36find yourself preemptively over optimizing your code for performance
- 29:17refactor before trying to optimize a code path
- 33:06tackle a major performance degradation
related talks
26mRails Performance Monitoring 101: A Primer for Developers
01h 02mPerformance
45mRails Performance Monitoring 101: A Primer for Junior Developers
35m"10 performance sins of Rails applications"
39mProfiling and Benchmarking 101
29mHow to Performance
48mOn the Edge of Rails Performance
32mRails Performance First Aid
