Run Report
Run #54df8f50b2e01: 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,299 1.0% 1,572,560 3.4% 1,406,440 3.0%
Exclusive Metrics for Current Function320 2.1% 1,936 0.1% 1,616 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission42 100.0% 15,299 100.0% 1,572,560 100.0% 1,406,440 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage42 25.0% 12,427 81.2% 1,457,856 92.7% 1,272,368 90.5%
Drupal\user\RoleStorage::isPermissionInRoles42 25.0% 2,535 16.6% 111,336 7.1% 131,768 9.4%
Drupal\Core\Session\UserSession::getRoles42 25.0% 13 0.1% 752 0.0% 688 0.0%
Drupal\Core\Session\UserSession::id42 25.0% 4 0.0% 680 0.0% 0 0.0%