PHP Class PhpBench\Benchmark\Metadata\SubjectMetadata

Inheritance: extends PhpBench\Benchmark\Metadata\AbstractMetadata
ファイルを表示 Open project: dantleech/phpbench Class Usage Examples

Public Methods

Method Description
__construct ( BenchmarkMetadata $benchmarkMetadata, string $name )
getAfterMethods ( )
getBeforeMethods ( )
getBenchmark ( ) : BenchmarkMetadata Return the benchmarkMetadata metadata for this subject.
getGroups ( )
getIterations ( )
getName ( ) : string Return the method name of this subject.
getOutputMode ( )
getOutputTimePrecision ( )
getOutputTimeUnit ( )
getParamProviders ( )
getParameterSets ( ) : array[] Return the parameter sets for this subject.
getRetryThreshold ( )
getRevs ( )
getSkip ( )
getSleep ( )
getWarmup ( )
inGroups ( array $groups )
setAfterMethods ( $afterMethods )
setBeforeMethods ( $beforeMethods )
setGroups ( $groups )
setIterations ( $iterations )
setOutputMode ( $outputMode )
setOutputTimePrecision ( $outputTimePrecision )
setOutputTimeUnit ( $outputTimeUnit )
setParamProviders ( $paramProviders )
setParameterSets ( array $parameterSets ) Set the parameter sets for this subject.
setRetryThreshold ( $retryThreshold )
setRevs ( $revs )
setSkip ( $skip )
setSleep ( $sleep )
setWarmup ( $warmup )

Method Details

__construct() public method

public __construct ( BenchmarkMetadata $benchmarkMetadata, string $name )
$benchmarkMetadata BenchmarkMetadata
$name string

getAfterMethods() public method

public getAfterMethods ( )

getBeforeMethods() public method

public getBeforeMethods ( )

getBenchmark() public method

Return the benchmarkMetadata metadata for this subject.
public getBenchmark ( ) : BenchmarkMetadata
return BenchmarkMetadata

getGroups() public method

public getGroups ( )

getIterations() public method

public getIterations ( )

getName() public method

Return the method name of this subject.
public getName ( ) : string
return string

getOutputMode() public method

public getOutputMode ( )

getOutputTimePrecision() public method

getOutputTimeUnit() public method

public getOutputTimeUnit ( )

getParamProviders() public method

public getParamProviders ( )

getParameterSets() public method

Return the parameter sets for this subject.
public getParameterSets ( ) : array[]
return array[]

getRetryThreshold() public method

public getRetryThreshold ( )

getRevs() public method

public getRevs ( )

getSkip() public method

public getSkip ( )

getSleep() public method

public getSleep ( )

getWarmup() public method

public getWarmup ( )

inGroups() public method

public inGroups ( array $groups )
$groups array

setAfterMethods() public method

public setAfterMethods ( $afterMethods )

setBeforeMethods() public method

public setBeforeMethods ( $beforeMethods )

setGroups() public method

public setGroups ( $groups )

setIterations() public method

public setIterations ( $iterations )

setOutputMode() public method

public setOutputMode ( $outputMode )

setOutputTimePrecision() public method

public setOutputTimePrecision ( $outputTimePrecision )

setOutputTimeUnit() public method

public setOutputTimeUnit ( $outputTimeUnit )

setParamProviders() public method

public setParamProviders ( $paramProviders )

setParameterSets() public method

Set the parameter sets for this subject.
public setParameterSets ( array $parameterSets )
$parameterSets array

setRetryThreshold() public method

public setRetryThreshold ( $retryThreshold )

setRevs() public method

public setRevs ( $revs )

setSkip() public method

public setSkip ( $skip )

setSleep() public method

public setSleep ( $sleep )

setWarmup() public method

public setWarmup ( $warmup )