Run Report
Run #538ce46e85e63: 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,828 4.0% 9,664 4.3% 110,096 0.6% 131,552 0.7%
Exclusive Metrics for Current Function753 7.7% 556 5.8% -21,640 -19.7% 1,344 1.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission42 100.0% 9,828 100.0% 9,664 100.0% 110,096 100.0% 131,552 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple42 16.7% 7,763 79.0% 7,599 78.6% 37,176 33.8% 35,136 26.7%
Drupal\Core\Entity\EntityManager::getStorage42 16.7% 664 6.8% 710 7.3% 89,384 81.2% 90,152 68.5%
Drupal::entityManager42 16.7% 456 4.6% 493 5.1% 680 0.6% 3,624 2.8%
Drupal\user\Entity\Role::hasPermission42 16.7% 100 1.0% 139 1.4% 2,840 2.6% 0 0.0%
Drupal\Core\Session\UserSession::getRoles42 16.7% 51 0.5% 85 0.9% 832 0.8% 472 0.4%
Drupal\Core\Session\UserSession::id42 16.7% 41 0.4% 82 0.8% 824 0.7% 824 0.6%