Run Report
Run #53cc6e8349e04: 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% 41,788 4.6% 41,434 4.7% 1,430,808 2.9% 1,449,032 3.0%
Exclusive Metrics for Current Function1,720 4.1% 1,220 2.9% 2,080 0.1% 2,016 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission192 100.0% 41,788 100.0% 41,434 100.0% 1,430,808 100.0% 1,449,032 100.0%
Child functions
Drupal\user\RoleStorage::isPermissionInRoles192 25.0% 28,177 67.4% 28,134 67.9% 46,640 3.3% 57,624 4.0%
Drupal\Core\Session\UserSession::getRoleStorage192 25.0% 11,475 27.5% 11,290 27.2% 1,380,344 96.5% 1,387,904 95.8%
Drupal\Core\Session\UserSession::getRoles192 25.0% 214 0.5% 415 1.0% 888 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id192 25.0% 202 0.5% 375 0.9% 856 0.1% 656 0.0%