Run Report
Run #53923e3238612: 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,532 3.8% 35,290 4.1% 78,580 0.5% 106,188 0.7%
Exclusive Metrics for Current Function2,171 6.1% 1,636 4.6% -35,972 -45.8% 900 0.8%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission117 100.0% 35,532 100.0% 35,290 100.0% 78,580 100.0% 106,188 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple117 16.7% 28,921 81.4% 28,671 81.2% 56,168 71.5% 48,776 45.9%
Drupal::entityManager117 16.7% 1,841 5.2% 1,947 5.5% 460 0.6% 3,408 3.2%
Drupal\Core\Entity\EntityManager::getStorage117 16.7% 1,275 3.6% 1,379 3.9% 52,568 66.9% 52,176 49.1%
Drupal\user\Entity\Role::hasPermission117 16.7% 1,079 3.0% 1,203 3.4% 4,364 5.6% 0 0.0%
Drupal\Core\Session\UserSession::getRoles117 16.7% 128 0.4% 252 0.7% 500 0.6% 452 0.4%
Drupal\Core\Session\UserSession::id117 16.7% 117 0.3% 202 0.6% 492 0.6% 476 0.4%