Run Report
Run #52e4189e0e4fe: 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,563 1.7% 7,525 1.8% 104,440 0.5% 128,456 0.7%
Exclusive Metrics for Current Function545 7.2% 387 5.1% -9,064 -8.7% 2,392 1.9%
Parent functions
user_access11 27.5% 1,721 22.8% 1,733 23.0% 1,328 1.3% 11,272 8.8%
template_preprocess_username10 25.0% 1,614 21.3% 1,625 21.6% 1,296 1.2% 2,928 2.3%
Drupal\user\Access\PermissionAccessCheck::access9 22.5% 1,549 20.5% 1,562 20.8% 1,272 1.2% 5,472 4.3%
Drupal\node\Plugin\Search\NodeSearch::access1 2.5% 1,247 16.5% 1,163 15.5% 93,528 89.6% 96,832 75.4%
shortcut_set_edit_access2 5.0% 318 4.2% 320 4.3% 912 0.9% 2,536 2.0%
user_template_preprocess_default_variables_alter1 2.5% 187 2.5% 188 2.5% 888 0.9% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::searchFormAlter1 2.5% 173 2.3% 174 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.0% 157 2.1% 880 0.8% 1,520 1.2%
contextual_page_build1 2.5% 153 2.0% 154 2.0% 856 0.8% 0 0.0%
edit_page_build1 2.5% 140 1.9% 141 1.9% 856 0.8% 0 0.0%
tour_preprocess_page1 2.5% 139 1.8% 140 1.9% 856 0.8% 1,616 1.3%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple40 16.7% 5,718 75.6% 5,663 75.3% 33,104 31.7% 48,360 37.6%
Drupal\Core\Entity\EntityManager::getStorageController40 16.7% 802 10.6% 851 11.3% 74,040 70.9% 71,968 56.0%
Drupal::entityManager40 16.7% 316 4.2% 352 4.7% 808 0.8% 4,384 3.4%
Drupal\user\Entity\Role::hasPermission40 16.7% 138 1.8% 164 2.2% 3,864 3.7% 0 0.0%
Drupal\Core\Session\UserSession::getRoles40 16.7% 25 0.3% 51 0.7% 864 0.8% 616 0.5%
Drupal\Core\Session\UserSession::id40 16.7% 19 0.3% 57 0.8% 824 0.8% 736 0.6%