Run Report
Run #52c96d7c36f9e: 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,828 2.7% 6,752 2.9% 98,488 0.6% 115,800 0.7%
Exclusive Metrics for Current Function443 6.5% 307 4.5% -6,520 -6.6% 3,112 2.7%
Parent functions
user_access15 44.1% 3,358 49.2% 3,258 48.3% 88,176 89.5% 99,424 85.9%
Drupal\user\Access\PermissionAccessCheck::access6 17.6% 1,196 17.5% 1,204 17.8% 1,128 1.1% 0 0.0%
Drupal\filter\FilterFormatAccessController::checkAccess3 8.8% 509 7.5% 512 7.6% 992 1.0% 2,248 1.9%
path_form_node_form_alter2 5.9% 373 5.5% 375 5.6% 912 0.9% 2,328 2.0%
shortcut_set_edit_access2 5.9% 351 5.1% 352 5.2% 912 0.9% 2,088 1.8%
menu_form_node_form_alter1 2.9% 194 2.8% 195 2.9% 864 0.9% 2,680 2.3%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 190 2.8% 191 2.8% 2,056 2.1% 4,128 3.6%
contextual_page_build1 2.9% 170 2.5% 171 2.5% 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%
tour_preprocess_page1 2.9% 160 2.3% 161 2.4% 856 0.9% 1,608 1.4%
edit_page_build1 2.9% 158 2.3% 160 2.4% 856 0.9% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 5,555 81.4% 5,471 81.0% 69,840 70.9% 77,984 67.3%
Drupal::entityManager34 16.7% 390 5.7% 413 6.1% 1,952 2.0% 3,184 2.7%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 304 4.5% 331 4.9% 27,920 28.3% 28,896 25.0%
Drupal\user\Entity\Role::hasPermission34 16.7% 113 1.7% 135 2.0% 3,576 3.6% 1,232 1.1%
Drupal\Core\Session\UserSession::id34 16.7% 12 0.2% 48 0.7% 856 0.9% 776 0.7%
Drupal\Core\Session\UserSession::getRoles34 16.7% 11 0.2% 47 0.7% 864 0.9% 616 0.5%