PHP Class PhpBench\Tests\Util\TestUtil

显示文件 Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
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 )

Method Details

configureBenchmarkMetadata() public static method

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

configureSubjectMetadata() public static method

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

createCollection() public static method

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

createResults() public static method

public static createResults ( $time, $memory )

createSuite() public static method

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