Run Report
Run #52c96bffb57a7: 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% 5,968 4.9% 5,894 5.1% 417,368 3.6% 378,888 3.2%
Exclusive Metrics for Current Function308 5.2% 211 3.6% -3,032 -0.7% 2,760 0.7%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.2% 1,999 33.5% 1,902 32.3% 408,528 97.9% 352,960 93.2%
user_access10 41.7% 1,662 27.8% 1,671 28.4% 1,280 0.3% 14,216 3.8%
Drupal\user\Access\PermissionAccessCheck::access4 16.7% 773 13.0% 778 13.2% 1,032 0.2% 3,040 0.8%
Drupal\filter\FilterFormatAccessController::checkAccess3 12.5% 510 8.5% 514 8.7% 2,168 0.5% 2,560 0.7%
shortcut_set_edit_access2 8.3% 364 6.1% 365 6.2% 912 0.2% 2,912 0.8%
Drupal\search\Plugin\Block\SearchBlock::access1 4.2% 173 2.9% 175 3.0% 880 0.2% 1,504 0.4%
contextual_page_build1 4.2% 170 2.8% 170 2.9% 856 0.2% 0 0.0%
tour_preprocess_page1 4.2% 159 2.7% 161 2.7% 856 0.2% 1,696 0.4%
edit_page_build1 4.2% 158 2.6% 158 2.7% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 4,717 79.0% 4,629 78.5% 289,096 69.3% 299,448 79.0%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 591 9.9% 613 10.4% 124,536 29.8% 72,888 19.2%
Drupal::entityManager24 16.7% 268 4.5% 291 4.9% 1,952 0.5% 1,440 0.4%
Drupal\user\Entity\Role::hasPermission24 16.7% 74 1.2% 90 1.5% 3,096 0.7% 1,616 0.4%
Drupal\Core\Session\UserSession::getRoles24 16.7% 6 0.1% 30 0.5% 864 0.2% 736 0.2%
Drupal\Core\Session\UserSession::id24 16.7% 4 0.1% 30 0.5% 856 0.2% 0 0.0%