Run Report
Run #54f29712d4f96: 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,783 0.6% 1,051,952 3.8% 1,079,256 3.9%
Exclusive Metrics for Current Function332 4.3% 1,936 0.2% 2,056 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission44 100.0% 7,783 100.0% 1,051,952 100.0% 1,079,256 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage44 25.0% 4,893 62.9% 937,736 89.1% 942,200 87.3%
Drupal\user\RoleStorage::isPermissionInRoles44 25.0% 2,542 32.7% 110,848 10.5% 133,632 12.4%
Drupal\Core\Session\UserSession::getRoles44 25.0% 13 0.2% 752 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id44 25.0% 3 0.0% 680 0.1% 680 0.1%