Run Report
Run #53ccf06f3ae60: 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,146 4.5% 30,834 4.6% 1,334,080 3.1% 1,355,136 3.1%
Exclusive Metrics for Current Function1,521 4.9% 1,018 3.3% 2,080 0.2% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission192 100.0% 31,146 100.0% 30,834 100.0% 1,334,080 100.0% 1,355,136 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles192 25.0% 20,041 64.3% 20,009 64.9% 46,640 3.5% 62,016 4.6%
Drupal\Core\Session\UserSession::getRoleStorage192 25.0% 9,498 30.5% 9,349 30.3% 1,283,616 96.2% 1,289,616 95.2%
Drupal\Core\Session\UserSession::getRoles192 25.0% 70 0.2% 248 0.8% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id192 25.0% 16 0.1% 210 0.7% 856 0.1% 656 0.0%