Run Report
Run #538ce49a96f74: XHProf Run (Namespace=drupal-perf-steinmb)
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::hasPermission42 14.1% 9,088 3.7% 8,934 4.0% 110,096 0.6% 131,376 0.7%
Exclusive Metrics for Current Function681 7.5% 495 5.5% -21,640 -19.7% 1,344 1.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission42 100.0% 9,088 100.0% 8,934 100.0% 110,096 100.0% 131,376 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple42 16.7% 7,195 79.2% 7,049 78.9% 37,176 33.8% 34,888 26.6%
Drupal\Core\Entity\EntityManager::getStorage42 16.7% 646 7.1% 678 7.6% 89,384 81.2% 90,152 68.6%
Drupal::entityManager42 16.7% 398 4.4% 439 4.9% 680 0.6% 3,696 2.8%
Drupal\user\Entity\Role::hasPermission42 16.7% 99 1.1% 137 1.5% 2,840 2.6% 0 0.0%
Drupal\Core\Session\UserSession::getRoles42 16.7% 44 0.5% 77 0.9% 832 0.8% 472 0.4%
Drupal\Core\Session\UserSession::id42 16.7% 25 0.3% 59 0.7% 824 0.7% 824 0.6%