Run Report
Run #5394e21e9bd45: 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% 67,220 6.5% 67,199 6.6% 1,292,848 2.7% 1,354,080 2.8%
Exclusive Metrics for Current Function4,291 6.4% 3,130 4.7% 1,141,808 88.3% 2,832 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission285 100.0% 67,220 100.0% 67,199 100.0% 1,292,848 100.0% 1,354,080 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple285 16.7% 48,585 72.3% 48,701 72.5% -1,098,232 -84.9% 111,048 8.2%
Drupal\Core\Entity\EntityManager::getStorage285 16.7% 10,034 14.9% 10,119 15.1% 1,230,128 95.1% 1,231,368 90.9%
Drupal::entityManager285 16.7% 2,904 4.3% 3,139 4.7% 1,904 0.1% 5,832 0.4%
Drupal\user\Entity\Role::hasPermission285 16.7% 1,068 1.6% 1,298 1.9% 15,584 1.2% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles285 16.7% 304 0.5% 470 0.7% 832 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id285 16.7% 34 0.1% 342 0.5% 824 0.1% 656 0.0%