Run Report
Run #53cceca14b28e: XHProf Run (Namespace=drupal-perf-cottser)
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. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\UserSession::hasPermission192 19.8% 42,190 4.8% 41,853 4.8% 1,430,928 3.0% 1,452,152 3.0%
Exclusive Metrics for Current Function1,776 4.2% 1,251 3.0% 2,080 0.1% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission192 100.0% 42,190 100.0% 41,853 100.0% 1,430,928 100.0% 1,452,152 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles192 25.0% 28,482 67.5% 28,470 68.0% 46,640 3.3% 60,336 4.2%
Drupal\Core\Session\UserSession::getRoleStorage192 25.0% 11,503 27.3% 11,333 27.1% 1,380,464 96.5% 1,388,312 95.6%
Drupal\Core\Session\UserSession::getRoles192 25.0% 220 0.5% 427 1.0% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id192 25.0% 209 0.5% 372 0.9% 856 0.1% 656 0.0%