TplBlock/vendor/zendframework/zend-cache/benchmark/MemoryStorageAdapterBench.php

22 lines
380 B
PHP
Raw Normal View History

2018-03-26 21:57:35 +02:00
<?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();
}
}