Run Report
Run #54811b6aec43d: 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::hasPermission244 19.9% 19,280 0.5% 944,344 2.2% 944,976 2.1%
Exclusive Metrics for Current Function1,979 10.3% 1,936 0.2% 1,840 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission244 100.0% 19,280 100.0% 944,344 100.0% 944,976 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles244 25.0% 9,928 51.5% 56,216 6.0% 55,032 5.8%
Drupal\Core\Session\UserSession::getRoleStorage244 25.0% 7,265 37.7% 884,768 93.7% 886,736 93.8%
Drupal\Core\Session\UserSession::getRoles244 25.0% 103 0.5% 744 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id244 25.0% 5 0.0% 680 0.1% 680 0.1%