Small option, but took me 2 hours to find
This will automatically generate reports for your test-runs.
It only shows single examples, which is sad since i would also want to know which controller_specs take the longest…
Output:
Top 10 slowest examples: 0.5215740 User downgrades to a person 0.4326950 User finds invalid 0.1914630 User remembering unsets remember token 0.1218360 User is valid 0.0903790 Festival is valid
Install:
#spec/spec.opts --format profile:spec/profile.txt
One thought on “Profiling RSpec”