Run Report
Run #538e3d27ad593: 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,076 2.4% 10,981 2.5% 137,856 0.3% 169,728 0.4%
Exclusive Metrics for Current Function771 7.0% 519 4.7% -31,496 -22.8% 2,352 1.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission57 100.0% 11,076 100.0% 10,981 100.0% 137,856 100.0% 169,728 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple57 16.7% 8,489 76.6% 8,407 76.6% 49,640 36.0% 47,488 28.0%
Drupal\Core\Entity\EntityManager::getStorage57 16.7% 1,127 10.2% 1,171 10.7% 112,496 81.6% 112,816 66.5%
Drupal::entityManager57 16.7% 467 4.2% 506 4.6% 808 0.6% 4,208 2.5%
Drupal\user\Entity\Role::hasPermission57 16.7% 164 1.5% 219 2.0% 4,680 3.4% 1,424 0.8%
Drupal\Core\Session\UserSession::getRoles57 16.7% 39 0.4% 81 0.7% 872 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id57 16.7% 19 0.2% 78 0.7% 856 0.6% 824 0.5%