Run Report
Run #5391fc871e91d: 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,752 2.5% 13,567 2.8% 73,120 0.6% 103,668 0.8%
Exclusive Metrics for Current Function829 6.0% 637 4.7% -12,292 -16.8% 664 0.6%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission43 100.0% 13,752 100.0% 13,567 100.0% 73,120 100.0% 103,668 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple43 16.7% 10,985 79.9% 10,784 79.5% 31,180 42.6% 48,976 47.2%
Drupal\Core\Entity\EntityManager::getStorage43 16.7% 765 5.6% 804 5.9% 50,488 69.0% 50,388 48.6%
Drupal::entityManager43 16.7% 670 4.9% 716 5.3% 460 0.6% 2,764 2.7%
Drupal\user\Entity\Role::hasPermission43 16.7% 409 3.0% 447 3.3% 2,292 3.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles43 16.7% 51 0.4% 106 0.8% 500 0.7% 384 0.4%
Drupal\Core\Session\UserSession::id43 16.7% 43 0.3% 73 0.5% 492 0.7% 492 0.5%