Run Report
Run #5394e33e8d847: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission285 14.2% 66,840 6.5% 66,865 6.6% 1,293,048 2.7% 1,365,768 2.8%
Exclusive Metrics for Current Function4,225 6.3% 3,009 4.5% -168,032 -13.0% 2,832 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission285 100.0% 66,840 100.0% 66,865 100.0% 1,293,048 100.0% 1,365,768 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple285 16.7% 48,508 72.6% 48,689 72.8% 211,608 16.4% 123,744 9.1%
Drupal\Core\Entity\EntityManager::getStorage285 16.7% 9,904 14.8% 9,955 14.9% 1,230,328 95.1% 1,231,648 90.2%
Drupal::entityManager285 16.7% 2,866 4.3% 3,126 4.7% 1,904 0.1% 4,544 0.3%
Drupal\user\Entity\Role::hasPermission285 16.7% 1,008 1.5% 1,283 1.9% 15,584 1.2% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles285 16.7% 293 0.4% 451 0.7% 832 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id285 16.7% 36 0.1% 352 0.5% 824 0.1% 656 0.0%