Run Report
Run #53cc6a6bebea4: 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::hasPermission45 19.2% 16,563 3.7% 16,125 3.8% 1,423,984 3.2% 1,456,008 3.2%
Exclusive Metrics for Current Function457 2.8% 346 2.1% 2,080 0.1% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission45 100.0% 16,563 100.0% 16,125 100.0% 1,423,984 100.0% 1,456,008 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage45 25.0% 8,387 50.6% 8,122 50.4% 1,380,576 97.0% 1,388,568 95.4%
Drupal\user\RoleStorage::isPermissionInRoles45 25.0% 7,594 45.8% 7,455 46.2% 39,584 2.8% 63,936 4.4%
Drupal\Core\Session\UserSession::getRoles45 25.0% 66 0.4% 108 0.7% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id45 25.0% 59 0.4% 94 0.6% 856 0.1% 656 0.0%