Run Report
Run #52d4b60c154f6: 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% 10,349 6.4% 10,081 6.7% 830,184 5.7% 859,160 5.9%
Exclusive Metrics for Current Function439 4.2% 276 2.7% -8,168 -1.0% 3,944 0.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access8 23.5% 5,907 57.1% 5,609 55.6% 822,400 99.1% 826,104 96.2%
user_access18 52.9% 3,051 29.5% 3,069 30.4% 1,664 0.2% 22,712 2.6%
shortcut_set_edit_access2 5.9% 347 3.4% 350 3.5% 912 0.1% 2,496 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 2.9% 196 1.9% 198 2.0% 880 0.1% 1,840 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 193 1.9% 194 1.9% 880 0.1% 2,848 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 172 1.7% 173 1.7% 880 0.1% 1,504 0.2%
contextual_page_build1 2.9% 169 1.6% 170 1.7% 856 0.1% 0 0.0%
tour_preprocess_page1 2.9% 158 1.5% 161 1.6% 856 0.1% 1,656 0.2%
edit_page_build1 2.9% 156 1.5% 157 1.6% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 6,740 65.1% 6,671 66.2% 286,304 34.5% 301,128 35.0%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 2,675 25.8% 2,505 24.8% 544,800 65.6% 547,120 63.7%
Drupal::entityManager34 16.7% 377 3.6% 414 4.1% 1,952 0.2% 3,872 0.5%
Drupal\user\Entity\Role::hasPermission34 16.7% 97 0.9% 133 1.3% 3,576 0.4% 1,616 0.2%
Drupal\Core\Session\UserSession::getRoles34 16.7% 12 0.1% 47 0.5% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id34 16.7% 9 0.1% 35 0.3% 856 0.1% 776 0.1%