in reply to Optimizing Output

Is there any nice module or script that would run through another script and detirmine what is taking the most time/cpu power?

Replies are listed 'Best First'.
Re: Re: Optimizing Output
by ariels (Curate) on Apr 15, 2002 at 13:19 UTC
Re: Re: Optimizing Output
by trs80 (Priest) on Apr 15, 2002 at 13:14 UTC
Re: Re: Optimizing Output
by mrbbking (Hermit) on Apr 15, 2002 at 13:17 UTC
    Kind of... It's called Benchmark.pm. It won't just read in a script and tell you what's fast and what's slow, but it is very helpful nonetheless.

    Do a search here for 'use Benchmark;' and you'll find lots of examples.

    s!!password!;y?sordid?binger?;y.paw.mrk.; print chr 0x5b;print;print chr(0x5b+0x2);