Run Report
Run #523e49a66dc20: 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,040 0.6% 10,384 0.6% 739,144 3.5% 753,976 2.8%
Exclusive Metrics for Current Function520 4.7% 359 3.5% -8,560 -1.2% 2,848 0.4%
Parent functions
user_access24 80.0% 9,950 90.1% 9,289 89.5% 734,768 99.4% 749,656 99.4%
shortcut_set_edit_access2 6.7% 395 3.6% 395 3.8% 912 0.1% 2,664 0.4%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.3% 201 1.8% 202 1.9% 896 0.1% 0 0.0%
tour_preprocess_page1 3.3% 169 1.5% 170 1.6% 856 0.1% 1,656 0.2%
contextual_page_build1 3.3% 163 1.5% 164 1.6% 856 0.1% 0 0.0%
edit_page_build1 3.3% 162 1.5% 164 1.6% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple30 16.7% 6,325 57.3% 6,165 59.4% 263,584 35.7% 269,400 35.7%
Drupal\Core\Entity\EntityManager::getStorageController30 16.7% 2,529 22.9% 2,073 20.0% 357,208 48.3% 358,352 47.5%
Drupal::entityManager30 16.7% 1,478 13.4% 1,505 14.5% 121,808 16.5% 120,448 16.0%
Drupal\user\Entity\Role::hasPermission30 16.7% 140 1.3% 171 1.6% 3,384 0.5% 1,616 0.2%
Drupal\Core\Session\UserSession::id30 16.7% 25 0.2% 58 0.6% 856 0.1% 560 0.1%
Drupal\Core\Session\UserSession::getRoles30 16.7% 23 0.2% 53 0.5% 864 0.1% 752 0.1%