Run Report
Run #54f283c5bb5f3: 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::hasPermission27 19.0% 10,678 0.6% 1,051,104 3.9% 1,077,848 3.9%
Exclusive Metrics for Current Function298 2.8% 1,936 0.2% 2,056 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission27 100.0% 10,678 100.0% 1,051,104 100.0% 1,077,848 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage27 25.0% 7,263 68.0% 937,704 89.2% 941,400 87.3%
Drupal\user\RoleStorage::isPermissionInRoles27 25.0% 3,071 28.8% 110,032 10.5% 133,024 12.3%
Drupal\Core\Session\UserSession::getRoles27 25.0% 32 0.3% 752 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id27 25.0% 14 0.1% 680 0.1% 680 0.1%