Run Report
Run #52ed72044139b: 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::hasPermission34 13.8% 25,289 1.3% 25,165 1.3% 1,428,952 3.9% 1,432,840 3.9%
Exclusive Metrics for Current Function659 2.6% 516 2.1% -5,600 -0.4% 2,728 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access15 44.1% 19,335 76.5% 19,178 76.2% 1,419,080 99.3% 1,422,456 99.3%
user_access5 14.7% 1,726 6.8% 1,733 6.9% 1,040 0.1% 5,432 0.4%
Drupal\views\ViewsAccessCheck::access4 11.8% 1,186 4.7% 1,191 4.7% 1,016 0.1% 0 0.0%
shortcut_set_edit_access2 5.9% 674 2.7% 677 2.7% 912 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 317 1.3% 320 1.3% 880 0.1% 3,000 0.2%
user_template_preprocess_default_variables_alter1 2.9% 311 1.2% 313 1.2% 888 0.1% 0 0.0%
shortcut_set_switch_access1 2.9% 310 1.2% 312 1.2% 864 0.1% 1,952 0.1%
contextual_toolbar1 2.9% 299 1.2% 301 1.2% 856 0.1% 0 0.0%
tour_preprocess_page1 2.9% 289 1.1% 291 1.2% 856 0.1% 0 0.0%
tour_toolbar1 2.9% 286 1.1% 288 1.1% 848 0.1% 0 0.0%
edit_page_build1 2.9% 283 1.1% 286 1.1% 856 0.1% 0 0.0%
contextual_page_build1 2.9% 273 1.1% 275 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 15,970 63.1% 15,922 63.3% 418,336 29.3% 413,728 28.9%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 7,514 29.7% 7,455 29.6% 1,009,128 70.6% 1,010,688 70.5%
Drupal::entityManager34 16.7% 639 2.5% 672 2.7% 1,896 0.1% 2,816 0.2%
Drupal\user\Entity\Role::hasPermission34 16.7% 364 1.4% 401 1.6% 3,536 0.2% 1,400 0.1%
Drupal\Core\Session\UserSession::id34 16.7% 73 0.3% 101 0.4% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles34 16.7% 70 0.3% 98 0.4% 832 0.1% 704 0.0%