Run Report
Run #53ccf19d00e96: 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% 31,011 4.5% 30,681 4.6% 1,334,080 3.1% 1,355,136 3.1%
Exclusive Metrics for Current Function1,504 4.8% 948 3.1% 2,080 0.2% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission192 100.0% 31,011 100.0% 30,681 100.0% 1,334,080 100.0% 1,355,136 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles192 25.0% 19,975 64.4% 19,949 65.0% 46,640 3.5% 62,016 4.6%
Drupal\Core\Session\UserSession::getRoleStorage192 25.0% 9,453 30.5% 9,293 30.3% 1,283,616 96.2% 1,289,616 95.2%
Drupal\Core\Session\UserSession::getRoles192 25.0% 63 0.2% 263 0.9% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id192 25.0% 16 0.1% 228 0.7% 856 0.1% 656 0.0%