Run Report
Run #52f5cb0964fa0: 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::hasPermission25 13.6% 7,108 2.2% 6,917 2.2% 409,672 1.3% 418,192 1.4%
Exclusive Metrics for Current Function349 4.9% 245 3.5% -600 -0.1% 3,272 0.8%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.0% 3,168 44.6% 2,946 42.6% 398,640 97.3% 400,288 95.7%
user_access7 28.0% 1,106 15.6% 1,117 16.1% 1,136 0.3% 5,608 1.3%
Drupal\user\Access\PermissionAccessCheck::access3 12.0% 577 8.1% 580 8.4% 984 0.2% 0 0.0%
rdf_preprocess_node2 8.0% 348 4.9% 349 5.0% 904 0.2% 0 0.0%
shortcut_set_edit_access2 8.0% 337 4.7% 339 4.9% 912 0.2% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements2 8.0% 323 4.5% 325 4.7% 968 0.2% 3,888 0.9%
template_preprocess_username2 8.0% 319 4.5% 322 4.7% 912 0.2% 2,144 0.5%
Drupal\node\Plugin\Search\NodeSearch::access1 4.0% 184 2.6% 185 2.7% 880 0.2% 2,280 0.5%
user_template_preprocess_default_variables_alter1 4.0% 160 2.3% 162 2.3% 888 0.2% 2,456 0.6%
Drupal\search\Plugin\Block\SearchBlock::access1 4.0% 155 2.2% 157 2.3% 880 0.2% 1,528 0.4%
contextual_page_build1 4.0% 150 2.1% 151 2.2% 856 0.2% 0 0.0%
edit_page_build1 4.0% 141 2.0% 143 2.1% 856 0.2% 0 0.0%
tour_preprocess_page1 4.0% 140 2.0% 141 2.0% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple25 16.7% 6,067 85.4% 5,862 84.7% 356,904 87.1% 363,352 86.9%
Drupal\Core\Entity\EntityManager::getStorageController25 16.7% 377 5.3% 407 5.9% 46,552 11.4% 45,328 10.8%
Drupal::entityManager25 16.7% 219 3.1% 240 3.5% 1,952 0.5% 3,368 0.8%
Drupal\user\Entity\Role::hasPermission25 16.7% 73 1.0% 91 1.3% 3,144 0.8% 1,440 0.3%
Drupal\Core\Session\UserSession::getRoles25 16.7% 13 0.2% 35 0.5% 864 0.2% 704 0.2%
Drupal\Core\Session\UserSession::id25 16.7% 10 0.1% 37 0.5% 856 0.2% 728 0.2%