Run Report
Run #5350e2663e694: 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::hasPermission394 14.2% 68,965 6.5% 68,821 6.5% 1,600,504 3.4% 1,622,328 3.4%
Exclusive Metrics for Current Function4,916 7.1% 3,438 5.0% -233,912 -14.6% 2,584 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission394 100.0% 68,965 100.0% 68,821 100.0% 1,600,504 100.0% 1,622,328 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple394 16.7% 53,406 77.4% 53,481 77.7% 652,464 40.8% 453,768 28.0%
Drupal\Core\Entity\EntityManager::getStorage394 16.7% 6,300 9.1% 6,394 9.3% 1,157,416 72.3% 1,158,240 71.4%
Drupal::entityManager394 16.7% 2,963 4.3% 3,190 4.6% 1,952 0.1% 4,576 0.3%
Drupal\user\Entity\Role::hasPermission394 16.7% 1,148 1.7% 1,351 2.0% 20,856 1.3% 1,552 0.1%
Drupal\Core\Session\UserSession::getRoles394 16.7% 187 0.3% 542 0.8% 872 0.1% 784 0.0%
Drupal\Core\Session\UserSession::id394 16.7% 45 0.1% 425 0.6% 856 0.1% 824 0.1%