Run Report
Run #52353e715a325: 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,339 3.9% 25,652 4.0% 1,331,648 3.3% 1,347,272 3.3%
Exclusive Metrics for Current Function973 3.7% 718 2.8% -13,696 -1.0% 3,016 0.2%
Parent functions
user_access35 77.8% 23,333 88.6% 22,630 88.2% 1,323,848 99.4% 1,347,272 100.0%
shortcut_set_edit_access2 4.4% 575 2.2% 577 2.2% 912 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.2% 414 1.6% 415 1.6% 896 0.1% 0 0.0%
shortcut_set_switch_access1 2.2% 363 1.4% 365 1.4% 864 0.1% 0 0.0%
search_is_active1 2.2% 285 1.1% 287 1.1% 856 0.1% 0 0.0%
contextual_toolbar1 2.2% 284 1.1% 285 1.1% 856 0.1% 0 0.0%
tour_toolbar1 2.2% 280 1.1% 282 1.1% 848 0.1% 0 0.0%
contextual_page_build1 2.2% 280 1.1% 281 1.1% 856 0.1% 0 0.0%
tour_preprocess_page1 2.2% 266 1.0% 268 1.0% 856 0.1% 0 0.0%
edit_page_build1 2.2% 259 1.0% 262 1.0% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple45 16.7% 14,953 56.8% 14,750 57.5% 497,632 37.4% 495,992 36.8%
Drupal::entityManager45 16.7% 4,877 18.5% 4,931 19.2% 323,672 24.3% 325,856 24.2%
Drupal\Core\Entity\EntityManager::getStorageController45 16.7% 4,851 18.4% 4,424 17.2% 518,216 38.9% 519,392 38.6%
Drupal\user\Entity\Role::hasPermission45 16.7% 479 1.8% 528 2.1% 4,104 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id45 16.7% 107 0.4% 160 0.6% 856 0.1% 648 0.0%
Drupal\Core\Session\UserSession::getRoles45 16.7% 99 0.4% 141 0.5% 864 0.1% 752 0.1%