Run Report
Run #531ccbd4518b6: XHProf Run (Namespace=drupal-perf-cottser)
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::hasPermission55 14.0% 17,693 5.0% 17,232 5.1% 1,533,128 4.3% 1,533,512 4.2%
Exclusive Metrics for Current Function728 4.1% 473 2.7% -16,976 -1.1% 3,240 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access37 67.3% 14,634 82.7% 14,149 82.1% 1,522,464 99.3% 1,520,008 99.1%
user_access5 9.1% 856 4.8% 864 5.0% 1,040 0.1% 3,584 0.2%
shortcut_set_edit_access2 3.6% 384 2.2% 386 2.2% 912 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 3.6% 304 1.7% 307 1.8% 920 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 1.8% 205 1.2% 206 1.2% 888 0.1% 3,048 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 1.8% 200 1.1% 200 1.2% 880 0.1% 3,152 0.2%
shortcut_set_switch_access1 1.8% 195 1.1% 196 1.1% 864 0.1% 2,200 0.1%
tour_toolbar1 1.8% 161 0.9% 162 0.9% 848 0.1% 0 0.0%
contextual_page_build1 1.8% 160 0.9% 162 0.9% 856 0.1% 640 0.0%
contextual_toolbar1 1.8% 156 0.9% 157 0.9% 856 0.1% 0 0.0%
tour_preprocess_page1 1.8% 150 0.8% 152 0.9% 856 0.1% 0 0.0%
Drupal\system\Controller\SystemController::overview1 1.8% 149 0.8% 150 0.9% 888 0.1% 0 0.0%
edit_page_build1 1.8% 139 0.8% 141 0.8% 856 0.1% 880 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple55 16.7% 11,019 62.3% 10,802 62.7% 464,720 30.3% 448,528 29.2%
Drupal\Core\Entity\EntityManager::getStorageController55 16.7% 5,095 28.8% 4,903 28.5% 1,077,128 70.3% 1,075,840 70.2%
Drupal::entityManager55 16.7% 494 2.8% 542 3.1% 1,952 0.1% 2,952 0.2%
Drupal\user\Entity\Role::hasPermission55 16.7% 321 1.8% 371 2.2% 4,584 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles55 16.7% 19 0.1% 74 0.4% 864 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id55 16.7% 17 0.1% 67 0.4% 856 0.1% 776 0.1%