Run Report
Run #52f2e60305388: 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% 15,010 4.4% 14,553 4.5% 820,120 4.0% 837,688 4.1%
Exclusive Metrics for Current Function726 4.8% 501 3.4% -12,544 -1.5% 3,592 0.4%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access16 32.7% 8,936 59.5% 8,439 58.0% 807,784 98.5% 813,512 97.1%
user_access16 32.7% 2,812 18.7% 2,830 19.4% 1,568 0.2% 14,208 1.7%
Drupal\views\ViewsAccessCheck::access5 10.2% 918 6.1% 927 6.4% 1,096 0.1% 96 0.0%
shortcut_set_edit_access2 4.1% 377 2.5% 378 2.6% 944 0.1% 0 0.0%
contextual_page_build1 2.0% 261 1.7% 262 1.8% 856 0.1% 0 0.0%
edit_page_build1 2.0% 246 1.6% 247 1.7% 856 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 2.0% 204 1.4% 204 1.4% 888 0.1% 3,168 0.4%
shortcut_set_switch_access1 2.0% 199 1.3% 199 1.4% 864 0.1% 1,848 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.0% 188 1.3% 190 1.3% 912 0.1% 2,784 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 2.0% 182 1.2% 184 1.3% 912 0.1% 2,072 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 2.0% 177 1.2% 178 1.2% 880 0.1% 0 0.0%
contextual_toolbar1 2.0% 174 1.2% 175 1.2% 856 0.1% 0 0.0%
tour_preprocess_page1 2.0% 171 1.1% 173 1.2% 856 0.1% 0 0.0%
tour_toolbar1 2.0% 165 1.1% 167 1.1% 848 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple49 16.7% 9,842 65.6% 9,618 66.1% 205,792 25.1% 206,584 24.7%
Drupal\Core\Entity\EntityManager::getStorageController49 16.7% 3,564 23.7% 3,376 23.2% 618,744 75.4% 619,456 73.9%
Drupal::entityManager49 16.7% 525 3.5% 566 3.9% 2,112 0.3% 5,072 0.6%
Drupal\user\Entity\Role::hasPermission49 16.7% 296 2.0% 336 2.3% 4,296 0.5% 1,472 0.2%
Drupal\Core\Session\UserSession::getRoles49 16.7% 33 0.2% 80 0.5% 864 0.1% 736 0.1%
Drupal\Core\Session\UserSession::id49 16.7% 24 0.2% 76 0.5% 856 0.1% 776 0.1%