App-plackbench

 view release on metacpan or  search on metacpan

bin/plackbench  view on Meta::CPAN


=item -f <file>

Like C<-e>, however the code is read from a file. Should return a code
reference, which will be passed a C<HTTP::Request> object.

A simple example:

    sub {
        my $request = shift;
        $request->header( Cookie => 'session=mysid' );
        return;
    }

The file can contain any valid Perl code, but the last statement in the file
must be a subroutine reference.

=item -p <precision>

The number of decimal places in times included in the report. Defaults to 3.



( run in 1.336 second using v1.01-cache-2.11-cpan-e9199f4ba4c )