in reply to Re: Clocking Portion of Your Perl Code
in thread Clocking Portion of Your Perl Code
perl profilers work running additional perl code between every instruction and subroutine call. That introduces overhead and affects performance and timing, sometimes in a no linear fashion. What looks faster under a profiler will actually run slower in normal execution.
So, profilers are good to find hot spoots in code but not to compare different algorithms or implementations.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Clocking Portion of Your Perl Code
by Anonymous Monk on Jun 12, 2005 at 16:02 UTC | |
by salva (Canon) on Jun 12, 2005 at 18:47 UTC |