Consider using `test-prof` since it provides great tools to profile/understand/improve our test suite
I came accross https://github.com/palkan/test-prof yesterday and it seems that it contains a lot of useful tools: https://github.com/palkan/test-prof#table-of-contents
- We could enable the
Rspec/AggregateFailurescop -
EventProflooks quite useful to get data on events such asfactory.createorsidekiq.inline -
TagProfcould also be tried to get insights on stats per tag -
Factory Doctorlooks very interesting too -
Factory Profwith the flamegraph viz looks very cool - Some tips and tricks could be used: https://github.com/palkan/test-prof/blob/master/README.md#tips-and-tricks-or-recipes