Run Report
Run #52e417f8e04a5: XHProf Run (Namespace=drupal-perf-cottser)
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::hasPermission40 13.8% 7,555 1.7% 7,512 1.8% 104,440 0.5% 128,456 0.7%
Exclusive Metrics for Current Function560 7.4% 367 4.9% -9,064 -8.7% 2,392 1.9%
Parent functions
user_access11 27.5% 1,723 22.8% 1,731 23.0% 1,328 1.3% 11,272 8.8%
template_preprocess_username10 25.0% 1,606 21.3% 1,619 21.6% 1,296 1.2% 2,928 2.3%
Drupal\user\Access\PermissionAccessCheck::access9 22.5% 1,541 20.4% 1,550 20.6% 1,272 1.2% 5,472 4.3%
Drupal\node\Plugin\Search\NodeSearch::access1 2.5% 1,251 16.6% 1,168 15.5% 93,528 89.6% 96,832 75.4%
shortcut_set_edit_access2 5.0% 319 4.2% 320 4.3% 912 0.9% 2,536 2.0%
user_template_preprocess_default_variables_alter1 2.5% 184 2.4% 186 2.5% 888 0.9% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::searchFormAlter1 2.5% 174 2.3% 176 2.3% 888 0.9% 2,920 2.3%
Drupal\user\Theme\AdminNegotiator::applies1 2.5% 167 2.2% 168 2.2% 880 0.8% 3,360 2.6%
Drupal\search\Plugin\Block\SearchBlock::access1 2.5% 155 2.1% 156 2.1% 880 0.8% 1,520 1.2%
contextual_page_build1 2.5% 153 2.0% 153 2.0% 856 0.8% 0 0.0%
edit_page_build1 2.5% 143 1.9% 144 1.9% 856 0.8% 0 0.0%
tour_preprocess_page1 2.5% 139 1.8% 141 1.9% 856 0.8% 1,616 1.3%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple40 16.7% 5,691 75.3% 5,644 75.1% 33,104 31.7% 48,360 37.6%
Drupal\Core\Entity\EntityManager::getStorageController40 16.7% 810 10.7% 851 11.3% 74,040 70.9% 71,968 56.0%
Drupal::entityManager40 16.7% 314 4.2% 359 4.8% 808 0.8% 4,384 3.4%
Drupal\user\Entity\Role::hasPermission40 16.7% 139 1.8% 169 2.2% 3,864 3.7% 0 0.0%
Drupal\Core\Session\UserSession::getRoles40 16.7% 24 0.3% 56 0.7% 864 0.8% 616 0.5%
Drupal\Core\Session\UserSession::id40 16.7% 17 0.2% 66 0.9% 824 0.8% 736 0.6%