Run Report
Run #526a23ef211f9: 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::hasPermission28 13.7% 12,863 4.9% 12,226 5.1% 678,608 5.4% 695,312 5.5%
Exclusive Metrics for Current Function450 3.5% 327 2.7% -4,664 -0.7% 2,144 0.3%
Parent functions
user_access19 67.9% 10,815 84.1% 10,166 83.2% 671,680 99.0% 686,904 98.8%
shortcut_set_edit_access2 7.1% 449 3.5% 451 3.7% 912 0.1% 4,792 0.7%
shortcut_set_switch_access1 3.6% 249 1.9% 251 2.1% 848 0.1% 0 0.0%
contextual_toolbar1 3.6% 237 1.8% 239 2.0% 856 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.6% 237 1.8% 238 1.9% 896 0.1% 0 0.0%
tour_toolbar1 3.6% 236 1.8% 237 1.9% 848 0.1% 0 0.0%
contextual_page_build1 3.6% 236 1.8% 237 1.9% 856 0.1% 968 0.1%
tour_preprocess_page1 3.6% 206 1.6% 207 1.7% 856 0.1% 0 0.0%
edit_page_build1 3.6% 198 1.5% 200 1.6% 856 0.1% 2,648 0.4%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple28 16.7% 8,622 67.0% 8,285 67.8% 322,056 47.5% 336,272 48.4%
Drupal\Core\Entity\EntityManager::getStorageController28 16.7% 3,074 23.9% 2,804 22.9% 354,272 52.2% 352,968 50.8%
Drupal::entityManager28 16.7% 443 3.4% 470 3.8% 1,936 0.3% 2,528 0.4%
Drupal\user\Entity\Role::hasPermission28 16.7% 225 1.7% 247 2.0% 3,288 0.5% 0 0.0%
Drupal\Core\Session\UserSession::id28 16.7% 26 0.2% 48 0.4% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles28 16.7% 23 0.2% 45 0.4% 864 0.1% 752 0.1%