Run Report
Run #538ce5d94ebdd: 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,573 2.3% 5,433 2.4% 148,776 0.5% 121,800 0.4%
Exclusive Metrics for Current Function329 5.9% 230 4.2% -11,696 -7.9% 1,392 1.1%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission24 100.0% 5,573 100.0% 5,433 100.0% 148,776 100.0% 121,800 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple24 16.7% 3,961 71.1% 3,817 70.3% 44,848 30.1% 40,392 33.2%
Drupal\Core\Entity\EntityManager::getStorage24 16.7% 979 17.6% 1,001 18.4% 108,848 73.2% 76,752 63.0%
Drupal::entityManager24 16.7% 202 3.6% 228 4.2% 1,952 1.3% 1,320 1.1%
Drupal\user\Entity\Role::hasPermission24 16.7% 77 1.4% 96 1.8% 3,096 2.1% 1,472 1.2%
Drupal\Core\Session\UserSession::getRoles24 16.7% 16 0.3% 34 0.6% 872 0.6% 472 0.4%
Drupal\Core\Session\UserSession::id24 16.7% 9 0.2% 27 0.5% 856 0.6% 0 0.0%