Run Report
Run #54df9298c351d: 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::hasPermission42 19.4% 15,290 1.0% 1,572,648 2.9% 1,402,400 2.6%
Exclusive Metrics for Current Function317 2.1% 1,936 0.1% 1,472 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission42 100.0% 15,290 100.0% 1,572,648 100.0% 1,402,400 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage42 25.0% 12,416 81.2% 1,457,944 92.7% 1,270,784 90.6%
Drupal\user\RoleStorage::isPermissionInRoles42 25.0% 2,532 16.6% 111,336 7.1% 129,456 9.2%
Drupal\Core\Session\UserSession::getRoles42 25.0% 20 0.1% 752 0.0% 688 0.0%
Drupal\Core\Session\UserSession::id42 25.0% 5 0.0% 680 0.0% 0 0.0%