Run Report
Run #530ed1c5bdc6a: 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::hasPermission42 13.9% 20,088 4.9% 19,970 4.9% 1,413,304 4.3% 1,438,944 4.4%
Exclusive Metrics for Current Function656 3.3% 454 2.3% -11,128 -0.8% 3,552 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access6 14.3% 13,070 65.1% 12,921 64.7% 1,403,376 99.3% 1,404,408 97.6%
user_access24 57.1% 4,554 22.7% 4,572 22.9% 1,952 0.1% 21,944 1.5%
Drupal\search\Plugin\Block\SearchBlock::access3 7.1% 628 3.1% 631 3.2% 976 0.1% 0 0.0%
shortcut_set_edit_access2 4.8% 425 2.1% 425 2.1% 912 0.1% 3,136 0.2%
user_template_preprocess_default_variables_alter1 2.4% 259 1.3% 261 1.3% 888 0.1% 3,160 0.2%
Drupal\node\Plugin\Search\NodeSearch::access1 2.4% 218 1.1% 220 1.1% 880 0.1% 2,040 0.1%
Drupal\views\ViewsAccessCheck::access1 2.4% 201 1.0% 202 1.0% 872 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.4% 199 1.0% 200 1.0% 880 0.1% 2,824 0.2%
contextual_page_build1 2.4% 187 0.9% 189 0.9% 856 0.1% 0 0.0%
tour_preprocess_page1 2.4% 174 0.9% 176 0.9% 856 0.1% 1,432 0.1%
edit_page_build1 2.4% 173 0.9% 173 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple42 16.7% 11,215 55.8% 11,178 56.0% 385,048 27.2% 397,280 27.6%
Drupal\Core\Entity\EntityManager::getStorageController42 16.7% 7,565 37.7% 7,516 37.6% 1,031,904 73.0% 1,030,792 71.6%
Drupal::entityManager42 16.7% 446 2.2% 486 2.4% 1,904 0.1% 4,368 0.3%
Drupal\user\Entity\Role::hasPermission42 16.7% 165 0.8% 202 1.0% 3,920 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::id42 16.7% 21 0.1% 71 0.4% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles42 16.7% 20 0.1% 63 0.3% 832 0.1% 704 0.0%