JohnKary\PHPUnit\Listener\SpeedTrapListener::isSlow PHP Method

isSlow() protected method

Whether the given test execution time is considered slow.
protected isSlow ( integer $time, integer $slowThreshold ) : boolean
$time integer Test execution time in milliseconds
$slowThreshold integer Test execution time at which a test should be considered slow (milliseconds)
return boolean
    protected function isSlow($time, $slowThreshold)
    {
        return $time >= $slowThreshold;
    }