Run Report
Run #5361b9a2ba45c: 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,892 6.9% 14,486 7.2% 1,245,232 5.2% 1,247,664 5.2%
Exclusive Metrics for Current Function601 4.0% 424 2.9% -26,096 -2.1% 2,336 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission48 100.0% 14,892 100.0% 14,486 100.0% 1,245,232 100.0% 1,247,664 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple48 16.7% 7,169 48.1% 7,061 48.7% 70,168 5.6% 44,640 3.6%
Drupal\Core\Entity\EntityManager::getStorage48 16.7% 6,403 43.0% 6,145 42.4% 1,193,232 95.8% 1,195,280 95.8%
Drupal::entityManager48 16.7% 509 3.4% 549 3.8% 1,952 0.2% 2,240 0.2%
Drupal\user\Entity\Role::hasPermission48 16.7% 155 1.0% 191 1.3% 4,248 0.3% 1,560 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 47 0.3% 62 0.4% 872 0.1% 784 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 8 0.1% 54 0.4% 856 0.1% 824 0.1%