ApacheBench

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

improved documentation for postdata() method, on suggestion
from Scott Croco <scott.croco@lucasfilm.com>

=item 0.60 - Feb 23, 2001

restructured regression hash; will break some scripts;
see README.upgrading_0.5x-0.6x for details

added new object-oriented API; see documentation for details

renamed 'cookie' to 'cookies' and 'filesize' to 'buffersize' in
configuration hash sent to ab() XS routine

added support for customizable Content-type: headers in HTTP request

added request time tracking (times taken to send each HTTP request)
stored in 'request_time' array for each run iteration

added global and per-run 'memory' setting to control how much regression
data is remembered

Changes  view on Meta::CPAN

fixed segmentation fault that happened when ab() was called twice from
a single process, which was due to bad data stored in global variables

fixed annoying "Use of uninitialized value" warnings if undef values are
passed as input to ApacheBench

changed Content-type for POST requests to application/x-www-form-urlencoded

=item 0.51 - Sep 26, 2000

renamed module from ApacheBench to HTTPD::Bench::ApacheBench,
suggested by Stas Bekman

=item 0.5 - Sep 20, 2000

initial public release

=back

=cut

doc/README.upgrading_0.5x-0.6x  view on Meta::CPAN

ApacheBench Perl API changes - ver 0.6x

The ApacheBench Perl API has changed since versions 0.5x, such that
scripts that use the 0.5x API will not work correctly using 0.6x.
I apologize for the forced upgrade, but the 0.5x API was non-intuitive
and buggy.  The new 0.6x API will remain stable from now on.  Any future
changes will be accompanied by backwards compatibility fixes.

To upgrade scripts that were written for ApacheBench 0.5x:

1) When calling configuration methods, 'filesize' has been renamed to
   'buffersize'.  For individual runs, 'cookie' has been renamed to 'cookies'.

   The fix:
   - replace all $b->config({ filesize => XXX }) occurrences with
     $b->config({ buffersize => XXX }), or better yet: $b->buffersize(XXX)

2) The run configuration add() method no longer exists.  You now have to
   instantiate a new Run object and call add_run() on it.

   The fix:
   - replace all $b->add({ ... }) occurrences with:



( run in 0.628 second using v1.01-cache-2.11-cpan-b888b73be4d )