Run Report
Run #52c96e1954856: 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,831 2.7% 6,753 2.9% 98,488 0.6% 115,752 0.7%
Exclusive Metrics for Current Function452 6.6% 302 4.5% -6,520 -6.6% 3,112 2.7%
Parent functions
user_access15 44.1% 3,344 49.0% 3,245 48.1% 88,176 89.5% 99,376 85.9%
Drupal\user\Access\PermissionAccessCheck::access6 17.6% 1,210 17.7% 1,216 18.0% 1,128 1.1% 0 0.0%
Drupal\filter\FilterFormatAccessController::checkAccess3 8.8% 516 7.6% 519 7.7% 992 1.0% 2,248 1.9%
path_form_node_form_alter2 5.9% 374 5.5% 375 5.6% 912 0.9% 2,328 2.0%
shortcut_set_edit_access2 5.9% 354 5.2% 358 5.3% 912 0.9% 2,088 1.8%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 189 2.8% 189 2.8% 2,056 2.1% 4,128 3.6%
menu_form_node_form_alter1 2.9% 185 2.7% 186 2.8% 864 0.9% 2,680 2.3%
contextual_page_build1 2.9% 172 2.5% 173 2.6% 856 0.9% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 169 2.5% 173 2.6% 880 0.9% 1,296 1.1%
edit_page_build1 2.9% 160 2.3% 160 2.4% 856 0.9% 0 0.0%
tour_preprocess_page1 2.9% 158 2.3% 159 2.4% 856 0.9% 1,608 1.4%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 5,579 81.7% 5,504 81.5% 69,840 70.9% 77,936 67.3%
Drupal::entityManager34 16.7% 378 5.5% 404 6.0% 1,952 2.0% 3,184 2.8%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 285 4.2% 314 4.6% 27,920 28.3% 28,896 25.0%
Drupal\user\Entity\Role::hasPermission34 16.7% 111 1.6% 135 2.0% 3,576 3.6% 1,232 1.1%
Drupal\Core\Session\UserSession::id34 16.7% 16 0.2% 43 0.6% 856 0.9% 776 0.7%
Drupal\Core\Session\UserSession::getRoles34 16.7% 10 0.1% 51 0.8% 864 0.9% 616 0.5%