Run Report
Run #53513a6d2163d: 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,753 6.3% 80,840 6.5% 156,120 0.4% 317,848 0.7%
Exclusive Metrics for Current Function6,605 8.2% 4,231 5.2% -301,496 -193.1% 2,352 0.7%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission507 100.0% 80,753 100.0% 80,840 100.0% 156,120 100.0% 317,848 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple507 16.7% 66,156 81.9% 66,464 82.2% 319,664 204.8% 199,024 62.6%
Drupal::entityManager507 16.7% 3,908 4.8% 4,344 5.4% 808 0.5% 4,328 1.4%
Drupal\Core\Entity\EntityManager::getStorage507 16.7% 2,345 2.9% 2,735 3.4% 109,136 69.9% 109,232 34.4%
Drupal\user\Entity\Role::hasPermission507 16.7% 1,468 1.8% 1,797 2.2% 26,280 16.8% 1,472 0.5%
Drupal\Core\Session\UserSession::getRoles507 16.7% 190 0.2% 675 0.8% 872 0.6% 616 0.2%
Drupal\Core\Session\UserSession::id507 16.7% 81 0.1% 594 0.7% 856 0.5% 824 0.3%