Run Report
Run #52f2e62091f2c: XHProf Run (Namespace=drupal-perf-drupalcon)
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::hasPermission49 13.9% 13,243 3.9% 12,857 4.0% 820,120 4.0% 837,688 4.1%
Exclusive Metrics for Current Function707 5.3% 490 3.8% -12,544 -1.5% 3,592 0.4%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access16 32.7% 7,075 53.4% 6,645 51.7% 807,784 98.5% 813,512 97.1%
user_access16 32.7% 2,836 21.4% 2,852 22.2% 1,568 0.2% 14,208 1.7%
Drupal\views\ViewsAccessCheck::access5 10.2% 802 6.1% 806 6.3% 1,096 0.1% 96 0.0%
shortcut_set_edit_access2 4.1% 365 2.8% 368 2.9% 944 0.1% 0 0.0%
tour_toolbar1 2.0% 360 2.7% 363 2.8% 848 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 2.0% 305 2.3% 307 2.4% 888 0.1% 3,168 0.4%
contextual_toolbar1 2.0% 262 2.0% 264 2.1% 856 0.1% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 2.0% 209 1.6% 211 1.6% 912 0.1% 2,072 0.2%
shortcut_set_switch_access1 2.0% 197 1.5% 202 1.6% 864 0.1% 1,848 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 2.0% 196 1.5% 197 1.5% 880 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.0% 170 1.3% 171 1.3% 912 0.1% 2,784 0.3%
tour_preprocess_page1 2.0% 160 1.2% 162 1.3% 856 0.1% 0 0.0%
contextual_page_build1 2.0% 155 1.2% 156 1.2% 856 0.1% 0 0.0%
edit_page_build1 2.0% 151 1.1% 153 1.2% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple49 16.7% 9,176 69.3% 9,003 70.0% 205,792 25.1% 206,584 24.7%
Drupal\Core\Entity\EntityManager::getStorageController49 16.7% 2,536 19.1% 2,350 18.3% 618,744 75.4% 619,456 73.9%
Drupal::entityManager49 16.7% 507 3.8% 551 4.3% 2,112 0.3% 5,072 0.6%
Drupal\user\Entity\Role::hasPermission49 16.7% 269 2.0% 313 2.4% 4,296 0.5% 1,472 0.2%
Drupal\Core\Session\UserSession::getRoles49 16.7% 25 0.2% 68 0.5% 864 0.1% 736 0.1%
Drupal\Core\Session\UserSession::id49 16.7% 23 0.2% 82 0.6% 856 0.1% 776 0.1%