Run Report
Run #52353dd1139c1: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission45 13.9% 26,868 4.0% 26,183 4.1% 1,331,736 3.3% 1,347,720 3.3%
Exclusive Metrics for Current Function942 3.5% 680 2.6% -13,696 -1.0% 3,104 0.2%
Parent functions
user_access35 77.8% 23,793 88.6% 23,093 88.2% 1,323,936 99.4% 1,347,720 100.0%
shortcut_set_edit_access2 4.4% 605 2.3% 608 2.3% 912 0.1% 0 0.0%
search_is_active1 2.2% 462 1.7% 465 1.8% 856 0.1% 0 0.0%
tour_toolbar1 2.2% 343 1.3% 344 1.3% 848 0.1% 0 0.0%
shortcut_set_switch_access1 2.2% 329 1.2% 330 1.3% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.2% 322 1.2% 324 1.2% 896 0.1% 0 0.0%
contextual_toolbar1 2.2% 280 1.0% 282 1.1% 856 0.1% 0 0.0%
contextual_page_build1 2.2% 251 0.9% 251 1.0% 856 0.1% 0 0.0%
tour_preprocess_page1 2.2% 245 0.9% 246 0.9% 856 0.1% 0 0.0%
edit_page_build1 2.2% 238 0.9% 240 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple45 16.7% 15,336 57.1% 15,134 57.8% 497,680 37.4% 496,168 36.8%
Drupal\Core\Entity\EntityManager::getStorageController45 16.7% 5,073 18.9% 4,653 17.8% 518,160 38.9% 519,480 38.5%
Drupal::entityManager45 16.7% 4,822 17.9% 4,872 18.6% 323,768 24.3% 325,952 24.2%
Drupal\user\Entity\Role::hasPermission45 16.7% 488 1.8% 543 2.1% 4,104 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id45 16.7% 111 0.4% 159 0.6% 856 0.1% 648 0.0%
Drupal\Core\Session\UserSession::getRoles45 16.7% 96 0.4% 142 0.5% 864 0.1% 752 0.1%