Run Report
Run #53051cfc70167: 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::hasPermission59 14.0% 17,323 4.7% 17,020 4.9% 929,696 4.3% 961,864 4.4%
Exclusive Metrics for Current Function882 5.1% 667 3.9% -17,680 -1.9% 3,904 0.4%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access7 11.9% 6,400 36.9% 6,040 35.5% 917,376 98.7% 924,272 96.1%
user_access30 50.8% 6,260 36.1% 6,287 36.9% 2,240 0.2% 21,032 2.2%
template_preprocess_username5 8.5% 1,070 6.2% 1,077 6.3% 1,056 0.1% 1,592 0.2%
rdf_preprocess_node5 8.5% 1,051 6.1% 1,058 6.2% 1,048 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access3 5.1% 624 3.6% 628 3.7% 968 0.1% 3,184 0.3%
shortcut_set_edit_access2 3.4% 422 2.4% 423 2.5% 912 0.1% 336 0.0%
user_template_preprocess_default_variables_alter1 1.7% 233 1.3% 234 1.4% 888 0.1% 3,216 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 1.7% 221 1.3% 222 1.3% 880 0.1% 2,264 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 1.7% 217 1.3% 219 1.3% 880 0.1% 3,240 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 1.7% 215 1.2% 217 1.3% 880 0.1% 1,464 0.2%
contextual_page_build1 1.7% 207 1.2% 208 1.2% 856 0.1% 0 0.0%
tour_preprocess_page1 1.7% 202 1.2% 203 1.2% 856 0.1% 1,264 0.1%
edit_page_build1 1.7% 201 1.2% 204 1.2% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple59 16.7% 12,282 70.9% 12,171 71.5% 219,920 23.7% 230,832 24.0%
Drupal\Core\Entity\EntityManager::getStorageController59 16.7% 3,089 17.8% 2,952 17.3% 719,008 77.3% 718,912 74.7%
Drupal::entityManager59 16.7% 708 4.1% 753 4.4% 1,952 0.2% 5,264 0.5%
Drupal\user\Entity\Role::hasPermission59 16.7% 244 1.4% 287 1.7% 4,776 0.5% 1,472 0.2%
Drupal\Core\Session\UserSession::getRoles59 16.7% 59 0.3% 96 0.6% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id59 16.7% 59 0.3% 94 0.6% 856 0.1% 776 0.1%