Run Report
Run #52e418f395327: 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,595 1.7% 7,559 1.8% 104,440 0.5% 128,640 0.7%
Exclusive Metrics for Current Function552 7.3% 379 5.0% -9,064 -8.7% 2,392 1.9%
Parent functions
user_access11 27.5% 1,720 22.6% 1,734 22.9% 1,328 1.3% 11,272 8.8%
template_preprocess_username10 25.0% 1,632 21.5% 1,643 21.7% 1,296 1.2% 2,928 2.3%
Drupal\user\Access\PermissionAccessCheck::access9 22.5% 1,555 20.5% 1,564 20.7% 1,272 1.2% 5,464 4.2%
Drupal\node\Plugin\Search\NodeSearch::access1 2.5% 1,243 16.4% 1,161 15.4% 93,528 89.6% 96,848 75.3%
shortcut_set_edit_access2 5.0% 323 4.3% 325 4.3% 912 0.9% 2,536 2.0%
user_template_preprocess_default_variables_alter1 2.5% 191 2.5% 193 2.6% 888 0.9% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::searchFormAlter1 2.5% 174 2.3% 175 2.3% 888 0.9% 3,096 2.4%
Drupal\user\Theme\AdminNegotiator::applies1 2.5% 171 2.3% 172 2.3% 880 0.8% 3,360 2.6%
Drupal\search\Plugin\Block\SearchBlock::access1 2.5% 152 2.0% 154 2.0% 880 0.8% 1,520 1.2%
contextual_page_build1 2.5% 152 2.0% 153 2.0% 856 0.8% 0 0.0%
tour_preprocess_page1 2.5% 142 1.9% 144 1.9% 856 0.8% 1,616 1.3%
edit_page_build1 2.5% 140 1.8% 141 1.9% 856 0.8% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple40 16.7% 5,743 75.6% 5,698 75.4% 33,104 31.7% 48,376 37.6%
Drupal\Core\Entity\EntityManager::getStorageController40 16.7% 798 10.5% 844 11.2% 74,040 70.9% 71,968 55.9%
Drupal::entityManager40 16.7% 323 4.3% 362 4.8% 808 0.8% 4,552 3.5%
Drupal\user\Entity\Role::hasPermission40 16.7% 138 1.8% 168 2.2% 3,864 3.7% 0 0.0%
Drupal\Core\Session\UserSession::getRoles40 16.7% 23 0.3% 54 0.7% 864 0.8% 616 0.5%
Drupal\Core\Session\UserSession::id40 16.7% 18 0.2% 54 0.7% 824 0.8% 736 0.6%