Run Report
Run #523f27198f838: 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::hasPermission124 14.1% 31,378 2.8% 30,778 3.0% 1,250,920 2.8% 1,265,120 2.8%
Exclusive Metrics for Current Function1,877 6.0% 1,263 4.1% -56,216 -4.5% 3,152 0.2%
Parent functions
user_access115 92.7% 29,788 94.9% 29,174 94.8% 1,243,976 99.4% 1,265,120 100.0%
shortcut_set_edit_access2 1.6% 379 1.2% 382 1.2% 912 0.1% 0 0.0%
shortcut_set_switch_access1 0.8% 219 0.7% 220 0.7% 864 0.1% 0 0.0%
contextual_toolbar1 0.8% 181 0.6% 183 0.6% 856 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 0.8% 180 0.6% 182 0.6% 896 0.1% 0 0.0%
tour_toolbar1 0.8% 166 0.5% 167 0.5% 848 0.1% 0 0.0%
tour_preprocess_page1 0.8% 160 0.5% 162 0.5% 856 0.1% 0 0.0%
contextual_page_build1 0.8% 154 0.5% 156 0.5% 856 0.1% 0 0.0%
edit_page_build1 0.8% 151 0.5% 152 0.5% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple124 16.7% 20,393 65.0% 20,266 65.8% 528,152 42.2% 489,784 38.7%
Drupal::entityManager124 16.7% 4,114 13.1% 4,213 13.7% 267,528 21.4% 266,992 21.1%
Drupal\Core\Entity\EntityManager::getStorageController124 16.7% 4,045 12.9% 3,710 12.1% 501,840 40.1% 502,176 39.7%
Drupal\user\Entity\Role::hasPermission124 16.7% 850 2.7% 953 3.1% 7,896 0.6% 1,616 0.1%
Drupal\Core\Session\UserSession::id124 16.7% 50 0.2% 204 0.7% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles124 16.7% 49 0.2% 169 0.5% 864 0.1% 752 0.1%