develooper Front page | perl.perl5.porters | Postings from December 2011

[perl #59384] DProf reports wrong elapsed times

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
December 2, 2011 19:53
Subject:
[perl #59384] DProf reports wrong elapsed times
Message ID:
rt-3.6.HEAD-5084-1322884379-1652.59384-15-0@perl.org
On Fri Sep 26 14:59:37 2008, jeff.holt@method-r.com wrote:

> 
> The runtime of the following command was about 2 minutes:
> 
> perl -d:DProf p5k.pl x.zip > x.xml
> 
> It created a 395MB tmon.out file (deflated is 5MB). Then I executed
> dprofpp
> and it printed this (only the first few lines are shown):
> 
> Total Elapsed Time = 6.188358 Seconds
>   User+System Time = 6.108358 Seconds
> Exclusive Times
[snip]
> 
> The exclusive times for each function are also probably incorrect. I
> ran it with
> the "-O 200" argument and the total exclusive time was ~83 seconds;
> far less
> than the actual response time. So it's difficult for me to believe any
> of the data
> in this report.
> [snip]

Since the program being profiled, p5k.pl, was not provided, trying to
reproduce this problem is problematic.

Can you provide a program that would enable others to try to reproduce
the problem?

Thank you very much.
Jim Keenan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About