Run Report
Run #52f5c0b2e882a: 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,679 5.9% 10,240 5.9% 1,281,784 5.4% 1,300,136 5.4%
Exclusive Metrics for Current Function326 3.1% 215 2.1% -2,592 -0.2% 2,456 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access6 25.0% 7,878 73.8% 7,431 72.6% 1,273,544 99.4% 1,279,472 98.4%
user_access9 37.5% 1,369 12.8% 1,372 13.4% 1,232 0.1% 9,936 0.8%
shortcut_set_edit_access2 8.3% 318 3.0% 318 3.1% 912 0.1% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 4.2% 182 1.7% 182 1.8% 880 0.1% 2,280 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 4.2% 179 1.7% 181 1.8% 880 0.1% 3,280 0.3%
user_template_preprocess_default_variables_alter1 4.2% 165 1.5% 165 1.6% 888 0.1% 2,784 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 4.2% 158 1.5% 159 1.6% 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% 141 1.3% 141 1.4% 856 0.1% 616 0.0%
edit_page_build1 4.2% 140 1.3% 141 1.4% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 6,096 57.1% 5,877 57.4% 373,896 29.2% 388,584 29.9%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 3,959 37.1% 3,759 36.7% 903,712 70.5% 903,384 69.5%
Drupal::entityManager24 16.7% 212 2.0% 234 2.3% 1,952 0.2% 4,232 0.3%
Drupal\user\Entity\Role::hasPermission24 16.7% 67 0.6% 85 0.8% 3,096 0.2% 0 0.0%
Drupal\Core\Session\UserSession::getRoles24 16.7% 11 0.1% 33 0.3% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id24 16.7% 8 0.1% 37 0.4% 856 0.1% 776 0.1%