Run Report
Run #523e4c6056bfd: 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::hasPermission30 13.7% 11,062 0.4% 10,536 0.4% 739,128 1.9% 737,760 1.5%
Exclusive Metrics for Current Function522 4.7% 364 3.5% -8,624 -1.2% 2,656 0.4%
Parent functions
user_access24 80.0% 9,772 88.3% 9,239 87.7% 734,720 99.4% 737,760 100.0%
shortcut_set_edit_access2 6.7% 534 4.8% 537 5.1% 912 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.3% 283 2.6% 284 2.7% 896 0.1% 0 0.0%
contextual_page_build1 3.3% 164 1.5% 165 1.6% 856 0.1% 0 0.0%
edit_page_build1 3.3% 157 1.4% 158 1.5% 888 0.1% 0 0.0%
tour_preprocess_page1 3.3% 152 1.4% 153 1.5% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple30 16.7% 6,508 58.8% 6,356 60.3% 263,664 35.7% 254,216 34.5%
Drupal\Core\Entity\EntityManager::getStorageController30 16.7% 2,390 21.6% 2,059 19.5% 357,192 48.3% 358,336 48.6%
Drupal::entityManager30 16.7% 1,452 13.1% 1,479 14.0% 121,768 16.5% 119,624 16.2%
Drupal\user\Entity\Role::hasPermission30 16.7% 142 1.3% 165 1.6% 3,408 0.5% 1,616 0.2%
Drupal\Core\Session\UserSession::getRoles30 16.7% 26 0.2% 58 0.6% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id30 16.7% 22 0.2% 55 0.5% 856 0.1% 560 0.1%