Ola Bini shows how Test::Unit tests can spiral out of control and adds some code to keep them in rein.
Inspired by that, here's a self-profiling spec runner. It's just a slapdash blend of the RSpec
speccommand and some basic code from the ruby-prof RDocs. Save it as
This gives you some extremely extensive detail. It's probably overkill. Aslak Hellesøy's simple build profiler might actually be more effective.