Graham Knop > CHI > bench.pl

Download:
CHI-0.58.tar.gz

Annotate this POD

CPAN RT

New  5
Open  10
View/Report Bugs
Source  

NAME ^

bench.pl -- Benchmark cache modules against each other

DESCRIPTION ^

Uses Benchmark to compare a variety of CHI and non-CHI caches in terms of raw reading and writing speed. Sorts results by read performance. Does not attempt to test discard policies.

SYNOPSIS ^

bench.pl -d driver_regex [options]

OPTIONS ^

  -d driver_regex    Run drivers matching this regex (required) - use '.' for all
  -h --help          Print help message
  -n                 Sort results by name instead of by read performance
  -t time            Number of seconds to benchmark each operation (default 2)
  -x|--complex       Use a complex data structure instead of a scalar

Run bench.pl with no arguemnts to get a full list of available drivers.

REQUIREMENTS ^

syntax highlighting: