DebugKit\Shell\BenchmarkShell::_deviation PHP Method

_deviation() protected method

Calculate the standard deviation.
protected _deviation ( array $times, boolean $sample = true ) : float
$times array Array of values
$sample boolean ''
return float Standard deviation
    protected function _deviation($times, $sample = true)
    {
        return sqrt($this->_variance($times, $sample));
    }