Run Report
Run #52ed72fd446c1: 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,614 1.3% 25,460 1.3% 1,428,952 3.9% 1,432,840 3.9%
Exclusive Metrics for Current Function681 2.7% 514 2.0% -5,600 -0.4% 2,728 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access15 44.1% 18,847 73.6% 18,662 73.3% 1,419,080 99.3% 1,422,456 99.3%
user_access5 14.7% 1,831 7.1% 1,837 7.2% 1,040 0.1% 5,432 0.4%
Drupal\views\ViewsAccessCheck::access4 11.8% 1,123 4.4% 1,127 4.4% 1,016 0.1% 0 0.0%
shortcut_set_edit_access2 5.9% 928 3.6% 931 3.7% 912 0.1% 0 0.0%
contextual_page_build1 2.9% 584 2.3% 587 2.3% 856 0.1% 0 0.0%
edit_page_build1 2.9% 470 1.8% 474 1.9% 856 0.1% 0 0.0%
contextual_toolbar1 2.9% 348 1.4% 350 1.4% 856 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 320 1.2% 322 1.3% 880 0.1% 3,000 0.2%
shortcut_set_switch_access1 2.9% 302 1.2% 304 1.2% 864 0.1% 1,952 0.1%
user_template_preprocess_default_variables_alter1 2.9% 298 1.2% 299 1.2% 888 0.1% 0 0.0%
tour_toolbar1 2.9% 285 1.1% 287 1.1% 848 0.1% 0 0.0%
tour_preprocess_page1 2.9% 278 1.1% 280 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 16,720 65.3% 16,685 65.5% 418,336 29.3% 413,728 28.9%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 7,009 27.4% 6,923 27.2% 1,009,128 70.6% 1,010,688 70.5%
Drupal::entityManager34 16.7% 664 2.6% 705 2.8% 1,896 0.1% 2,816 0.2%
Drupal\user\Entity\Role::hasPermission34 16.7% 389 1.5% 418 1.6% 3,536 0.2% 1,400 0.1%
Drupal\Core\Session\UserSession::id34 16.7% 78 0.3% 112 0.4% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles34 16.7% 73 0.3% 103 0.4% 832 0.1% 704 0.0%