Run Report
Run #550de0f0bfc62: 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::hasPermission47 19.4% 7,389 3.5% 1,078,072 4.9% 1,112,704 5.0%
Exclusive Metrics for Current Function351 4.8% 1,936 0.2% 2,192 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission47 100.0% 7,389 100.0% 1,078,072 100.0% 1,112,704 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage47 25.0% 4,276 57.9% 964,968 89.5% 973,712 87.5%
Drupal\user\RoleStorage::isPermissionInRoles47 25.0% 2,754 37.3% 109,688 10.2% 135,432 12.2%
Drupal\Core\Session\UserSession::getRoles47 25.0% 7 0.1% 768 0.1% 768 0.1%
Drupal\Core\Session\UserSession::id47 25.0% 1 0.0% 712 0.1% 600 0.1%