Run Report
Run #539fd0a78f1b7: 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,506 4.9% 82,514 4.9% 1,308,216 2.4% 1,382,664 2.6%
Exclusive Metrics for Current Function5,175 6.3% 3,814 4.6% -168,016 -12.8% 2,928 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission285 100.0% 82,506 100.0% 82,514 100.0% 1,308,216 100.0% 1,382,664 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple285 16.7% 58,817 71.3% 59,021 71.5% 211,640 16.2% 123,936 9.0%
Drupal\Core\Entity\EntityManager::getStorage285 16.7% 13,157 15.9% 13,280 16.1% 1,245,448 95.2% 1,247,136 90.2%
Drupal::entityManager285 16.7% 3,471 4.2% 3,753 4.5% 1,904 0.1% 5,664 0.4%
Drupal\user\Entity\Role::hasPermission285 16.7% 1,381 1.7% 1,615 2.0% 15,584 1.2% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles285 16.7% 341 0.4% 579 0.7% 832 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id285 16.7% 164 0.2% 452 0.5% 824 0.1% 656 0.0%