Run Report
Run #544337f542f97: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission656 19.9% 69,735 1.9% 69,928 1.9% 1,424,208 2.5% 1,415,968 2.5%
Exclusive Metrics for Current Function7,048 10.1% 5,297 7.6% 2,192 0.2% 2,088 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission656 100.0% 69,735 100.0% 69,928 100.0% 1,424,208 100.0% 1,415,968 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles656 25.0% 35,584 51.0% 36,023 51.5% 81,392 5.7% 65,472 4.6%
Drupal\Core\Session\UserSession::getRoleStorage656 25.0% 25,846 37.1% 26,305 37.6% 1,338,968 94.0% 1,346,752 95.1%
Drupal\Core\Session\UserSession::getRoles656 25.0% 745 1.1% 1,327 1.9% 832 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id656 25.0% 512 0.7% 976 1.4% 824 0.1% 824 0.1%