Run Report
Run #5391fcf6ab927: 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,795 2.6% 13,576 2.8% 73,120 0.6% 103,668 0.8%
Exclusive Metrics for Current Function828 6.0% 608 4.5% -12,292 -16.8% 664 0.6%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission43 100.0% 13,795 100.0% 13,576 100.0% 73,120 100.0% 103,668 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple43 16.7% 11,078 80.3% 10,851 79.9% 31,180 42.6% 48,976 47.2%
Drupal\Core\Entity\EntityManager::getStorage43 16.7% 725 5.3% 772 5.7% 50,488 69.0% 50,388 48.6%
Drupal::entityManager43 16.7% 669 4.8% 716 5.3% 460 0.6% 2,764 2.7%
Drupal\user\Entity\Role::hasPermission43 16.7% 403 2.9% 445 3.3% 2,292 3.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles43 16.7% 49 0.4% 112 0.8% 500 0.7% 384 0.4%
Drupal\Core\Session\UserSession::id43 16.7% 43 0.3% 72 0.5% 492 0.7% 492 0.5%