Run Report
Run #539fd2109980d: 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% 82,421 4.8% 82,345 4.9% 1,308,216 2.4% 1,382,664 2.6%
Exclusive Metrics for Current Function5,200 6.3% 3,923 4.8% -168,016 -12.8% 2,928 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission285 100.0% 82,421 100.0% 82,345 100.0% 1,308,216 100.0% 1,382,664 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple285 16.7% 60,027 72.8% 60,135 73.0% 211,640 16.2% 123,936 9.0%
Drupal\Core\Entity\EntityManager::getStorage285 16.7% 11,696 14.2% 11,783 14.3% 1,245,448 95.2% 1,247,136 90.2%
Drupal::entityManager285 16.7% 3,580 4.3% 3,835 4.7% 1,904 0.1% 5,664 0.4%
Drupal\user\Entity\Role::hasPermission285 16.7% 1,381 1.7% 1,626 2.0% 15,584 1.2% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles285 16.7% 360 0.4% 574 0.7% 832 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id285 16.7% 177 0.2% 469 0.6% 824 0.1% 656 0.0%