Run Report
Run #523f26a22745b: 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,610 2.9% 31,030 3.0% 1,250,920 2.8% 1,265,120 2.8%
Exclusive Metrics for Current Function1,834 5.8% 1,246 4.0% -56,216 -4.5% 3,152 0.2%
Parent functions
user_access115 92.7% 29,997 94.9% 29,402 94.8% 1,243,976 99.4% 1,265,120 100.0%
shortcut_set_edit_access2 1.6% 385 1.2% 388 1.3% 912 0.1% 0 0.0%
shortcut_set_switch_access1 0.8% 223 0.7% 224 0.7% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 0.8% 192 0.6% 194 0.6% 896 0.1% 0 0.0%
contextual_toolbar1 0.8% 183 0.6% 185 0.6% 856 0.1% 0 0.0%
tour_toolbar1 0.8% 166 0.5% 168 0.5% 848 0.1% 0 0.0%
tour_preprocess_page1 0.8% 159 0.5% 161 0.5% 856 0.1% 0 0.0%
contextual_page_build1 0.8% 155 0.5% 156 0.5% 856 0.1% 0 0.0%
edit_page_build1 0.8% 150 0.5% 152 0.5% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple124 16.7% 20,632 65.3% 20,481 66.0% 528,152 42.2% 489,784 38.7%
Drupal::entityManager124 16.7% 4,203 13.3% 4,313 13.9% 267,528 21.4% 266,992 21.1%
Drupal\Core\Entity\EntityManager::getStorageController124 16.7% 4,002 12.7% 3,692 11.9% 501,840 40.1% 502,176 39.7%
Drupal\user\Entity\Role::hasPermission124 16.7% 833 2.6% 937 3.0% 7,896 0.6% 1,616 0.1%
Drupal\Core\Session\UserSession::id124 16.7% 53 0.2% 183 0.6% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles124 16.7% 53 0.2% 178 0.6% 864 0.1% 752 0.1%