Run Report
Run #539fc9676f0b5: 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% 72,029 4.6% 72,046 4.6% 1,308,216 2.4% 1,382,576 2.6%
Exclusive Metrics for Current Function4,667 6.5% 3,462 4.8% -168,016 -12.8% 2,928 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission285 100.0% 72,029 100.0% 72,046 100.0% 1,308,216 100.0% 1,382,576 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple285 16.7% 52,618 73.1% 52,783 73.3% 211,640 16.2% 123,848 9.0%
Drupal\Core\Entity\EntityManager::getStorage285 16.7% 10,033 13.9% 10,114 14.0% 1,245,448 95.2% 1,247,136 90.2%
Drupal::entityManager285 16.7% 3,121 4.3% 3,375 4.7% 1,904 0.1% 5,664 0.4%
Drupal\user\Entity\Role::hasPermission285 16.7% 1,163 1.6% 1,410 2.0% 15,584 1.2% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles285 16.7% 303 0.4% 491 0.7% 832 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id285 16.7% 124 0.2% 411 0.6% 824 0.1% 656 0.0%