-
Thomas Steur a rédigé
refs #5940 moved files into a subfolder framework, added autoloader to remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
Thomas Steur a rédigérefs #5940 moved files into a subfolder framework, added autoloader to remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
ArchivingProcessBenchmark.php 656 o
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
use Piwik\Plugins\VisitsSummary\API;
use Piwik\Tests\Framework\TestCase\BenchmarkTestCase;
/**
* Runs the archiving process.
*/
class ArchivingProcessBenchmark extends BenchmarkTestCase
{
public function setUp()
{
BenchmarkTestCase::deleteArchiveTables();
}
/**
* @group Benchmarks
*/
public function testArchivingProcess()
{
API::getInstance()->get(
self::$fixture->idSite, self::$fixture->period, self::$fixture->date);
}
}