Run Report
Run #5361b9bbb4efb: 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,776 7.0% 14,315 7.3% 1,245,280 5.2% 1,248,328 5.2%
Exclusive Metrics for Current Function595 4.0% 414 2.9% -26,096 -2.1% 2,336 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission48 100.0% 14,776 100.0% 14,315 100.0% 1,245,280 100.0% 1,248,328 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple48 16.7% 7,036 47.6% 6,919 48.3% 70,192 5.6% 44,664 3.6%
Drupal\Core\Entity\EntityManager::getStorage48 16.7% 6,461 43.7% 6,154 43.0% 1,193,256 95.8% 1,195,952 95.8%
Drupal::entityManager48 16.7% 484 3.3% 525 3.7% 1,952 0.2% 2,208 0.2%
Drupal\user\Entity\Role::hasPermission48 16.7% 148 1.0% 183 1.3% 4,248 0.3% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 45 0.3% 68 0.5% 872 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 7 0.0% 52 0.4% 856 0.1% 824 0.1%