Run Report
Run #545c2884701b3: 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,626 2.8% 934,360 4.2% 960,664 4.3%
Exclusive Metrics for Current Function283 4.3% 1,936 0.2% 1,984 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission36 100.0% 6,626 100.0% 934,360 100.0% 960,664 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage36 25.0% 4,515 68.1% 884,752 94.7% 892,960 93.0%
Drupal\user\RoleStorage::isPermissionInRoles36 25.0% 1,810 27.3% 46,216 4.9% 64,352 6.7%
Drupal\Core\Session\UserSession::getRoles36 25.0% 17 0.3% 744 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id36 25.0% 1 0.0% 712 0.1% 680 0.1%