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
For the mysql drivers, run this as mysql root:
create database chibench; grant all privileges on chibench.* to 'chibench'@'localhost' identified by 'chibench';
For the memcached drivers, you'll need to start memcached on the default port (11211).