Run Report
Run #523f024cca254: 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,596 3.9% 17,959 4.1% 1,246,944 3.5% 1,262,424 3.6%
Exclusive Metrics for Current Function786 4.2% 525 2.9% -17,696 -1.4% 3,152 0.2%
Parent functions
user_access42 82.4% 17,000 91.4% 16,351 91.0% 1,240,000 99.4% 1,262,424 100.0%
shortcut_set_edit_access2 3.9% 380 2.0% 384 2.1% 912 0.1% 0 0.0%
shortcut_set_switch_access1 2.0% 215 1.2% 216 1.2% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.0% 192 1.0% 193 1.1% 896 0.1% 0 0.0%
contextual_toolbar1 2.0% 180 1.0% 182 1.0% 856 0.1% 0 0.0%
tour_toolbar1 2.0% 164 0.9% 165 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% 156 0.8% 157 0.9% 856 0.1% 0 0.0%
edit_page_build1 2.0% 151 0.8% 152 0.8% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple51 16.7% 10,497 56.4% 10,356 57.7% 489,560 39.3% 487,456 38.6%
Drupal\Core\Entity\EntityManager::getStorageController51 16.7% 3,823 20.6% 3,386 18.9% 501,880 40.2% 502,216 39.8%
Drupal::entityManager51 16.7% 3,093 16.6% 3,132 17.4% 267,088 21.4% 266,584 21.1%
Drupal\user\Entity\Role::hasPermission51 16.7% 357 1.9% 397 2.2% 4,392 0.4% 1,616 0.1%
Drupal\Core\Session\UserSession::id51 16.7% 22 0.1% 87 0.5% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles51 16.7% 18 0.1% 76 0.4% 864 0.1% 752 0.1%