Consolidate a few timers into an array in the Debug class

This commit is contained in:
Kijin Sung 2025-08-20 00:25:20 +09:00
parent e7d14be6bb
commit f91bd86fb1
3 changed files with 38 additions and 69 deletions

View file

@ -100,7 +100,7 @@ class Session
trigger_error('Session cannot be started', \E_USER_WARNING);
return false;
}
Debug::addSessionStartTime(microtime(true) - $session_start_time);
Debug::addTime('session', microtime(true) - $session_start_time);
// Mark the session as started.
self::$_started = true;