Run Report
Run #53195bb0cc668: 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::hasPermission105 14.1% 32,300 4.6% 32,197 4.6% 1,434,688 4.3% 1,433,784 4.3%
Exclusive Metrics for Current Function1,519 4.7% 1,056 3.3% -43,608 -3.0% 3,512 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access88 83.8% 28,819 89.2% 28,686 89.1% 1,424,912 99.3% 1,419,768 99.0%
Drupal\views\ViewsAccessCheck::access4 3.8% 757 2.3% 763 2.4% 1,016 0.1% 0 0.0%
user_access3 2.9% 625 1.9% 631 2.0% 944 0.1% 4,368 0.3%
shortcut_set_edit_access2 1.9% 456 1.4% 459 1.4% 912 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 1.0% 249 0.8% 251 0.8% 888 0.1% 3,192 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 1.0% 221 0.7% 223 0.7% 880 0.1% 2,824 0.2%
shortcut_set_switch_access1 1.0% 209 0.6% 210 0.7% 864 0.1% 2,256 0.2%
tour_preprocess_page1 1.0% 207 0.6% 209 0.6% 856 0.1% 0 0.0%
contextual_toolbar1 1.0% 199 0.6% 201 0.6% 856 0.1% 0 0.0%
contextual_page_build1 1.0% 197 0.6% 199 0.6% 856 0.1% 608 0.0%
tour_toolbar1 1.0% 184 0.6% 186 0.6% 848 0.1% 0 0.0%
edit_page_build1 1.0% 177 0.5% 179 0.6% 856 0.1% 768 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple105 16.7% 20,874 64.6% 20,860 64.8% 437,528 30.5% 394,632 27.5%
Drupal\Core\Entity\EntityManager::getStorageController105 16.7% 7,881 24.4% 7,873 24.5% 1,030,264 71.8% 1,029,512 71.8%
Drupal::entityManager105 16.7% 1,209 3.7% 1,298 4.0% 1,904 0.1% 3,176 0.2%
Drupal\user\Entity\Role::hasPermission105 16.7% 732 2.3% 801 2.5% 6,944 0.5% 1,472 0.1%
Drupal\Core\Session\UserSession::id105 16.7% 43 0.1% 148 0.5% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles105 16.7% 42 0.1% 161 0.5% 832 0.1% 704 0.0%