Tests occupy a significant amount of developers’ time. We write them, run locally, and wait for CI builds to complete—the latter can last from a cup of coffee to a good day nap. And unfortunately, such “naps” are pretty common in the Ruby and Rails world. Luckily, the reasons for slow tests vary greatly between codebases: misconfigured environment, test-unfriendly dependencies, and, of course, factories and database interactions in general. I like to demonstrate the tools and techniques to help you identify bottlenecks in test suites to help you stay awake.
In the same orbit
- TestProf III: guided and automated Ruby test profiling
TestProf III: guided and automated Ruby test profiling
Explore more events
- Ruby Mixology 101: adding shots of PHP, Elixir, and more
Ruby Mixology 101: adding shots of PHP, Elixir, and more
RubyKaigi - From slow to go: Rails test profiling hands-on
From slow to go: Rails test profiling hands-on
RailsConf 2024