Run Report
Run #538ce989892af: 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::hasPermission24 13.6% 5,494 2.3% 5,343 2.3% 148,776 0.5% 121,936 0.4%
Exclusive Metrics for Current Function321 5.8% 220 4.1% -11,696 -7.9% 1,392 1.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission24 100.0% 5,494 100.0% 5,343 100.0% 148,776 100.0% 121,936 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple24 16.7% 3,893 70.9% 3,743 70.1% 44,848 30.1% 40,528 33.2%
Drupal\Core\Entity\EntityManager::getStorage24 16.7% 981 17.9% 1,002 18.8% 108,848 73.2% 76,752 62.9%
Drupal::entityManager24 16.7% 202 3.7% 224 4.2% 1,952 1.3% 1,320 1.1%
Drupal\user\Entity\Role::hasPermission24 16.7% 77 1.4% 93 1.7% 3,096 2.1% 1,472 1.2%
Drupal\Core\Session\UserSession::getRoles24 16.7% 12 0.2% 33 0.6% 872 0.6% 472 0.4%
Drupal\Core\Session\UserSession::id24 16.7% 8 0.1% 28 0.5% 856 0.6% 0 0.0%