RSH::Logging
RSH::Logging is kind of like poor-man's profiling or dtrace. It is designed on the same concepts behind logging packages like Log::Log4perl, that when event tracking is off, there be little to no overhead incurred by leaving the code in place. This allows you to instrument all your code and frameworks and then dynamically turn on this kind of profiling information when you need it.
/rsh tech