Run Report
Run #52f2e62cef49a: 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,321 3.9% 12,926 4.1% 820,144 4.0% 837,688 4.1%
Exclusive Metrics for Current Function694 5.2% 480 3.7% -12,544 -1.5% 3,592 0.4%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access16 32.7% 7,255 54.5% 6,820 52.8% 807,784 98.5% 813,512 97.1%
user_access16 32.7% 2,906 21.8% 2,922 22.6% 1,568 0.2% 14,208 1.7%
Drupal\views\ViewsAccessCheck::access5 10.2% 852 6.4% 858 6.6% 1,096 0.1% 96 0.0%
shortcut_set_edit_access2 4.1% 397 3.0% 400 3.1% 944 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 2.0% 325 2.4% 328 2.5% 888 0.1% 3,168 0.4%
Drupal\node\Plugin\Search\NodeSearch::access1 2.0% 222 1.7% 224 1.7% 912 0.1% 2,072 0.2%
shortcut_set_switch_access1 2.0% 192 1.4% 194 1.5% 864 0.1% 1,848 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 2.0% 180 1.4% 182 1.4% 880 0.1% 0 0.0%
tour_toolbar1 2.0% 176 1.3% 177 1.4% 848 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%
contextual_toolbar1 2.0% 170 1.3% 170 1.3% 880 0.1% 0 0.0%
tour_preprocess_page1 2.0% 168 1.3% 169 1.3% 856 0.1% 0 0.0%
contextual_page_build1 2.0% 157 1.2% 158 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,238 69.3% 9,039 69.9% 205,792 25.1% 206,584 24.7%
Drupal\Core\Entity\EntityManager::getStorageController49 16.7% 2,547 19.1% 2,389 18.5% 618,744 75.4% 619,456 73.9%
Drupal::entityManager49 16.7% 525 3.9% 571 4.4% 2,136 0.3% 5,072 0.6%
Drupal\user\Entity\Role::hasPermission49 16.7% 264 2.0% 308 2.4% 4,296 0.5% 1,472 0.2%
Drupal\Core\Session\UserSession::getRoles49 16.7% 29 0.2% 67 0.5% 864 0.1% 736 0.1%
Drupal\Core\Session\UserSession::id49 16.7% 24 0.2% 72 0.6% 856 0.1% 776 0.1%