TplBlock/vendor/zendframework/zend-cache/benchmark/MemoryStorageAdapterBench.php
2018-03-26 21:57:35 +02:00

22 lines
380 B
PHP

<?php
namespace ZendBench\Cache;
use Zend\Cache\StorageFactory;
/**
* @Revs(100)
* @Iterations(10)
* @Warmup(1)
*/
class MemoryStorageAdapterBench extends CommonStorageAdapterBench
{
public function __construct()
{
// instantiate the storage adapter
$this->storage = StorageFactory::adapterFactory('memory');
parent::__construct();
}
}