Run Report
Run #53513afe3c568: 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::hasPermission507 14.2% 81,190 6.3% 81,487 6.5% 156,120 0.4% 317,536 0.7%
Exclusive Metrics for Current Function6,498 8.0% 4,399 5.4% -301,520 -193.1% 2,352 0.7%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission507 100.0% 81,190 100.0% 81,487 100.0% 156,120 100.0% 317,536 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple507 16.7% 66,697 82.1% 66,994 82.2% 319,688 204.8% 198,848 62.6%
Drupal::entityManager507 16.7% 3,884 4.8% 4,336 5.3% 808 0.5% 4,184 1.3%
Drupal\Core\Entity\EntityManager::getStorage507 16.7% 2,336 2.9% 2,710 3.3% 109,136 69.9% 109,240 34.4%
Drupal\user\Entity\Role::hasPermission507 16.7% 1,454 1.8% 1,784 2.2% 26,280 16.8% 1,472 0.5%
Drupal\Core\Session\UserSession::getRoles507 16.7% 241 0.3% 713 0.9% 872 0.6% 616 0.2%
Drupal\Core\Session\UserSession::id507 16.7% 80 0.1% 551 0.7% 856 0.5% 824 0.3%