Run Report
Run #53923e49d2b58: XHProf Run (Namespace=drupal-perf-drupalcon)
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::hasPermission117 14.1% 35,061 3.8% 34,970 4.1% 78,580 0.5% 105,948 0.7%
Exclusive Metrics for Current Function2,179 6.2% 1,603 4.6% -35,972 -45.8% 900 0.8%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission117 100.0% 35,061 100.0% 34,970 100.0% 78,580 100.0% 105,948 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple117 16.7% 28,530 81.4% 28,454 81.4% 56,168 71.5% 48,536 45.8%
Drupal::entityManager117 16.7% 1,840 5.2% 1,957 5.6% 460 0.6% 3,408 3.2%
Drupal\Core\Entity\EntityManager::getStorage117 16.7% 1,211 3.5% 1,329 3.8% 52,568 66.9% 52,176 49.2%
Drupal\user\Entity\Role::hasPermission117 16.7% 1,057 3.0% 1,163 3.3% 4,364 5.6% 0 0.0%
Drupal\Core\Session\UserSession::getRoles117 16.7% 127 0.4% 267 0.8% 500 0.6% 452 0.4%
Drupal\Core\Session\UserSession::id117 16.7% 117 0.3% 197 0.6% 492 0.6% 476 0.4%