Run Report
Run #538e3b37c1a66: 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::hasPermission57 14.0% 11,071 2.4% 10,980 2.5% 137,856 0.3% 169,728 0.4%
Exclusive Metrics for Current Function781 7.1% 530 4.8% -31,496 -22.8% 2,352 1.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission57 100.0% 11,071 100.0% 10,980 100.0% 137,856 100.0% 169,728 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple57 16.7% 8,437 76.2% 8,346 76.0% 49,640 36.0% 47,488 28.0%
Drupal\Core\Entity\EntityManager::getStorage57 16.7% 1,163 10.5% 1,221 11.1% 112,496 81.6% 112,816 66.5%
Drupal::entityManager57 16.7% 465 4.2% 510 4.6% 808 0.6% 4,208 2.5%
Drupal\user\Entity\Role::hasPermission57 16.7% 166 1.5% 214 1.9% 4,680 3.4% 1,424 0.8%
Drupal\Core\Session\UserSession::getRoles57 16.7% 42 0.4% 91 0.8% 872 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id57 16.7% 17 0.2% 68 0.6% 856 0.6% 824 0.5%