Run Report
Run #53195b6957e56: 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,159 4.6% 32,080 4.6% 1,434,744 4.4% 1,433,936 4.4%
Exclusive Metrics for Current Function1,510 4.7% 1,039 3.2% -43,608 -3.0% 3,512 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access88 83.8% 28,671 89.2% 28,576 89.1% 1,424,968 99.3% 1,419,864 99.0%
Drupal\views\ViewsAccessCheck::access4 3.8% 730 2.3% 733 2.3% 1,016 0.1% 0 0.0%
user_access3 2.9% 654 2.0% 656 2.0% 944 0.1% 4,368 0.3%
shortcut_set_edit_access2 1.9% 451 1.4% 453 1.4% 912 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 1.0% 236 0.7% 237 0.7% 880 0.1% 2,824 0.2%
contextual_toolbar1 1.0% 229 0.7% 231 0.7% 856 0.1% 0 0.0%
shortcut_set_switch_access1 1.0% 217 0.7% 218 0.7% 864 0.1% 2,256 0.2%
user_template_preprocess_default_variables_alter1 1.0% 211 0.7% 212 0.7% 888 0.1% 3,248 0.2%
tour_preprocess_page1 1.0% 199 0.6% 200 0.6% 856 0.1% 0 0.0%
contextual_page_build1 1.0% 199 0.6% 200 0.6% 856 0.1% 608 0.0%
tour_toolbar1 1.0% 186 0.6% 187 0.6% 848 0.1% 0 0.0%
edit_page_build1 1.0% 176 0.5% 177 0.6% 856 0.1% 768 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple105 16.7% 20,797 64.7% 20,810 64.9% 437,504 30.5% 394,664 27.5%
Drupal\Core\Entity\EntityManager::getStorageController105 16.7% 7,824 24.3% 7,819 24.4% 1,030,344 71.8% 1,029,632 71.8%
Drupal::entityManager105 16.7% 1,228 3.8% 1,320 4.1% 1,904 0.1% 3,176 0.2%
Drupal\user\Entity\Role::hasPermission105 16.7% 715 2.2% 795 2.5% 6,944 0.5% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles105 16.7% 47 0.1% 151 0.5% 832 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id105 16.7% 38 0.1% 146 0.5% 824 0.1% 776 0.1%