Run Report
Run #5251f691abb85: 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::hasPermission102 14.1% 29,471 4.0% 28,151 4.2% 860,264 4.2% 901,264 4.4%
Exclusive Metrics for Current Function1,544 5.2% 1,054 3.7% -43,792 -5.1% 2,272 0.3%
Parent functions
user_access96 94.1% 28,214 95.7% 26,883 95.5% 855,888 99.5% 894,152 99.2%
shortcut_set_edit_access2 2.0% 463 1.6% 466 1.7% 912 0.1% 4,304 0.5%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 1.0% 217 0.7% 220 0.8% 896 0.1% 8 0.0%
contextual_page_build1 1.0% 203 0.7% 205 0.7% 856 0.1% 0 0.0%
tour_preprocess_page1 1.0% 189 0.6% 191 0.7% 856 0.1% 2,032 0.2%
edit_page_build1 1.0% 185 0.6% 186 0.7% 856 0.1% 768 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple102 16.7% 20,944 71.1% 20,274 72.0% 323,304 37.6% 324,640 36.0%
Drupal\Core\Entity\EntityManager::getStorageController102 16.7% 4,209 14.3% 3,642 12.9% 445,720 51.8% 447,832 49.7%
Drupal::entityManager102 16.7% 2,301 7.8% 2,409 8.6% 126,472 14.7% 125,208 13.9%
Drupal\user\Entity\Role::hasPermission102 16.7% 382 1.3% 464 1.6% 6,840 0.8% 0 0.0%
Drupal\Core\Session\UserSession::id102 16.7% 54 0.2% 167 0.6% 856 0.1% 560 0.1%
Drupal\Core\Session\UserSession::getRoles102 16.7% 37 0.1% 141 0.5% 864 0.1% 752 0.1%