Run Report
Run #53cc6b88300c8: 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::hasPermission45 19.2% 16,832 3.8% 16,367 3.8% 1,423,752 3.2% 1,455,976 3.2%
Exclusive Metrics for Current Function462 2.7% 339 2.1% 2,080 0.1% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission45 100.0% 16,832 100.0% 16,367 100.0% 1,423,752 100.0% 1,455,976 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage45 25.0% 8,588 51.0% 8,294 50.7% 1,380,344 97.0% 1,388,544 95.4%
Drupal\user\RoleStorage::isPermissionInRoles45 25.0% 7,655 45.5% 7,531 46.0% 39,584 2.8% 63,928 4.4%
Drupal\Core\Session\UserSession::getRoles45 25.0% 68 0.4% 107 0.7% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id45 25.0% 59 0.4% 96 0.6% 856 0.1% 656 0.0%