Run Report
Run #53ccf1bb00d4b: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\Session\UserSession::hasPermission [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\UserSession::hasPermission192 19.8% 31,143 4.5% 30,806 4.6% 1,334,120 3.1% 1,354,480 3.1%
Exclusive Metrics for Current Function1,470 4.7% 984 3.2% 2,080 0.2% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission192 100.0% 31,143 100.0% 30,806 100.0% 1,334,120 100.0% 1,354,480 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles192 25.0% 20,005 64.2% 19,970 64.8% 46,664 3.5% 61,640 4.6%
Drupal\Core\Session\UserSession::getRoleStorage192 25.0% 9,556 30.7% 9,388 30.5% 1,283,632 96.2% 1,289,336 95.2%
Drupal\Core\Session\UserSession::getRoles192 25.0% 97 0.3% 243 0.8% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id192 25.0% 15 0.0% 221 0.7% 856 0.1% 656 0.0%