Run Report
Run #53513c776fc13: 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::hasPermission139 14.2% 22,540 3.7% 22,542 3.8% 138,456 0.3% 160,656 0.4%
Exclusive Metrics for Current Function1,685 7.5% 1,108 4.9% -80,696 -58.3% 2,304 1.4%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission139 100.0% 22,540 100.0% 22,542 100.0% 138,456 100.0% 160,656 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple139 16.7% 18,292 81.2% 18,294 81.2% 98,864 71.4% 42,552 26.5%
Drupal\Core\Entity\EntityManager::getStorage139 16.7% 1,028 4.6% 1,143 5.1% 109,136 78.8% 109,160 67.9%
Drupal::entityManager139 16.7% 1,027 4.6% 1,169 5.2% 808 0.6% 3,728 2.3%
Drupal\user\Entity\Role::hasPermission139 16.7% 414 1.8% 495 2.2% 8,616 6.2% 1,472 0.9%
Drupal\Core\Session\UserSession::getRoles139 16.7% 79 0.4% 179 0.8% 872 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id139 16.7% 15 0.1% 154 0.7% 856 0.6% 824 0.5%