Skip Menu |

This queue is for tickets about the Devel-Profiler CPAN distribution.

Report information
The Basics
Id: 35620
Status: open
Priority: 0/
Queue: Devel-Profiler

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.04
Fixed in: (no value)



Subject: Speed test has insufficient tolerance
CPAN testers have reported heaps of fail reports just for this single one speed test. Error message being: t/01basic........... # Failed test 'check user time >= 1 seconds' # at t/01basic.t line 102. # Looks like you failed 1 test of 17. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/17 subtests I just checked only for 5.8.8. on linux. All eleven FAIL reports have this test failing. Please increase the tolerance in this test so that this noise goes away. Thanks,
From: Neukaeter [...] Uni-Muenster.DE
On So. 04. Mai 2008, 07:02:25, ANDK wrote: Show quoted text
> CPAN testers have reported heaps of fail reports just for this single > one speed test. Error message being: > > t/01basic........... > # Failed test 'check user time >= 1 seconds' > # at t/01basic.t line 102. > # Looks like you failed 1 test of 17. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/17 subtests > > > I just checked only for 5.8.8. on linux. All eleven FAIL reports have > this test failing. Please increase the tolerance in this test so that > this noise goes away. >
The reason for this bug seems to be the same as for bug #7400. Line 102 of t/01basic.t should be replaced by another definition of the subroutine cpu, for example sub cpu { my $start = time; while (time <= ($start + 2)) { $_=0; my $sum=0; while ($_<1000) {$sum+=++$_} } } With this definition of cpu, the user time would be greater than 1 sec. Now the user time is less, because most time measured is system time. B. N.
From: Neukaeter [...] Uni-Muenster.DE
On Sa. 13. Sep. 2008, 08:06:54, B.N. wrote: Show quoted text
> ... > Line 102 of t/01basic.t should be replaced by another definition of > the subroutine cpu, for example > ...
Correction: The subroutine cpu is in line 88 of t/01basic.t (Version 0.04), the test failed at line 102. B. N.