Run Report
Run #523f01900df5c: 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,658 3.9% 17,845 4.1% 1,247,064 3.5% 1,262,424 3.6%
Exclusive Metrics for Current Function772 4.1% 524 2.9% -17,696 -1.4% 3,152 0.2%
Parent functions
user_access42 82.4% 17,056 91.4% 16,229 90.9% 1,240,120 99.4% 1,262,424 100.0%
shortcut_set_edit_access2 3.9% 380 2.0% 383 2.1% 912 0.1% 0 0.0%
shortcut_set_switch_access1 2.0% 214 1.1% 215 1.2% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.0% 198 1.1% 200 1.1% 896 0.1% 0 0.0%
contextual_toolbar1 2.0% 179 1.0% 181 1.0% 856 0.1% 0 0.0%
tour_toolbar1 2.0% 167 0.9% 169 0.9% 848 0.1% 0 0.0%
tour_preprocess_page1 2.0% 159 0.9% 161 0.9% 856 0.1% 0 0.0%
contextual_page_build1 2.0% 155 0.8% 155 0.9% 856 0.1% 0 0.0%
edit_page_build1 2.0% 150 0.8% 152 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple51 16.7% 10,413 55.8% 10,215 57.2% 489,728 39.3% 487,512 38.6%
Drupal\Core\Entity\EntityManager::getStorageController51 16.7% 3,957 21.2% 3,392 19.0% 501,856 40.2% 502,184 39.8%
Drupal::entityManager51 16.7% 3,132 16.8% 3,186 17.9% 267,064 21.4% 266,560 21.1%
Drupal\user\Entity\Role::hasPermission51 16.7% 348 1.9% 384 2.2% 4,392 0.4% 1,616 0.1%
Drupal\Core\Session\UserSession::id51 16.7% 21 0.1% 79 0.4% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles51 16.7% 15 0.1% 65 0.4% 864 0.1% 752 0.1%