PHP Class PhpBench\Tests\Util\TestUtil

Afficher le fichier Open project: dantleech/phpbench Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

configureSubjectMetadata() public static méthode

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

createCollection() public static méthode

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

createResults() public static méthode

public static createResults ( $time, $memory )

createSuite() public static méthode

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