Cache::BenchmarkCache::Benchmark is a Perl module that tests the quality and speed of a cache module to compare cachemodules and algorithms. | |
Download |
Cache::Benchmark Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tobias Tacke
- Publisher web site:
- http://search.cpan.org/~tobiwan/
Cache::Benchmark Tags
Cache::Benchmark Description
Cache::Benchmark is a Perl module that tests the quality and speed of a cache module to compare cachemodules and algorithms. Cache::Benchmark is a Perl module that tests the quality and speed of a cache module to compare cachemodules and algorithms.SYNOPSIS use Cache::Benchmark(); use Cache::MemoryCache(); use Cache::SizeAwareMemoryCache(); my $cache_1 = new Cache::MemoryCache({ namespace => 'my', default_expires_in => 1, }); my $cache_2 = new Cache::SizeAwareMemoryCache({ namespace => 'my', default_expires_in => 1, max_size => 400, }); my $test = new Cache::Benchmark(); $test->init( access_counter => 10_000 ); $test->run($cache_1); print $test->get_printable_result(); $test->run($cache_2); print $test->get_printable_result(); Requirements: · Perl
Cache::Benchmark Related Software