Run Report
Run #541de5cbd937a: 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::hasPermission131 19.7% 20,721 2.1% 20,354 2.1% 1,494,688 2.7% 1,516,952 2.8%
Exclusive Metrics for Current Function1,281 6.2% 951 4.7% 2,080 0.1% 2,056 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission131 100.0% 20,721 100.0% 20,354 100.0% 1,494,688 100.0% 1,516,952 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage131 25.0% 10,847 52.3% 10,647 52.3% 1,434,608 96.0% 1,445,272 95.3%
Drupal\user\RoleStorage::isPermissionInRoles131 25.0% 8,224 39.7% 8,165 40.1% 56,256 3.8% 67,968 4.5%
Drupal\Core\Session\UserSession::getRoles131 25.0% 198 1.0% 314 1.5% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id131 25.0% 171 0.8% 277 1.4% 856 0.1% 824 0.1%