Run Report
Run #52fbc4532a4f2: 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::hasPermission72 14.0% 19,127 2.4% 18,835 2.4% 881,568 5.2% 891,024 5.2%
Exclusive Metrics for Current Function991 5.2% 742 3.9% -26,808 -3.0% 2,272 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access60 83.3% 16,653 87.1% 16,346 86.8% 873,640 99.1% 879,624 98.7%
user_access3 4.2% 613 3.2% 616 3.3% 944 0.1% 2,064 0.2%
Drupal\views\ViewsAccessCheck::access2 2.8% 395 2.1% 398 2.1% 920 0.1% 0 0.0%
shortcut_set_switch_access1 1.4% 229 1.2% 230 1.2% 864 0.1% 2,856 0.3%
user_template_preprocess_default_variables_alter1 1.4% 219 1.1% 220 1.2% 888 0.1% 2,424 0.3%
Drupal\user\Theme\AdminNegotiator::applies1 1.4% 211 1.1% 212 1.1% 880 0.1% 3,416 0.4%
shortcut_set_edit_access1 1.4% 208 1.1% 210 1.1% 864 0.1% 0 0.0%
tour_preprocess_page1 1.4% 207 1.1% 207 1.1% 856 0.1% 0 0.0%
contextual_page_build1 1.4% 198 1.0% 200 1.1% 856 0.1% 640 0.1%
edit_page_build1 1.4% 194 1.0% 196 1.0% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple72 16.7% 13,750 71.9% 13,665 72.6% 243,744 27.6% 227,632 25.5%
Drupal\Core\Entity\EntityManager::getStorageController72 16.7% 2,895 15.1% 2,774 14.7% 655,560 74.4% 655,704 73.6%
Drupal::entityManager72 16.7% 866 4.5% 916 4.9% 1,952 0.2% 3,936 0.4%
Drupal\user\Entity\Role::hasPermission72 16.7% 481 2.5% 527 2.8% 5,400 0.6% 0 0.0%
Drupal\Core\Session\UserSession::getRoles72 16.7% 72 0.4% 97 0.5% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id72 16.7% 72 0.4% 114 0.6% 856 0.1% 776 0.1%