Run Report
Run #550de112c2927: 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,279 3.2% 1,078,072 4.9% 1,111,320 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,279 100.0% 1,078,072 100.0% 1,111,320 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage47 25.0% 4,148 57.0% 964,968 89.5% 973,320 87.6%
Drupal\user\RoleStorage::isPermissionInRoles47 25.0% 2,767 38.0% 109,688 10.2% 134,440 12.1%
Drupal\Core\Session\UserSession::getRoles47 25.0% 13 0.2% 768 0.1% 768 0.1%
Drupal\Core\Session\UserSession::id47 25.0% 0 0.0% 712 0.1% 600 0.1%