<html><head><title>CHI::Benchmarks</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" > <link rel="stylesheet" type="text/css" title="pod_stylesheet" href="http://search.cpan.org/s/style.css"> </head> <body class='pod'> <!-- generated by Pod::Simple::HTML v3.15, using Pod::Simple::PullParser v3.15, under Perl v5.012002 at Wed Mar 2 00:52:11 2011 GMT. If you want to change this HTML document, you probably shouldn't do that by changing it directly. Instead, see about changing the calling options to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML, then reconverting this document from the Pod source. When in doubt, email the author of Pod::Simple::HTML for advice. See 'perldoc Pod::Simple::HTML' for more info. --> <!-- start doc --> <a name='___top' class='dummyTopAnchor' ></a> <div class='indexgroup'> <ul class='indexList indexList1'> <li class='indexItem indexItem1'><a href='#NAME'>NAME</a> <li class='indexItem indexItem1'><a href='#DESCRIPTION'>DESCRIPTION</a> </ul> </div> <h1><a class='u' href='#___top' title='click to go to top of document' name="NAME" >NAME</a></h1> <p>CHI::Benchmarks - Benchmarks of CHI and non-CHI drivers</p> <h1><a class='u' href='#___top' title='click to go to top of document' name="DESCRIPTION" >DESCRIPTION</a></h1> <p>These benchmarks were created with the script <code>etc/bench/bench.pl</code> in this distribution.</p> <p>For each cache: 9510 gets, 490 sets, 10000 total operations.</p> <p>OS X v10.6.6, 2.2 GHz Intel Core 2 Duo, Perl 5.12.2.</p> <pre> Cache Get time Set time Run time Description cache_ref 0.01ms 0.01ms 0.09s L<Cache::Ref> chi_memory_raw 0.02ms 0.04ms 0.19s CHI::Driver::MemoryRaw cache_fastmmap 0.02ms 0.05ms 0.23s Cache::FastMmap chi_memory 0.04ms 0.07ms 0.42s CHI::Driver::Memory chi_berkeleydb 0.05ms 0.13ms 0.53s CHI::Driver::BerkeleyDB chi_fastmmap 0.06ms 0.09ms 0.59s CHI::Driver::FastMmap cache_cache_memory 0.07ms 0.08ms 0.69s Cache::MemoryCache cache_memcached_fast 0.09ms 0.13ms 0.91s Cache::Memcached::Fast cache_memcached_lib 0.10ms 0.13ms 1.02s Cache::Memcached::libmemcached chi_memcached_lib 0.14ms 0.19ms 1.44s CHI::Driver::Memcached::libmemcached chi_memcached_fast 0.15ms 0.20ms 1.49s CHI::Driver::Memcached::Fast chi_file 0.14ms 0.81ms 1.73s CHI::Driver::File chi_dbi_sqlite 0.13ms 1.62ms 1.99s CHI::Driver::DBI (sqlite) chi_dbi_mysql 0.22ms 0.28ms 2.20s CHI::Driver::DBI (mysql) cache_memcached_std 0.24ms 0.19ms 2.34s Cache::Memcached chi_memcached_std 0.28ms 0.25ms 2.78s CHI::Driver::Memcached cache_cache_file 0.46ms 1.35ms 5.05s Cache::FileCache</pre> <!-- end doc --> </body></html>