Run Report
Run #535139ab6e707: 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% 80,877 6.3% 81,167 6.5% 156,120 0.4% 317,848 0.7%
Exclusive Metrics for Current Function6,368 7.9% 4,234 5.2% -301,496 -193.1% 2,352 0.7%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission507 100.0% 80,877 100.0% 81,167 100.0% 156,120 100.0% 317,848 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple507 16.7% 66,459 82.2% 66,758 82.2% 319,664 204.8% 199,024 62.6%
Drupal::entityManager507 16.7% 3,882 4.8% 4,322 5.3% 808 0.5% 4,328 1.4%
Drupal\Core\Entity\EntityManager::getStorage507 16.7% 2,387 3.0% 2,790 3.4% 109,136 69.9% 109,232 34.4%
Drupal\user\Entity\Role::hasPermission507 16.7% 1,530 1.9% 1,796 2.2% 26,280 16.8% 1,472 0.5%
Drupal\Core\Session\UserSession::getRoles507 16.7% 181 0.2% 667 0.8% 872 0.6% 616 0.2%
Drupal\Core\Session\UserSession::id507 16.7% 70 0.1% 600 0.7% 856 0.5% 824 0.3%