Run Report
Run #531ccb2cb8e3d: 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,459 5.0% 17,030 5.1% 1,533,176 4.3% 1,530,808 4.2%
Exclusive Metrics for Current Function729 4.2% 468 2.7% -16,976 -1.1% 3,112 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access37 67.3% 14,367 82.3% 13,918 81.7% 1,522,512 99.3% 1,520,016 99.3%
user_access5 9.1% 878 5.0% 883 5.2% 1,040 0.1% 2,200 0.1%
shortcut_set_edit_access2 3.6% 383 2.2% 386 2.3% 912 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 3.6% 305 1.7% 307 1.8% 920 0.1% 0 0.0%
shortcut_set_switch_access1 1.8% 196 1.1% 198 1.2% 864 0.1% 2,200 0.1%
Drupal\user\Theme\AdminNegotiator::applies1 1.8% 194 1.1% 195 1.1% 880 0.1% 3,152 0.2%
user_template_preprocess_default_variables_alter1 1.8% 193 1.1% 194 1.1% 888 0.1% 3,240 0.2%
contextual_page_build1 1.8% 176 1.0% 178 1.0% 856 0.1% 0 0.0%
tour_toolbar1 1.8% 164 0.9% 165 1.0% 848 0.1% 0 0.0%
contextual_toolbar1 1.8% 158 0.9% 158 0.9% 856 0.1% 0 0.0%
Drupal\system\Controller\SystemController::overview1 1.8% 151 0.9% 152 0.9% 888 0.1% 0 0.0%
tour_preprocess_page1 1.8% 149 0.9% 150 0.9% 856 0.1% 0 0.0%
edit_page_build1 1.8% 145 0.8% 146 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple55 16.7% 10,780 61.7% 10,596 62.2% 464,704 30.3% 445,928 29.1%
Drupal\Core\Entity\EntityManager::getStorageController55 16.7% 5,097 29.2% 4,906 28.8% 1,077,192 70.3% 1,075,864 70.3%
Drupal::entityManager55 16.7% 495 2.8% 551 3.2% 1,952 0.1% 2,952 0.2%
Drupal\user\Entity\Role::hasPermission55 16.7% 323 1.9% 364 2.1% 4,584 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles55 16.7% 19 0.1% 70 0.4% 864 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id55 16.7% 16 0.1% 75 0.4% 856 0.1% 776 0.1%