Profiling and Speeding Up Our Rails Test Suite with TestProf
23-Mar-2020 2201
A month ago, I gave a go at speeding up the test suite of a project I'm working on. For a bit of background, the project's codebase is almost 6 years old, developers have come and go, new technologies and practices have appeared after all these years. We had a sprint where we can make our lives easier, in other words, enhance the codebase! And we decided speeding up the test suite was one of them. 🕵️♂️The test suite took around 45 minutes (!) to run on my Mac. That's horrendous! 😭 Initially, I applied practices (which you can read about here) that can speed up the test suite, but the improvement was little. It was clear that something else is making the test suite take longer than usual. And that's when I decided to add TestProf to the project.
Profiling and Speeding Up Our Rails Test Suite with TestProf #ruby #rubydeveloper #rubyonrails #Profiling #Speeding #Rails #Suite #TestProf #test https://rubyonrails.ba/link/profiling-and-speeding-up-our-rails-test-suite-with-testprof