Run Report
Run #5391fd5a43e70: 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::hasPermission43 13.9% 13,834 2.6% 13,672 2.8% 73,112 0.6% 103,616 0.8%
Exclusive Metrics for Current Function839 6.1% 624 4.6% -12,292 -16.8% 664 0.6%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission43 100.0% 13,834 100.0% 13,672 100.0% 73,112 100.0% 103,616 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple43 16.7% 11,055 79.9% 10,895 79.7% 31,172 42.6% 48,976 47.3%
Drupal\Core\Entity\EntityManager::getStorage43 16.7% 750 5.4% 798 5.8% 50,488 69.1% 50,388 48.6%
Drupal::entityManager43 16.7% 690 5.0% 725 5.3% 460 0.6% 2,712 2.6%
Drupal\user\Entity\Role::hasPermission43 16.7% 407 2.9% 453 3.3% 2,292 3.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles43 16.7% 50 0.4% 107 0.8% 500 0.7% 384 0.4%
Drupal\Core\Session\UserSession::id43 16.7% 43 0.3% 70 0.5% 492 0.7% 492 0.5%