Rspec extremely slow
You can profile your specs by running rspec with the -p
/ --profile
flag:
rspec spec -p [-drb, and whatever else]
This will list the 10 slowest examples with their execution time. You can change the default of 10 by providing an optional count to the -p flag. More info by using rspec --help