STEVEN, JUST LET_IT_BE. A GUIDE TO IMPROVE YOUR RSPEC PERFORMANCE
summary
Shows that replacing per-example factories with test-prof’s let_it_be turns repeated RSpec setups into shared fixtures, cutting factory calls from 200→2 factory calls in the demo and collapsing a 0.3s-per-example loop into under a millisecond for 100 iterations. Uses RSpec profiling and FProf to find hot factories, a tiny benchmark with a user/payment model and 100 identical assertions to prove the point, and reports the change yields dramatic real-world test-suite speedups.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:10Why is fast testing important
- 3:06Practical example
- 4:10Types of tests
- 8:16Test Profile
- 10:33Dump Benchmark








