in reply to Re: Clocking Portion of Your Perl Code
in thread Clocking Portion of Your Perl Code

I thought Benchmark is only used for "comparing" subroutines, etc. I don't recall any method in Benchmark that does stand-alone time measurement.
  • Comment on Re^2: Clocking Portion of Your Perl Code

Replies are listed 'Best First'.
Re^3: Clocking Portion of Your Perl Code
by monkfan (Curate) on Jun 12, 2005 at 03:26 UTC
    Check these methods in Benchmark:
    timethis timeit countit
    Regards,
    Edward