Profiling functional tests

I looked at the basic profiling information in the Agile book and
around google, but the profiler script that comes with rails doesn’t
really seem sufficient.

Something like: ruby -r profile

Seems a lot more like what I’m trying to get at. But is there any
solution that I missed that will give me nice profiling output for
functional test suites without cluttering the profiler output with
framework calls?