# Profiling Ruby tests with Swiss precision

- URL: https://evilmartians.com/events/profiling-ruby-tests-with-swiss-precision-helvetic-ruby
- Date: 2023-11-24T00:00:00.000Z
- Conference: Helvetic Ruby 2023
- City: Bern, Switzerland
- Speakers: Vladimir Dementyev
- Event website: https://helvetic-ruby.ch
- Video: https://youtu.be/WNluKNQ1OFU
- Slides: https://speakerdeck.com/player/673f7f9324f844ff86caf8a60ea1d359

---

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.
