Run Report
Run #54811e8abf892: 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::hasPermission244 19.9% 20,074 0.6% 944,296 2.2% 945,416 2.1%
Exclusive Metrics for Current Function1,978 9.9% 1,936 0.2% 1,840 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission244 100.0% 20,074 100.0% 944,296 100.0% 945,416 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles244 25.0% 10,529 52.5% 56,248 6.0% 55,400 5.9%
Drupal\Core\Session\UserSession::getRoleStorage244 25.0% 7,341 36.6% 884,688 93.7% 886,808 93.8%
Drupal\Core\Session\UserSession::getRoles244 25.0% 198 1.0% 744 0.1% 688 0.1%
Drupal\Core\Session\UserSession::id244 25.0% 28 0.1% 680 0.1% 680 0.1%