in reply to Re^2: Finding bottlenecks in the code
in thread Finding bottlenecks in the code

Being selective in what you profile may help. From the Devel::SmallProf POD

%DB::packages

To only profile code in a certain package, set the %DB::packages array. For example, to see only the code in packages main and Test1, do this:

%DB::packages = ( 'main' => 1, 'Test1' => 1 );

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.