Run Report
Run #538e3d03a05a3: 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,140 2.5% 11,038 2.5% 137,856 0.3% 169,624 0.4%
Exclusive Metrics for Current Function755 6.8% 521 4.7% -31,496 -22.8% 2,352 1.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission57 100.0% 11,140 100.0% 11,038 100.0% 137,856 100.0% 169,624 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple57 16.7% 8,568 76.9% 8,460 76.6% 49,640 36.0% 47,504 28.0%
Drupal\Core\Entity\EntityManager::getStorage57 16.7% 1,125 10.1% 1,182 10.7% 112,496 81.6% 112,696 66.4%
Drupal::entityManager57 16.7% 464 4.2% 510 4.6% 808 0.6% 4,208 2.5%
Drupal\user\Entity\Role::hasPermission57 16.7% 171 1.5% 215 1.9% 4,680 3.4% 1,424 0.8%
Drupal\Core\Session\UserSession::getRoles57 16.7% 40 0.4% 84 0.8% 872 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id57 16.7% 17 0.2% 66 0.6% 856 0.6% 824 0.5%