Run Report
Run #526a239923027: 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,480 4.7% 11,873 5.0% 678,608 5.4% 695,312 5.5%
Exclusive Metrics for Current Function478 3.8% 343 2.9% -4,664 -0.7% 2,144 0.3%
Parent functions
user_access19 67.9% 10,059 80.6% 9,443 79.5% 671,680 99.0% 686,904 98.8%
shortcut_set_edit_access2 7.1% 445 3.6% 449 3.8% 912 0.1% 4,792 0.7%
tour_toolbar1 3.6% 380 3.0% 375 3.2% 848 0.1% 0 0.0%
contextual_page_build1 3.6% 324 2.6% 326 2.7% 856 0.1% 968 0.1%
edit_page_build1 3.6% 285 2.3% 288 2.4% 856 0.1% 2,648 0.4%
shortcut_set_switch_access1 3.6% 280 2.2% 281 2.4% 848 0.1% 0 0.0%
tour_preprocess_page1 3.6% 245 2.0% 247 2.1% 856 0.1% 0 0.0%
contextual_toolbar1 3.6% 235 1.9% 236 2.0% 856 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.6% 227 1.8% 228 1.9% 896 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple28 16.7% 8,934 71.6% 8,583 72.3% 322,056 47.5% 336,272 48.4%
Drupal\Core\Entity\EntityManager::getStorageController28 16.7% 2,323 18.6% 2,089 17.6% 354,272 52.2% 352,968 50.8%
Drupal::entityManager28 16.7% 457 3.7% 489 4.1% 1,936 0.3% 2,528 0.4%
Drupal\user\Entity\Role::hasPermission28 16.7% 238 1.9% 261 2.2% 3,288 0.5% 0 0.0%
Drupal\Core\Session\UserSession::getRoles28 16.7% 26 0.2% 52 0.4% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id28 16.7% 24 0.2% 56 0.5% 856 0.1% 648 0.1%