public function getAvgExecutionTime(): float
    {
        return $this->getTotalExecutionTime() ? ($this->getTotalExecutionTime() / \count($this->data['commands'])) : (float) 0;
    }
public function getAvgExecutionTime(): float
    {
        return $this->getTotalExecutionTime() ? ($this->getTotalExecutionTime() / \count($this->data['commands'])) : (float) 0;
    }
public function getAvgExecutionTime ( ) : float { return $ this -> getTotalExecutionTime ( ) ? ( $ this -> getTotalExecutionTime ( ) / \ count ( $ this -> data [ 'commands' ] ) ) : ( float ) 0 ; }
Get average execution time.

@return float
Get average execution time .