Run Report
Run #5368375f9202e: 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::hasPermission18 13.3% 4,364 1.5% 4,275 1.5% 126,048 0.4% 135,176 0.5%
Exclusive Metrics for Current Function252 5.8% 174 4.1% -8,096 -6.4% 1,824 1.3%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission18 100.0% 4,364 100.0% 4,275 100.0% 126,048 100.0% 135,176 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple18 16.7% 2,867 65.7% 2,777 65.0% 23,608 18.7% 23,408 17.3%
Drupal\Core\Entity\EntityManager::getStorage18 16.7% 1,010 23.1% 1,026 24.0% 105,192 83.5% 105,720 78.2%
Drupal::entityManager18 16.7% 161 3.7% 171 4.0% 808 0.6% 1,552 1.1%
Drupal\user\Entity\Role::hasPermission18 16.7% 54 1.2% 72 1.7% 2,808 2.2% 1,424 1.1%
Drupal\Core\Session\UserSession::getRoles18 16.7% 12 0.3% 31 0.7% 872 0.7% 424 0.3%
Drupal\Core\Session\UserSession::id18 16.7% 8 0.2% 24 0.6% 856 0.7% 824 0.6%