Run Report
Run #52c2694eecde3: 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::hasPermission27 13.6% 18,672 1.4% 18,575 1.4% 1,029,416 3.3% 1,035,280 3.2%
Exclusive Metrics for Current Function470 2.5% 345 1.9% -4,368 -0.4% 3,288 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access11 40.7% 14,882 79.7% 14,754 79.4% 1,020,944 99.2% 1,014,824 98.0%
user_access7 25.9% 1,854 9.9% 1,865 10.0% 1,136 0.1% 11,184 1.1%
Drupal\views\ViewsAccessCheck::access2 7.4% 458 2.5% 462 2.5% 920 0.1% 0 0.0%
shortcut_set_edit_access2 7.4% 429 2.3% 436 2.3% 912 0.1% 3,344 0.3%
Drupal\user\Theme\AdminNegotiator::applies1 3.7% 249 1.3% 250 1.3% 2,056 0.2% 4,272 0.4%
Drupal\search\Plugin\Block\SearchBlock::access1 3.7% 203 1.1% 205 1.1% 880 0.1% 0 0.0%
tour_preprocess_page1 3.7% 202 1.1% 204 1.1% 856 0.1% 1,656 0.2%
contextual_page_build1 3.7% 201 1.1% 203 1.1% 856 0.1% 0 0.0%
edit_page_build1 3.7% 194 1.0% 196 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple27 16.7% 14,014 75.1% 14,010 75.4% 573,160 55.7% 574,424 55.5%
Drupal\Core\Entity\EntityManager::getStorageController27 16.7% 3,554 19.0% 3,477 18.7% 453,864 44.1% 451,688 43.6%
Drupal::entityManager27 16.7% 448 2.4% 476 2.6% 1,904 0.2% 2,736 0.3%
Drupal\user\Entity\Role::hasPermission27 16.7% 144 0.8% 172 0.9% 3,200 0.3% 1,616 0.2%
Drupal\Core\Session\UserSession::id27 16.7% 23 0.1% 50 0.3% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles27 16.7% 19 0.1% 45 0.2% 832 0.1% 752 0.1%