PHP 클래스 PhpBench\Benchmarks\Macro\BaseBenchCase

These benchmarks use seconds as the time unit.
파일 보기 프로젝트 열기: dantleech/phpbench

공개 메소드들

메소드 설명
__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