Run Report
Run #54f28d53cc42b: 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% 9,769 0.5% 1,051,096 3.9% 1,078,368 4.0%
Exclusive Metrics for Current Function280 2.9% 1,936 0.2% 2,056 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission27 100.0% 9,769 100.0% 1,051,096 100.0% 1,078,368 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage27 25.0% 6,665 68.2% 937,696 89.2% 941,920 87.3%
Drupal\user\RoleStorage::isPermissionInRoles27 25.0% 2,786 28.5% 110,032 10.5% 133,024 12.3%
Drupal\Core\Session\UserSession::getRoles27 25.0% 29 0.3% 752 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id27 25.0% 9 0.1% 680 0.1% 680 0.1%