Run Report
Run #531ee5f3237b0: 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% 18,309 5.1% 17,868 5.2% 1,533,424 4.3% 1,532,288 4.2%
Exclusive Metrics for Current Function737 4.0% 489 2.7% -16,976 -1.1% 3,112 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access37 67.3% 15,036 82.1% 14,573 81.6% 1,522,760 99.3% 1,520,112 99.2%
user_access5 9.1% 927 5.1% 932 5.2% 1,040 0.1% 3,584 0.2%
shortcut_set_edit_access2 3.6% 394 2.2% 397 2.2% 912 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 3.6% 339 1.9% 340 1.9% 920 0.1% 0 0.0%
shortcut_set_switch_access1 1.8% 197 1.1% 198 1.1% 864 0.1% 2,200 0.1%
contextual_page_build1 1.8% 197 1.1% 198 1.1% 856 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 1.8% 195 1.1% 198 1.1% 880 0.1% 3,152 0.2%
user_template_preprocess_default_variables_alter1 1.8% 186 1.0% 188 1.1% 888 0.1% 3,240 0.2%
Drupal\system\Controller\SystemController::overview1 1.8% 173 0.9% 174 1.0% 888 0.1% 0 0.0%
tour_preprocess_page1 1.8% 173 0.9% 174 1.0% 856 0.1% 0 0.0%
edit_page_build1 1.8% 167 0.9% 168 0.9% 856 0.1% 0 0.0%
tour_toolbar1 1.8% 165 0.9% 166 0.9% 848 0.1% 0 0.0%
contextual_toolbar1 1.8% 160 0.9% 162 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple55 16.7% 11,298 61.7% 11,106 62.2% 465,256 30.3% 447,672 29.2%
Drupal\Core\Entity\EntityManager::getStorageController55 16.7% 5,308 29.0% 5,105 28.6% 1,076,888 70.2% 1,075,600 70.2%
Drupal::entityManager55 16.7% 533 2.9% 584 3.3% 1,952 0.1% 2,952 0.2%
Drupal\user\Entity\Role::hasPermission55 16.7% 369 2.0% 418 2.3% 4,584 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles55 16.7% 33 0.2% 78 0.4% 864 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id55 16.7% 31 0.2% 88 0.5% 856 0.1% 776 0.1%