Run Report
Run #536ffbe232db1: 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,369 2.2% 14,378 2.3% 150,744 0.4% 185,376 0.4%
Exclusive Metrics for Current Function939 6.5% 627 4.4% -32,512 -21.6% 1,552 0.8%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission59 100.0% 14,369 100.0% 14,378 100.0% 150,744 100.0% 185,376 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple59 16.7% 10,783 75.0% 10,804 75.1% 67,928 45.1% 70,128 37.8%
Drupal\Core\Entity\EntityManager::getStorage59 16.7% 1,475 10.3% 1,537 10.7% 108,128 71.7% 108,136 58.3%
Drupal::entityManager59 16.7% 633 4.4% 692 4.8% 808 0.5% 4,120 2.2%
Drupal\user\Entity\Role::hasPermission59 16.7% 438 3.0% 494 3.4% 4,736 3.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles59 16.7% 81 0.6% 126 0.9% 832 0.6% 616 0.3%
Drupal\Core\Session\UserSession::id59 16.7% 20 0.1% 98 0.7% 824 0.5% 824 0.4%