Run Report
Run #531ccba053790: 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,659 5.0% 17,194 5.1% 1,533,176 4.3% 1,530,808 4.2%
Exclusive Metrics for Current Function726 4.1% 499 2.9% -16,976 -1.1% 3,112 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access37 67.3% 14,534 82.3% 14,050 81.7% 1,522,512 99.3% 1,520,016 99.3%
user_access5 9.1% 874 4.9% 879 5.1% 1,040 0.1% 2,200 0.1%
shortcut_set_edit_access2 3.6% 392 2.2% 394 2.3% 912 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 3.6% 309 1.7% 310 1.8% 920 0.1% 0 0.0%
shortcut_set_switch_access1 1.8% 197 1.1% 199 1.2% 864 0.1% 2,200 0.1%
user_template_preprocess_default_variables_alter1 1.8% 195 1.1% 196 1.1% 888 0.1% 3,240 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 1.8% 191 1.1% 192 1.1% 880 0.1% 3,152 0.2%
contextual_page_build1 1.8% 190 1.1% 191 1.1% 856 0.1% 0 0.0%
tour_toolbar1 1.8% 163 0.9% 164 1.0% 848 0.1% 0 0.0%
contextual_toolbar1 1.8% 159 0.9% 160 0.9% 856 0.1% 0 0.0%
edit_page_build1 1.8% 154 0.9% 156 0.9% 856 0.1% 0 0.0%
Drupal\system\Controller\SystemController::overview1 1.8% 151 0.9% 151 0.9% 888 0.1% 0 0.0%
tour_preprocess_page1 1.8% 150 0.8% 152 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple55 16.7% 10,804 61.2% 10,584 61.6% 464,704 30.3% 445,928 29.1%
Drupal\Core\Entity\EntityManager::getStorageController55 16.7% 5,256 29.8% 5,060 29.4% 1,077,192 70.3% 1,075,864 70.3%
Drupal::entityManager55 16.7% 499 2.8% 539 3.1% 1,952 0.1% 2,952 0.2%
Drupal\user\Entity\Role::hasPermission55 16.7% 335 1.9% 370 2.2% 4,584 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles55 16.7% 22 0.1% 72 0.4% 864 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id55 16.7% 17 0.1% 70 0.4% 856 0.1% 776 0.1%