| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(whoops, I failed to run a full make test before my last commit)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RT #122003
runloop() in Benchmark.pm does the equivalent of the following:
$t = (times)[0];
while ($t == (times)[0]) {}
so that it finishes in a position where the user CPU counter has just
incremented.
This is all well and good, but on some platforms (specifically OpenBSD
running under VirtualBox), the system CPU burned each time round the loop
to get times() is far greater than the user CPU burned. This can cause the
loop to run for minutes consuming system CPU until enough user CPU has
been burned to tick the user CPU counter.
The fix in this commit is to replace the empty body of the while loop with
something that does a gradually increasing amount of busy work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
countit(), which runs code for $n seconds, performs an initial
set of calibration loops to find out roughly how many iterations
are required to burn 0.1 CPU secs more in the code loop than in the empty
loop (which is then used to guesstimate how many iterations to do for the
main loop).
This calibration is designed to bail out if we consistently get <= 0
difference between the empty loop and the code loop; however, this
bailout can take too long: it looks for a run of 17 *consecutive* zero
deltas during 2048, 4096,8192,... iterations, which means it won't fail
until approx 131 million empty + code iterations are run, even if
the zeroes are consecutive. Of course if just by random noise one delta
is infinitesimally > 0, then the count is reset and the exponential count
continues.
The net effect of this is that the calibration loop can loop forever on
'small' code.
This commit makes it additionally bail out of the calibration loop if
running the iterations for a particular value of N takes more than 8
CPU seconds, while still giving zero delta.
|
| |
|
| |
|
| |
|
|
|
|
| |
Bump $VERSION; clean up trailing whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit reverts:
commit a820780c62918236069b3b55502640c99a9e812a
Author: David Golden <dagolden@cpan.org>
AuthorDate: Tue Feb 5 22:23:37 2013 -0500
Commit: David Golden <dagolden@cpan.org>
CommitDate: Tue Feb 5 22:49:36 2013 -0500
Benchmark iteration warnings should warn, not print
because the warnings appearing on STDERR weren't being trapped by
Benchmark.t (see [perl #116831]). Revert for now, and re-address after
5.18.
|
| |
|
|
|
|
| |
It has been deprecated in 5.14. Now is the time to remove it.
|
|
|
|
| |
./perl -Ilib Porting/cmpVERSION.pl -xd . v5.13.8
|
|
|
|
|
|
|
|
|
| |
# New Ticket Created by (Peter J. Acklam)
# Please include the string: [perl #81890]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81890 >
Signed-off-by: Abigail <abigail@abigail.be>
|
|
|
|
|
| |
* differ between 5.10.0 and maint-5.10, or
* differ between 5.8.9 and maint-5.10
|
| |
|
| |
|
|
|
|
|
| |
Message-Id: <1165105918.2718.90.camel@localhost.localdomain>
p4raw-id: //depot/perl@29439
|
|
|
|
|
| |
Message-Id: <20061122223227.193E.BQW10602@nifty.com>
p4raw-id: //depot/perl@29348
|
|
|
|
|
|
|
| |
prevent infinite loops. (Re: ext/re/t/regop.pl SEGV)
Message-ID: <9b18b3110606140454p19f4241exae6528f1c7bb32d7@mail.gmail.com>
p4raw-id: //depot/perl@28393
|
|
|
|
|
|
| |
From: Linda Walsh (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38892-132143.0.516271519365361@perl.org>
p4raw-id: //depot/perl@27906
|
|
|
|
|
|
| |
From: Anno Siegel (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32327-99325.8.9408996026507@perl.org>
p4raw-id: //depot/perl@23473
|
|
|
|
|
| |
Message-ID: <20040223145351.GH94376@portege.clkao.org>
p4raw-id: //depot/perl@22362
|
|
|
| |
p4raw-id: //depot/perl@22018
|
|
|
|
|
| |
Message-ID: <3FA8B9D1.2020806@stason.org>
p4raw-id: //depot/perl@21671
|
|
|
| |
p4raw-id: //depot/perl@20556
|
|
|
|
|
|
|
|
|
|
|
|
| |
From: Radu Greab <rgreab@fx.ro>
Date: Thu, 07 Aug 2003 16:18:25 +0300 (EEST)
Message-Id: <20030807.161825.106541372.radu@yx.primIT.ro>
Subject: Re: [PATCH 5.8.1] Benchmark problem
From: Rafael Garcia-Suarez <rgarciasuarez@free.fr>
Date: Thu, 7 Aug 2003 15:48:38 +0200
Message-Id: <20030807154838.5d240dbb.rgarciasuarez@free.fr>
p4raw-id: //depot/perl@20546
|
|
|
|
|
| |
Message-ID: <20030803231235.GJ24350@windhund.schwern.org>
p4raw-id: //depot/perl@20463
|
|
|
| |
p4raw-id: //depot/perl@17878
|
|
|
|
|
| |
Message-ID: <20020905213811.GA23771@lyta.hut.fi>
p4raw-id: //depot/perl@17867
|
|
|
|
|
| |
Message-ID: <20020822041039.A2089@ucan.foad.org>
p4raw-id: //depot/perl@17774
|
|
|
|
|
| |
Message-Id: <200205191403.g4JE3ClB025990@vran.herceg.de>
p4raw-id: //depot/perl@16693
|
|
|
| |
p4raw-id: //depot/perl@13693
|
|
|
|
|
| |
Message-ID: <20011127105850.B696@sizzle.whoville.com>
p4raw-id: //depot/perl@13321
|
|
|
| |
p4raw-id: //depot/perl@13059
|
|
|
|
|
| |
Message-Id: <20011113113442.B24305@sizzle.whoville.com>
p4raw-id: //depot/perl@12974
|
|
|
|
|
| |
Message-ID: <20011112110733.B7626@sizzle.whoville.com>
p4raw-id: //depot/perl@12956
|
|
|
|
|
| |
the modules found using a script written by Larry Schatzer Jr.
p4raw-id: //depot/perl@11016
|
|
|
| |
p4raw-id: //depot/perl@7038
|
|\
| |
| | |
p4raw-id: //depot/perl@4962
|
| |
| |
| | |
p4raw-id: //depot/cfgperl@4918
|
|/
|
|
|
| |
<cedric.auzanne@nist.gov>)
p4raw-id: //depot/perl@4958
|
|
|
|
|
|
|
| |
To: Gurusamy Sarathy <gsar@ActiveState.com>
Cc: perl5-porters@perl.org
Message-ID: <20000124161538.A995@freesurf.fr>
p4raw-id: //depot/cfgperl@4880
|
|
|
|
|
| |
Tim Meadowcroft
p4raw-id: //depot/perl@4666
|
|
|
| |
p4raw-id: //depot/perl@4384
|
|
|
|
|
|
| |
To: perl5-porters@perl.org
Message-Id: <199910030409.AAA18228@jester.slaysys.com>
p4raw-id: //depot/cfgperl@4292
|
|
|
| |
p4raw-id: //depot/cfgperl@4285
|
|
|
|
|
|
| |
To: perl5-porters@perl.org
Message-Id: <199910010216.WAA08309@jester.slaysys.com>
p4raw-id: //depot/cfgperl@4266
|
|
|
|
|
|
|
| |
To: perl5-porters@perl.org
Message-Id: <199909301944.PAA07166@jester.slaysys.com>
(Replaces #4175.)
p4raw-id: //depot/cfgperl@4265
|
|
|
|
|
|
|
| |
To: perl5-porters@perl.org
Subject: [PATCH 5.005_61] Benchmark: screwed patch format, try this instead
Message-Id: <199909171516.LAA30887@jester.slaysys.com>
p4raw-id: //depot/cfgperl@4175
|
|
|
|
|
| |
Bug reported by Alex Efros <powerman@inart.kharkov.com>.
p4raw-id: //depot/cfgperl@4077
|
|
|
|
|
|
|
|
| |
To: jhi@iki.fi, Tim.Bunce@ig.co.uk
Message-Id: <199811202243.RAA26252@harp.camb.inmet.com>
Added timesum().
p4raw-id: //depot/cfgperl@2256
|