ApacheBench
view release on metacpan or search on metacpan
doc/README.upgrading_0.5x-0.6x view on Meta::CPAN
- replace all $re = $b->execute() with:
$re = $b->execute();
$rhash = $re->{'regression'};
4) The regression hash no longer contains any per-URL information.
Half of the data keyed on URL was wrong, and the other half was
fairly useless, so it is no longer returned at all.
The fix:
- remove all references to URLs in the regression hash, e.g.
anything that looks like $re->{'run0'}->{'http://test.url/'}
5) What was stored in the 'threads' array reference (for each run),
is now in the top-level of the regression hash for each run.
The term threads was confusing, especially considering an upcoming
rewrite will probably include multi-threaded request sending.
The fix:
- replace all $re->{'run0'}->{'threads'} with $rhash->{'run0'}
Notice that each runI entry in the regression hash is now an ARRAY ref, not
( run in 0.572 second using v1.01-cache-2.11-cpan-64827b87656 )