Run Report
Run #538e3ac0de109: 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,204 2.5% 11,114 2.6% 137,856 0.3% 169,624 0.4%
Exclusive Metrics for Current Function752 6.7% 507 4.6% -31,496 -22.8% 2,352 1.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission57 100.0% 11,204 100.0% 11,114 100.0% 137,856 100.0% 169,624 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple57 16.7% 8,592 76.7% 8,498 76.5% 49,640 36.0% 47,504 28.0%
Drupal\Core\Entity\EntityManager::getStorage57 16.7% 1,143 10.2% 1,199 10.8% 112,496 81.6% 112,696 66.4%
Drupal::entityManager57 16.7% 476 4.2% 521 4.7% 808 0.6% 4,208 2.5%
Drupal\user\Entity\Role::hasPermission57 16.7% 175 1.6% 229 2.1% 4,680 3.4% 1,424 0.8%
Drupal\Core\Session\UserSession::getRoles57 16.7% 45 0.4% 85 0.8% 872 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id57 16.7% 21 0.2% 75 0.7% 856 0.6% 824 0.5%