Run Report
Run #526a226ecee2e: 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% 13,502 5.2% 12,876 5.4% 678,608 5.4% 695,312 5.5%
Exclusive Metrics for Current Function477 3.5% 334 2.6% -4,664 -0.7% 2,144 0.3%
Parent functions
user_access19 67.9% 11,118 82.3% 10,479 81.4% 671,680 99.0% 686,904 98.8%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.6% 523 3.9% 526 4.1% 896 0.1% 0 0.0%
shortcut_set_edit_access2 7.1% 460 3.4% 462 3.6% 912 0.1% 4,792 0.7%
shortcut_set_switch_access1 3.6% 263 1.9% 265 2.1% 848 0.1% 0 0.0%
tour_toolbar1 3.6% 261 1.9% 263 2.0% 848 0.1% 0 0.0%
contextual_toolbar1 3.6% 236 1.7% 237 1.8% 856 0.1% 0 0.0%
contextual_page_build1 3.6% 235 1.7% 236 1.8% 856 0.1% 968 0.1%
tour_preprocess_page1 3.6% 207 1.5% 208 1.6% 856 0.1% 0 0.0%
edit_page_build1 3.6% 199 1.5% 200 1.6% 856 0.1% 2,648 0.4%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple28 16.7% 9,042 67.0% 8,674 67.4% 322,056 47.5% 336,272 48.4%
Drupal\Core\Entity\EntityManager::getStorageController28 16.7% 3,208 23.8% 2,983 23.2% 354,272 52.2% 352,968 50.8%
Drupal::entityManager28 16.7% 466 3.5% 498 3.9% 1,936 0.3% 2,528 0.4%
Drupal\user\Entity\Role::hasPermission28 16.7% 252 1.9% 279 2.2% 3,288 0.5% 0 0.0%
Drupal\Core\Session\UserSession::id28 16.7% 29 0.2% 54 0.4% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles28 16.7% 28 0.2% 54 0.4% 864 0.1% 752 0.1%