Run Report
Run #545c2805be879: XHProf Run (Namespace=drupal-perf-davidhernandez)
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.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\UserSession::hasPermission36 19.3% 6,774 2.9% 934,352 4.2% 960,344 4.3%
Exclusive Metrics for Current Function282 4.2% 1,936 0.2% 1,984 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission36 100.0% 6,774 100.0% 934,352 100.0% 960,344 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage36 25.0% 4,628 68.3% 884,744 94.7% 892,952 93.0%
Drupal\user\RoleStorage::isPermissionInRoles36 25.0% 1,847 27.3% 46,216 4.9% 64,040 6.7%
Drupal\Core\Session\UserSession::getRoles36 25.0% 15 0.2% 744 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id36 25.0% 2 0.0% 712 0.1% 680 0.1%