Run Report
Run #52f5cb9d4924f: 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,119 2.2% 6,919 2.3% 409,672 1.3% 418,192 1.4%
Exclusive Metrics for Current Function351 4.9% 246 3.6% -600 -0.1% 3,272 0.8%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.0% 3,199 44.9% 2,972 43.0% 398,640 97.3% 400,288 95.7%
user_access7 28.0% 1,104 15.5% 1,107 16.0% 1,136 0.3% 5,608 1.3%
Drupal\user\Access\PermissionAccessCheck::access3 12.0% 567 8.0% 571 8.3% 984 0.2% 0 0.0%
rdf_preprocess_node2 8.0% 347 4.9% 349 5.0% 904 0.2% 0 0.0%
shortcut_set_edit_access2 8.0% 335 4.7% 337 4.9% 912 0.2% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements2 8.0% 320 4.5% 321 4.6% 968 0.2% 3,888 0.9%
template_preprocess_username2 8.0% 317 4.5% 320 4.6% 912 0.2% 2,144 0.5%
Drupal\node\Plugin\Search\NodeSearch::access1 4.0% 185 2.6% 186 2.7% 880 0.2% 2,280 0.5%
user_template_preprocess_default_variables_alter1 4.0% 162 2.3% 165 2.4% 888 0.2% 2,456 0.6%
Drupal\search\Plugin\Block\SearchBlock::access1 4.0% 154 2.2% 156 2.3% 880 0.2% 1,528 0.4%
contextual_page_build1 4.0% 150 2.1% 152 2.2% 856 0.2% 0 0.0%
edit_page_build1 4.0% 140 2.0% 142 2.1% 856 0.2% 0 0.0%
tour_preprocess_page1 4.0% 139 2.0% 141 2.0% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple25 16.7% 6,082 85.4% 5,877 84.9% 356,904 87.1% 363,352 86.9%
Drupal\Core\Entity\EntityManager::getStorageController25 16.7% 371 5.2% 392 5.7% 46,552 11.4% 45,328 10.8%
Drupal::entityManager25 16.7% 219 3.1% 239 3.5% 1,952 0.5% 3,368 0.8%
Drupal\user\Entity\Role::hasPermission25 16.7% 74 1.0% 94 1.4% 3,144 0.8% 1,440 0.3%
Drupal\Core\Session\UserSession::getRoles25 16.7% 12 0.2% 34 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%