Run Report
Run #52f5c11235c73: 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,327 5.9% 1,281,728 5.4% 1,300,520 5.4%
Exclusive Metrics for Current Function319 3.0% 210 2.0% -2,592 -0.2% 2,456 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access6 25.0% 7,921 73.8% 7,500 72.6% 1,273,488 99.4% 1,279,416 98.4%
user_access9 37.5% 1,367 12.7% 1,378 13.3% 1,232 0.1% 9,848 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% 184 1.7% 185 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% 170 1.6% 171 1.7% 888 0.1% 3,312 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 4.2% 161 1.5% 161 1.6% 880 0.1% 1,768 0.1%
contextual_page_build1 4.2% 151 1.4% 152 1.5% 856 0.1% 0 0.0%
edit_page_build1 4.2% 141 1.3% 141 1.4% 856 0.1% 0 0.0%
tour_preprocess_page1 4.2% 140 1.3% 140 1.4% 856 0.1% 616 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 6,120 57.0% 5,926 57.4% 373,936 29.2% 389,120 29.9%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 3,987 37.2% 3,804 36.8% 903,616 70.5% 903,232 69.5%
Drupal::entityManager24 16.7% 216 2.0% 234 2.3% 1,952 0.2% 4,232 0.3%
Drupal\user\Entity\Role::hasPermission24 16.7% 65 0.6% 87 0.8% 3,096 0.2% 0 0.0%
Drupal\Core\Session\UserSession::id24 16.7% 13 0.1% 34 0.3% 856 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles24 16.7% 10 0.1% 32 0.3% 864 0.1% 704 0.1%