Run Report
Run #5251f6e1e32d5: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission102 14.1% 28,426 3.9% 27,481 4.1% 860,272 4.2% 901,392 4.3%
Exclusive Metrics for Current Function1,518 5.3% 1,042 3.8% -43,792 -5.1% 2,272 0.3%
Parent functions
user_access96 94.1% 27,218 95.8% 26,266 95.6% 855,896 99.5% 894,280 99.2%
shortcut_set_edit_access2 2.0% 436 1.5% 438 1.6% 912 0.1% 4,304 0.5%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 1.0% 219 0.8% 221 0.8% 896 0.1% 8 0.0%
contextual_page_build1 1.0% 187 0.7% 188 0.7% 856 0.1% 0 0.0%
tour_preprocess_page1 1.0% 184 0.6% 185 0.7% 856 0.1% 2,032 0.2%
edit_page_build1 1.0% 182 0.6% 183 0.7% 856 0.1% 768 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple102 16.7% 20,310 71.4% 19,773 72.0% 323,320 37.6% 324,832 36.0%
Drupal\Core\Entity\EntityManager::getStorageController102 16.7% 3,836 13.5% 3,511 12.8% 445,712 51.8% 447,824 49.7%
Drupal::entityManager102 16.7% 2,316 8.1% 2,408 8.8% 126,472 14.7% 125,152 13.9%
Drupal\user\Entity\Role::hasPermission102 16.7% 373 1.3% 453 1.6% 6,840 0.8% 0 0.0%
Drupal\Core\Session\UserSession::id102 16.7% 38 0.1% 162 0.6% 856 0.1% 560 0.1%
Drupal\Core\Session\UserSession::getRoles102 16.7% 35 0.1% 132 0.5% 864 0.1% 752 0.1%