in reply to Profiling and Performance
Devel::NYTProf
UPDATE: Also, DBI::Profile for the SQL
This appears to be significantly better than Devel::DProfLB which produced (for me) a 247 MB dump.
I saw DBI::Profile but some reason using it did not reach my brain. I certainly slow down my thinking by mid-afternoon I tell ya...