Run Report
Run #52c87fe2eeb21: 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::hasPermission34 13.8% 6,922 2.4% 6,851 2.7% 97,920 0.5% 117,040 0.5%
Exclusive Metrics for Current Function447 6.5% 313 4.6% -6,520 -6.7% 3,112 2.7%
Parent functions
user_access15 44.1% 3,400 49.1% 3,302 48.2% 87,736 89.6% 99,568 85.1%
Drupal\user\Access\PermissionAccessCheck::access6 17.6% 1,199 17.3% 1,208 17.6% 1,128 1.2% 744 0.6%
Drupal\filter\FilterFormatAccessController::checkAccess3 8.8% 535 7.7% 537 7.8% 992 1.0% 2,256 1.9%
path_form_node_form_alter2 5.9% 375 5.4% 378 5.5% 912 0.9% 2,328 2.0%
shortcut_set_edit_access2 5.9% 358 5.2% 362 5.3% 848 0.9% 2,224 1.9%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 196 2.8% 198 2.9% 1,992 2.0% 4,336 3.7%
menu_form_node_form_alter1 2.9% 191 2.8% 192 2.8% 864 0.9% 2,680 2.3%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 174 2.5% 175 2.6% 880 0.9% 1,296 1.1%
contextual_page_build1 2.9% 172 2.5% 174 2.5% 856 0.9% 0 0.0%
tour_preprocess_page1 2.9% 163 2.4% 165 2.4% 856 0.9% 1,608 1.4%
edit_page_build1 2.9% 159 2.3% 160 2.3% 856 0.9% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 5,655 81.7% 5,581 81.5% 69,400 70.9% 79,144 67.6%
Drupal::entityManager34 16.7% 392 5.7% 420 6.1% 1,856 1.9% 3,320 2.8%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 288 4.2% 320 4.7% 27,888 28.5% 28,840 24.6%
Drupal\user\Entity\Role::hasPermission34 16.7% 109 1.6% 136 2.0% 3,576 3.7% 1,232 1.1%
Drupal\Core\Session\UserSession::id34 16.7% 16 0.2% 42 0.6% 856 0.9% 776 0.7%
Drupal\Core\Session\UserSession::getRoles34 16.7% 15 0.2% 39 0.6% 864 0.9% 616 0.5%