Run Report
Run #55894cb58cb8a: XHProf Run (Namespace=drupal-perf-stefanr)
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::hasPermission64 19.6% 21,997 2.1% 1,784,832 3.5% 1,821,000 3.6%
Exclusive Metrics for Current Function553 2.5% 1,936 0.1% 1,848 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission64 100.0% 21,997 100.0% 1,784,832 100.0% 1,821,000 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage64 25.0% 15,281 69.5% 1,658,888 92.9% 1,664,224 91.4%
Drupal\user\RoleStorage::isPermissionInRoles64 25.0% 6,071 27.6% 122,528 6.9% 153,480 8.4%
Drupal\Core\Session\UserSession::getRoles64 25.0% 57 0.3% 768 0.0% 768 0.0%
Drupal\Core\Session\UserSession::id64 25.0% 35 0.2% 712 0.0% 680 0.0%