Run Report
Run #526a240c73a50: 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,278 4.6% 11,714 4.9% 678,608 5.3% 695,400 5.4%
Exclusive Metrics for Current Function466 3.8% 359 3.1% -4,664 -0.7% 2,144 0.3%
Parent functions
user_access19 67.9% 10,239 83.4% 9,661 82.5% 671,680 99.0% 687,328 98.8%
shortcut_set_edit_access2 7.1% 445 3.6% 447 3.8% 912 0.1% 4,456 0.6%
shortcut_set_switch_access1 3.6% 254 2.1% 256 2.2% 848 0.1% 0 0.0%
contextual_page_build1 3.6% 248 2.0% 249 2.1% 856 0.1% 968 0.1%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.6% 236 1.9% 238 2.0% 896 0.1% 0 0.0%
contextual_toolbar1 3.6% 229 1.9% 231 2.0% 856 0.1% 0 0.0%
tour_toolbar1 3.6% 222 1.8% 223 1.9% 848 0.1% 0 0.0%
tour_preprocess_page1 3.6% 206 1.7% 208 1.8% 856 0.1% 0 0.0%
edit_page_build1 3.6% 199 1.6% 201 1.7% 856 0.1% 2,648 0.4%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple28 16.7% 8,690 70.8% 8,349 71.3% 322,040 47.5% 336,344 48.4%
Drupal\Core\Entity\EntityManager::getStorageController28 16.7% 2,375 19.3% 2,176 18.6% 354,288 52.2% 352,912 50.7%
Drupal::entityManager28 16.7% 462 3.8% 486 4.1% 1,936 0.3% 2,600 0.4%
Drupal\user\Entity\Role::hasPermission28 16.7% 233 1.9% 256 2.2% 3,288 0.5% 0 0.0%
Drupal\Core\Session\UserSession::getRoles28 16.7% 27 0.2% 41 0.4% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id28 16.7% 25 0.2% 47 0.4% 856 0.1% 648 0.1%