Run Report
Run #531ee657ba49e: 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,677 4.9% 17,242 5.1% 1,533,208 4.2% 1,533,672 4.2%
Exclusive Metrics for Current Function725 4.1% 483 2.8% -16,976 -1.1% 3,432 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access37 67.3% 14,579 82.5% 14,121 81.9% 1,522,544 99.3% 1,519,976 99.1%
user_access5 9.1% 882 5.0% 885 5.1% 1,040 0.1% 3,584 0.2%
shortcut_set_edit_access2 3.6% 394 2.2% 396 2.3% 912 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 3.6% 307 1.7% 309 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%
Drupal\user\Theme\AdminNegotiator::applies1 1.8% 189 1.1% 192 1.1% 880 0.1% 3,152 0.2%
user_template_preprocess_default_variables_alter1 1.8% 184 1.0% 186 1.1% 888 0.1% 3,240 0.2%
Drupal\system\Controller\SystemController::overview1 1.8% 171 1.0% 174 1.0% 888 0.1% 0 0.0%
tour_toolbar1 1.8% 167 0.9% 168 1.0% 848 0.1% 0 0.0%
contextual_page_build1 1.8% 159 0.9% 159 0.9% 856 0.1% 640 0.0%
contextual_toolbar1 1.8% 158 0.9% 159 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%
edit_page_build1 1.8% 140 0.8% 142 0.8% 856 0.1% 880 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple55 16.7% 10,972 62.1% 10,787 62.6% 464,768 30.3% 448,384 29.2%
Drupal\Core\Entity\EntityManager::getStorageController55 16.7% 5,106 28.9% 4,906 28.5% 1,077,160 70.3% 1,075,952 70.2%
Drupal::entityManager55 16.7% 504 2.9% 555 3.2% 1,952 0.1% 2,952 0.2%
Drupal\user\Entity\Role::hasPermission55 16.7% 331 1.9% 368 2.1% 4,584 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles55 16.7% 23 0.1% 71 0.4% 864 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id55 16.7% 16 0.1% 72 0.4% 856 0.1% 776 0.1%