Run Report
Run #523f01e38fa84: 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::hasPermission51 13.9% 18,801 4.0% 18,095 4.1% 1,247,064 3.5% 1,262,424 3.6%
Exclusive Metrics for Current Function772 4.1% 522 2.9% -17,696 -1.4% 3,152 0.2%
Parent functions
user_access42 82.4% 17,182 91.4% 16,464 91.0% 1,240,120 99.4% 1,262,424 100.0%
shortcut_set_edit_access2 3.9% 407 2.2% 411 2.3% 912 0.1% 0 0.0%
shortcut_set_switch_access1 2.0% 221 1.2% 222 1.2% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.0% 184 1.0% 186 1.0% 896 0.1% 0 0.0%
contextual_toolbar1 2.0% 178 0.9% 180 1.0% 856 0.1% 0 0.0%
tour_toolbar1 2.0% 166 0.9% 167 0.9% 848 0.1% 0 0.0%
tour_preprocess_page1 2.0% 158 0.8% 159 0.9% 856 0.1% 0 0.0%
contextual_page_build1 2.0% 155 0.8% 156 0.9% 856 0.1% 0 0.0%
edit_page_build1 2.0% 150 0.8% 150 0.8% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple51 16.7% 10,608 56.4% 10,422 57.6% 489,728 39.3% 487,512 38.6%
Drupal\Core\Entity\EntityManager::getStorageController51 16.7% 3,831 20.4% 3,354 18.5% 501,856 40.2% 502,184 39.8%
Drupal::entityManager51 16.7% 3,185 16.9% 3,242 17.9% 267,064 21.4% 266,560 21.1%
Drupal\user\Entity\Role::hasPermission51 16.7% 355 1.9% 396 2.2% 4,392 0.4% 1,616 0.1%
Drupal\Core\Session\UserSession::id51 16.7% 27 0.1% 82 0.5% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles51 16.7% 23 0.1% 77 0.4% 864 0.1% 752 0.1%