How to Performance
summary
A small Rails app provides a measured baseline and proves integration tests go from ~393 to ~828 iterations per second, cutting the gap from ~2.53× slower to ~1.2× slower and making integration tests three times faster than Rails 4.2.0 by combining specific fixes and tooling: using Benchmark IPS for stable iteration metrics, sampling with StackProf (switching to wall time), inspecting stacks with RubyProf, and hunting allocations with AllocationTracer while verifying every change with benchmarks.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:55Baseline
- 5:22Benchmarking
- 12:00Stackcrop
- 19:00URL Helpers
- 19:53Location Tracer
- 23:00Conclusion








