Run Report
Run #54e0a6d45fe2a: 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::hasPermission84 19.6% 13,230 1.9% 12,767 1.9% 1,593,904 3.2% 1,626,608 3.2%
Exclusive Metrics for Current Function700 5.3% 467 3.7% 2,080 0.1% 2,056 0.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission84 100.0% 13,230 100.0% 12,767 100.0% 1,593,904 100.0% 1,626,608 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage84 25.0% 8,260 62.4% 8,060 63.1% 1,459,248 91.6% 1,465,408 90.1%
Drupal\user\RoleStorage::isPermissionInRoles84 25.0% 4,197 31.7% 4,013 31.4% 130,856 8.2% 157,488 9.7%
Drupal\Core\Session\UserSession::getRoles84 25.0% 52 0.4% 120 0.9% 896 0.1% 832 0.1%
Drupal\Core\Session\UserSession::id84 25.0% 21 0.2% 107 0.8% 824 0.1% 824 0.1%