Run Report
Run #5361b98722340: 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,623 7.0% 14,191 7.2% 1,245,280 5.2% 1,248,328 5.2%
Exclusive Metrics for Current Function595 4.1% 382 2.7% -26,096 -2.1% 2,336 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission48 100.0% 14,623 100.0% 14,191 100.0% 1,245,280 100.0% 1,248,328 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple48 16.7% 6,982 47.7% 6,880 48.5% 70,192 5.6% 44,664 3.6%
Drupal\Core\Entity\EntityManager::getStorage48 16.7% 6,368 43.5% 6,080 42.8% 1,193,256 95.8% 1,195,952 95.8%
Drupal::entityManager48 16.7% 487 3.3% 527 3.7% 1,952 0.2% 2,208 0.2%
Drupal\user\Entity\Role::hasPermission48 16.7% 148 1.0% 191 1.3% 4,248 0.3% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 37 0.3% 65 0.5% 872 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 6 0.0% 66 0.5% 856 0.1% 824 0.1%