PHP Class PhpBench\Model\Result\ComputedResult

Inheritance: implements PhpBench\Model\ResultInterface
Show file Open project: dantleech/phpbench

Public Methods

Method Description
__construct ( float $zValue, float $deviation )
fromArray ( array $values )
getDeviation ( ) : float Return the percentage deviation from the mean of the iteration set of the iteration to which this result belongs.
getKey ( )
getMetrics ( )
getZValue ( ) : float Return the ZValue - the number of standard deviations away from the mean of the iteration set to which the iteration of this result belongs.

Method Details

__construct() public method

public __construct ( float $zValue, float $deviation )
$zValue float
$deviation float

fromArray() public static method

public static fromArray ( array $values )
$values array

getDeviation() public method

Return the percentage deviation from the mean of the iteration set of the iteration to which this result belongs.
public getDeviation ( ) : float
return float

getKey() public method

public getKey ( )

getMetrics() public method

public getMetrics ( )

getZValue() public method

Return the ZValue - the number of standard deviations away from the mean of the iteration set to which the iteration of this result belongs.
public getZValue ( ) : float
return float