Run Report
Run #545c22fd79188: 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,706 2.9% 934,320 4.2% 960,624 4.3%
Exclusive Metrics for Current Function279 4.2% 1,936 0.2% 1,984 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission36 100.0% 6,706 100.0% 934,320 100.0% 960,624 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage36 25.0% 4,537 67.7% 884,712 94.7% 892,920 93.0%
Drupal\user\RoleStorage::isPermissionInRoles36 25.0% 1,872 27.9% 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%