~/talk

STEVEN, JUST LET_IT_BE. A GUIDE TO IMPROVE YOUR RSPEC PERFORMANCE

Talkat Euruko 2023 · 2023-09-21..09-23· [ruby]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 1:10Why is fast testing important
  3. 3:06Practical example
  4. 4:10Types of tests
  5. 8:16Test Profile
  6. 10:33Dump Benchmark
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.