stefan k has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,
I'm working on a genetic algorithm modul and want to know where most of the programm time is spent. I have intalled Devel:DProf and used it, but the format is somewhat ..er.. ugly. Is there any way to collect the information from that file and get nice statistic?

Regards.
Stefan K

Replies are listed 'Best First'.
Re: Profiler
by kschwab (Vicar) on Jan 29, 2001 at 21:01 UTC
    Looks like you probably missed the dprofpp script that came with Devel::DProf.
    $ dprofpp -u Total Elapsed Time = 1.67 Seconds User Time = 0.61 Seconds Exclusive Times %Time Seconds #Calls sec/call Name 52.4 0.320 2 0.1600 main::foo 45.9 0.280 200 0.0014 main::bar 0.00 0.000 1 0.0000 DynaLoader::import 0.00 0.000 1 0.0000 main::baz