Run Report
Run #54dec6fc087bf: 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::hasPermission25 18.9% 6,377 0.5% 1,039,792 3.5% 840,400 2.8%
Exclusive Metrics for Current Function196 3.1% 1,936 0.2% 1,464 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission25 100.0% 6,377 100.0% 1,039,792 100.0% 840,400 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage25 25.0% 4,326 67.8% 925,928 89.0% 711,288 84.6%
Drupal\user\RoleStorage::isPermissionInRoles25 25.0% 1,841 28.9% 110,496 10.6% 126,960 15.1%
Drupal\Core\Session\UserSession::getRoles25 25.0% 11 0.2% 752 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id25 25.0% 3 0.0% 680 0.1% 0 0.0%