Run Report
Run #538e39fe2a170: 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,207 2.5% 11,120 2.6% 137,856 0.3% 169,624 0.4%
Exclusive Metrics for Current Function749 6.7% 506 4.6% -31,496 -22.8% 2,352 1.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission57 100.0% 11,207 100.0% 11,120 100.0% 137,856 100.0% 169,624 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple57 16.7% 8,627 77.0% 8,540 76.8% 49,640 36.0% 47,504 28.0%
Drupal\Core\Entity\EntityManager::getStorage57 16.7% 1,126 10.0% 1,173 10.5% 112,496 81.6% 112,696 66.4%
Drupal::entityManager57 16.7% 471 4.2% 519 4.7% 808 0.6% 4,208 2.5%
Drupal\user\Entity\Role::hasPermission57 16.7% 172 1.5% 222 2.0% 4,680 3.4% 1,424 0.8%
Drupal\Core\Session\UserSession::getRoles57 16.7% 43 0.4% 87 0.8% 872 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id57 16.7% 19 0.2% 73 0.7% 856 0.6% 824 0.5%