Run Report
Run #52f5c0f4ebbb2: 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::hasPermission24 13.6% 10,730 5.9% 10,285 5.9% 1,281,784 5.4% 1,300,136 5.4%
Exclusive Metrics for Current Function321 3.0% 219 2.1% -2,592 -0.2% 2,456 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access6 25.0% 7,936 74.0% 7,480 72.7% 1,273,544 99.4% 1,279,472 98.4%
user_access9 37.5% 1,366 12.7% 1,371 13.3% 1,232 0.1% 9,936 0.8%
shortcut_set_edit_access2 8.3% 316 2.9% 318 3.1% 912 0.1% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 4.2% 187 1.7% 186 1.8% 880 0.1% 2,280 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 4.2% 182 1.7% 182 1.8% 880 0.1% 3,280 0.3%
user_template_preprocess_default_variables_alter1 4.2% 159 1.5% 159 1.5% 888 0.1% 2,784 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 4.2% 157 1.5% 159 1.5% 880 0.1% 1,768 0.1%
contextual_page_build1 4.2% 149 1.4% 150 1.5% 856 0.1% 0 0.0%
tour_preprocess_page1 4.2% 139 1.3% 140 1.4% 856 0.1% 616 0.0%
edit_page_build1 4.2% 139 1.3% 140 1.4% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 6,121 57.0% 5,895 57.3% 373,896 29.2% 388,584 29.9%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 3,987 37.2% 3,784 36.8% 903,712 70.5% 903,384 69.5%
Drupal::entityManager24 16.7% 215 2.0% 235 2.3% 1,952 0.2% 4,232 0.3%
Drupal\user\Entity\Role::hasPermission24 16.7% 68 0.6% 87 0.8% 3,096 0.2% 0 0.0%
Drupal\Core\Session\UserSession::getRoles24 16.7% 9 0.1% 26 0.3% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id24 16.7% 9 0.1% 39 0.4% 856 0.1% 776 0.1%