Run Report
Run #523e4a8c453b2: 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% 10,767 0.6% 10,225 0.6% 739,144 3.5% 753,976 2.8%
Exclusive Metrics for Current Function499 4.6% 353 3.5% -8,560 -1.2% 2,848 0.4%
Parent functions
user_access24 80.0% 9,691 90.0% 9,139 89.4% 734,768 99.4% 749,656 99.4%
shortcut_set_edit_access2 6.7% 384 3.6% 387 3.8% 912 0.1% 2,664 0.4%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.3% 206 1.9% 208 2.0% 896 0.1% 0 0.0%
contextual_page_build1 3.3% 167 1.6% 169 1.7% 856 0.1% 0 0.0%
edit_page_build1 3.3% 163 1.5% 164 1.6% 856 0.1% 0 0.0%
tour_preprocess_page1 3.3% 156 1.4% 158 1.5% 856 0.1% 1,656 0.2%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple30 16.7% 6,377 59.2% 6,161 60.3% 263,584 35.7% 269,400 35.7%
Drupal\Core\Entity\EntityManager::getStorageController30 16.7% 2,277 21.1% 1,980 19.4% 357,208 48.3% 358,352 47.5%
Drupal::entityManager30 16.7% 1,427 13.3% 1,454 14.2% 121,808 16.5% 120,448 16.0%
Drupal\user\Entity\Role::hasPermission30 16.7% 137 1.3% 165 1.6% 3,384 0.5% 1,616 0.2%
Drupal\Core\Session\UserSession::getRoles30 16.7% 27 0.3% 50 0.5% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id30 16.7% 23 0.2% 62 0.6% 856 0.1% 560 0.1%