Run Report
Run #536ffcbacf96d: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission59 14.0% 14,484 2.2% 14,510 2.3% 150,760 0.4% 185,768 0.4%
Exclusive Metrics for Current Function963 6.6% 678 4.7% -32,512 -21.6% 1,552 0.8%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission59 100.0% 14,484 100.0% 14,510 100.0% 150,760 100.0% 185,768 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple59 16.7% 10,854 74.9% 10,875 74.9% 67,928 45.1% 70,200 37.8%
Drupal\Core\Entity\EntityManager::getStorage59 16.7% 1,512 10.4% 1,569 10.8% 108,144 71.7% 108,384 58.3%
Drupal::entityManager59 16.7% 632 4.4% 687 4.7% 808 0.5% 4,192 2.3%
Drupal\user\Entity\Role::hasPermission59 16.7% 440 3.0% 491 3.4% 4,736 3.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles59 16.7% 63 0.4% 115 0.8% 832 0.6% 616 0.3%
Drupal\Core\Session\UserSession::id59 16.7% 20 0.1% 95 0.7% 824 0.5% 824 0.4%