Run Report
Run #52353d82849e7: 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% 27,209 4.1% 26,481 4.2% 1,331,736 3.3% 1,347,720 3.3%
Exclusive Metrics for Current Function975 3.6% 723 2.7% -13,696 -1.0% 3,104 0.2%
Parent functions
user_access35 77.8% 23,522 86.4% 22,775 86.0% 1,323,936 99.4% 1,347,720 100.0%
shortcut_set_edit_access2 4.4% 616 2.3% 619 2.3% 912 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.2% 614 2.3% 616 2.3% 896 0.1% 0 0.0%
shortcut_set_switch_access1 2.2% 593 2.2% 597 2.3% 864 0.1% 0 0.0%
tour_preprocess_page1 2.2% 472 1.7% 475 1.8% 856 0.1% 0 0.0%
tour_toolbar1 2.2% 335 1.2% 337 1.3% 848 0.1% 0 0.0%
search_is_active1 2.2% 298 1.1% 300 1.1% 856 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% 242 0.9% 242 0.9% 856 0.1% 0 0.0%
edit_page_build1 2.2% 237 0.9% 238 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple45 16.7% 15,552 57.2% 15,313 57.8% 497,680 37.4% 496,168 36.8%
Drupal::entityManager45 16.7% 5,058 18.6% 5,116 19.3% 323,768 24.3% 325,952 24.2%
Drupal\Core\Entity\EntityManager::getStorageController45 16.7% 4,884 17.9% 4,448 16.8% 518,160 38.9% 519,480 38.5%
Drupal\user\Entity\Role::hasPermission45 16.7% 516 1.9% 567 2.1% 4,104 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id45 16.7% 114 0.4% 164 0.6% 856 0.1% 648 0.0%
Drupal\Core\Session\UserSession::getRoles45 16.7% 110 0.4% 150 0.6% 864 0.1% 752 0.1%