Run Report
Run #52c641a950046: 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::hasPermission98 14.1% 20,380 1.8% 20,348 1.8% 749,400 3.4% 785,248 3.5%
Exclusive Metrics for Current Function1,318 6.5% 1,021 5.0% -23,768 -3.2% 36,296 4.6%
Parent functions
user_access51 52.0% 9,207 45.2% 9,263 45.5% 3,248 0.4% 17,792 2.3%
rdf_preprocess_node30 30.6% 5,249 25.8% 5,280 25.9% 2,248 0.3% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access7 7.1% 4,210 20.7% 3,939 19.4% 720,136 96.1% 722,704 92.0%
Drupal\views\ViewsAccessCheck::access3 3.1% 516 2.5% 660 3.2% 18,528 2.5% 36,968 4.7%
shortcut_set_edit_access2 2.0% 347 1.7% 349 1.7% 912 0.1% 3,176 0.4%
Drupal\user\Theme\AdminNegotiator::applies1 1.0% 190 0.9% 191 0.9% 880 0.1% 2,952 0.4%
Drupal\search\Plugin\Block\SearchBlock::access1 1.0% 172 0.8% 174 0.9% 880 0.1% 0 0.0%
contextual_page_build1 1.0% 172 0.8% 173 0.9% 856 0.1% 0 0.0%
edit_page_build1 1.0% 159 0.8% 160 0.8% 856 0.1% 0 0.0%
tour_preprocess_page1 1.0% 158 0.8% 159 0.8% 856 0.1% 1,656 0.2%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple98 16.7% 15,792 77.5% 15,793 77.6% 327,784 43.7% 306,064 39.0%
Drupal\Core\Entity\EntityManager::getStorageController98 16.7% 1,840 9.0% 1,749 8.6% 435,064 58.1% 436,272 55.6%
Drupal::entityManager98 16.7% 1,022 5.0% 1,121 5.5% 1,952 0.3% 3,488 0.4%
Drupal\user\Entity\Role::hasPermission98 16.7% 305 1.5% 392 1.9% 6,648 0.9% 1,616 0.2%
Drupal\Core\Session\UserSession::id98 16.7% 58 0.3% 152 0.7% 856 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles98 16.7% 45 0.2% 120 0.6% 864 0.1% 736 0.1%