public static function requestTime() { $start = self::requestStartTime(); $now = microtime(true); return $now - $start; }
/** * Get the summary for the panel. * * @return string */ public function summary() { $time = Number::precision(DebugTimer::requestTime(), 2) . ' s'; $memory = Number::toReadableSize(DebugMemory::getPeak()); return "{$time} / {$memory}"; }