PHP Класс PhpBench\Benchmarks\Macro\BaseBenchCase

These benchmarks use seconds as the time unit.
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) The constructor can be used as a quick way to setup the class and as an alternative to explicitly declaring methods to execute before the benchmark.
createWorkspace ( ) This method is called in a separate process before the iterations are executed. See the annotations in the header of this class.
removeWorkspace ( ) This method is called in a separate process after the iterations are executed. See the annotations in the header of this class.
runCommand ( $serviceId, $args )

Защищенные методы

Метод Описание
addContainerExtensionClass ( $extensionClass )
getContainer ( )
getFunctionalBenchmarkPath ( )
getWorkspacePath ( )
setContainerConfig ( array $containerConfig )

Описание методов

__construct() публичный Метод

The constructor can be used as a quick way to setup the class and as an alternative to explicitly declaring methods to execute before the benchmark.
public __construct ( )

addContainerExtensionClass() защищенный Метод

protected addContainerExtensionClass ( $extensionClass )

createWorkspace() публичный статический Метод

This method is called in a separate process before the iterations are executed. See the annotations in the header of this class.
public static createWorkspace ( )

getContainer() защищенный Метод

protected getContainer ( )

getFunctionalBenchmarkPath() защищенный статический Метод

protected static getFunctionalBenchmarkPath ( )

getWorkspacePath() защищенный статический Метод

protected static getWorkspacePath ( )

removeWorkspace() публичный статический Метод

This method is called in a separate process after the iterations are executed. See the annotations in the header of this class.
public static removeWorkspace ( )

runCommand() публичный Метод

public runCommand ( $serviceId, $args )

setContainerConfig() защищенный Метод

protected setContainerConfig ( array $containerConfig )
$containerConfig array