Run Report
Run #5361b8e9609a0: XHProf Run (Namespace=drupal-perf-cottser)
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::hasPermission48 13.9% 14,734 7.0% 14,347 7.3% 1,245,280 5.2% 1,248,328 5.2%
Exclusive Metrics for Current Function597 4.1% 410 2.9% -26,096 -2.1% 2,336 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission48 100.0% 14,734 100.0% 14,347 100.0% 1,245,280 100.0% 1,248,328 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple48 16.7% 7,072 48.0% 6,966 48.6% 70,192 5.6% 44,664 3.6%
Drupal\Core\Entity\EntityManager::getStorage48 16.7% 6,370 43.2% 6,125 42.7% 1,193,256 95.8% 1,195,952 95.8%
Drupal::entityManager48 16.7% 493 3.3% 532 3.7% 1,952 0.2% 2,208 0.2%
Drupal\user\Entity\Role::hasPermission48 16.7% 151 1.0% 187 1.3% 4,248 0.3% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 42 0.3% 63 0.4% 872 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 9 0.1% 64 0.4% 856 0.1% 824 0.1%