PHP 클래스 PhpBench\Tests\Util\TestUtil

파일 보기 프로젝트 열기: dantleech/phpbench 1 사용 예제들

공개 메소드들

메소드 설명
configureBenchmarkMetadata ( Prophecy\Prophecy\ObjectProphecy $benchmark, array $options = [] )
configureSubjectMetadata ( Prophecy\Prophecy\ObjectProphecy $subject, array $options = [] )
createCollection ( array $suiteConfigs = [] )
createResults ( $time, $memory )
createSuite ( array $options = [], $suiteIndex = null )

메소드 상세

configureBenchmarkMetadata() 공개 정적인 메소드

public static configureBenchmarkMetadata ( Prophecy\Prophecy\ObjectProphecy $benchmark, array $options = [] )
$benchmark Prophecy\Prophecy\ObjectProphecy
$options array

configureSubjectMetadata() 공개 정적인 메소드

public static configureSubjectMetadata ( Prophecy\Prophecy\ObjectProphecy $subject, array $options = [] )
$subject Prophecy\Prophecy\ObjectProphecy
$options array

createCollection() 공개 정적인 메소드

public static createCollection ( array $suiteConfigs = [] )
$suiteConfigs array

createResults() 공개 정적인 메소드

public static createResults ( $time, $memory )

createSuite() 공개 정적인 메소드

public static createSuite ( array $options = [], $suiteIndex = null )
$options array