Run Report
Run #52d0c4d726ece: 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::hasPermission37 13.8% 8,039 5.0% 7,991 5.3% 155,864 1.1% 173,944 1.2%
Exclusive Metrics for Current Function475 5.9% 330 4.1% -8,856 -5.7% 3,752 2.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access10 27.0% 3,331 41.4% 3,254 40.7% 147,184 94.4% 147,344 84.7%
user_access18 48.6% 3,078 38.3% 3,094 38.7% 1,664 1.1% 18,472 10.6%
shortcut_set_edit_access2 5.4% 364 4.5% 366 4.6% 912 0.6% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.7% 222 2.8% 225 2.8% 880 0.6% 2,848 1.6%
Drupal\node\Plugin\Search\NodeSearch::access1 2.7% 201 2.5% 202 2.5% 880 0.6% 1,840 1.1%
Drupal\devel\EventSubscriber\DevelEventSubscriber::onRequest1 2.7% 176 2.2% 179 2.2% 896 0.6% 1,936 1.1%
Drupal\search\Plugin\Block\SearchBlock::access1 2.7% 173 2.2% 174 2.2% 880 0.6% 1,504 0.9%
contextual_page_build1 2.7% 173 2.2% 174 2.2% 856 0.5% 0 0.0%
tour_preprocess_page1 2.7% 161 2.0% 162 2.0% 856 0.5% 0 0.0%
edit_page_build1 2.7% 160 2.0% 161 2.0% 856 0.5% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple37 16.7% 6,243 77.7% 6,185 77.4% 84,208 54.0% 92,392 53.1%
Drupal\Core\Entity\EntityManager::getStorageController37 16.7% 748 9.3% 785 9.8% 74,264 47.6% 72,536 41.7%
Drupal::entityManager37 16.7% 432 5.4% 462 5.8% 808 0.5% 2,400 1.4%
Drupal\user\Entity\Role::hasPermission37 16.7% 111 1.4% 139 1.7% 3,720 2.4% 1,472 0.8%
Drupal\Core\Session\UserSession::getRoles37 16.7% 15 0.2% 44 0.6% 864 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id37 16.7% 15 0.2% 46 0.6% 856 0.5% 776 0.4%