Run Report
Run #52e4a1c03557c: XHProf Run (Namespace=drupal-perf-drupalcon)
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::hasPermission26 13.6% 8,310 5.2% 7,879 5.3% 779,184 5.4% 805,160 5.5%
Exclusive Metrics for Current Function365 4.4% 248 3.1% -2,592 -0.3% 4,024 0.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access7 26.9% 5,058 60.9% 4,604 58.4% 770,048 98.8% 776,328 96.4%
user_access9 34.6% 1,491 17.9% 1,503 19.1% 1,232 0.2% 11,848 1.5%
shortcut_set_edit_access2 7.7% 380 4.6% 383 4.9% 912 0.1% 2,744 0.3%
Drupal\user\Theme\AdminNegotiator::applies1 3.8% 208 2.5% 208 2.6% 880 0.1% 2,816 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 3.8% 192 2.3% 193 2.4% 880 0.1% 2,088 0.3%
Drupal\contact\Controller\ContactController::contactSitePage1 3.8% 185 2.2% 185 2.3% 896 0.1% 3,240 0.4%
tour_preprocess_page1 3.8% 169 2.0% 170 2.2% 856 0.1% 1,704 0.2%
contextual_page_build1 3.8% 163 2.0% 164 2.1% 856 0.1% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 3.8% 159 1.9% 160 2.0% 880 0.1% 1,552 0.2%
user_template_preprocess_default_variables_alter1 3.8% 159 1.9% 161 2.0% 888 0.1% 2,840 0.4%
edit_page_build1 3.8% 146 1.8% 148 1.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple26 16.7% 5,316 64.0% 5,105 64.8% 176,576 22.7% 193,072 24.0%
Drupal\Core\Entity\EntityManager::getStorageController26 16.7% 2,277 27.4% 2,069 26.3% 598,336 76.8% 599,848 74.5%
Drupal::entityManager26 16.7% 235 2.8% 258 3.3% 1,952 0.3% 5,232 0.6%
Drupal\user\Entity\Role::hasPermission26 16.7% 92 1.1% 118 1.5% 3,192 0.4% 1,472 0.2%
Drupal\Core\Session\UserSession::id26 16.7% 14 0.2% 43 0.5% 856 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles26 16.7% 11 0.1% 38 0.5% 864 0.1% 736 0.1%