Run Report
Run #54f29a0893b1f: 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::hasPermission44 19.4% 7,580 0.7% 1,051,952 3.8% 1,079,256 3.9%
Exclusive Metrics for Current Function318 4.2% 1,936 0.2% 2,056 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission44 100.0% 7,580 100.0% 1,051,952 100.0% 1,079,256 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage44 25.0% 4,731 62.4% 937,736 89.1% 942,200 87.3%
Drupal\user\RoleStorage::isPermissionInRoles44 25.0% 2,508 33.1% 110,848 10.5% 133,632 12.4%
Drupal\Core\Session\UserSession::getRoles44 25.0% 20 0.3% 752 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id44 25.0% 3 0.0% 680 0.1% 680 0.1%