Run Report
Run #523f1dee40c1a: 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,038 2.8% 30,465 3.0% 1,250,920 2.8% 1,265,120 2.8%
Exclusive Metrics for Current Function1,845 5.9% 1,249 4.1% -56,216 -4.5% 3,152 0.2%
Parent functions
user_access115 92.7% 29,437 94.8% 28,851 94.7% 1,243,976 99.4% 1,265,120 100.0%
shortcut_set_edit_access2 1.6% 376 1.2% 379 1.2% 912 0.1% 0 0.0%
shortcut_set_switch_access1 0.8% 212 0.7% 213 0.7% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 0.8% 186 0.6% 186 0.6% 896 0.1% 0 0.0%
tour_toolbar1 0.8% 180 0.6% 181 0.6% 848 0.1% 0 0.0%
contextual_toolbar1 0.8% 180 0.6% 183 0.6% 856 0.1% 0 0.0%
contextual_page_build1 0.8% 159 0.5% 161 0.5% 856 0.1% 0 0.0%
tour_preprocess_page1 0.8% 158 0.5% 160 0.5% 856 0.1% 0 0.0%
edit_page_build1 0.8% 150 0.5% 151 0.5% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple124 16.7% 20,120 64.8% 19,966 65.5% 528,152 42.2% 489,784 38.7%
Drupal::entityManager124 16.7% 4,227 13.6% 4,352 14.3% 267,528 21.4% 266,992 21.1%
Drupal\Core\Entity\EntityManager::getStorageController124 16.7% 3,964 12.8% 3,653 12.0% 501,840 40.1% 502,176 39.7%
Drupal\user\Entity\Role::hasPermission124 16.7% 788 2.5% 894 2.9% 7,896 0.6% 1,616 0.1%
Drupal\Core\Session\UserSession::id124 16.7% 53 0.2% 178 0.6% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles124 16.7% 41 0.1% 173 0.6% 864 0.1% 752 0.1%