src/Core/Benchmark.php
public function getMin(array $markers)
    {
        $min = [
            'time'   => 0,
            'memory' => 0,
        ];

        foreach ($markers as $marker) {
            $total = $this->getTotal($marker);

            if ($min['time'] === 0 || $total['time'] < $min['time']) {
                $min['time'] = $total['time'];
            }

            if ($min['memory'] === 0 || $total['memory'] < $min['memory']) {
                $min['memory'] = $total['memory'];
            }
        }

        return $min;
    }
public function getMin(array $markers)
    {
        $min = [
            'time'   => 0,
            'memory' => 0,
        ];

        foreach ($markers as $marker) {
            $total = $this->getTotal($marker);

            if ($min['time'] === 0 || $total['time'] < $min['time']) {
                $min['time'] = $total['time'];
            }

            if ($min['memory'] === 0 || $total['memory'] < $min['memory']) {
                $min['memory'] = $total['memory'];
            }
        }

        return $min;
    }
@param array $markers

@return array