Run Report
Run #52f5cbc19a0d8: 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,154 2.2% 6,966 2.3% 409,664 1.3% 419,128 1.4%
Exclusive Metrics for Current Function359 5.0% 242 3.5% -624 -0.2% 3,296 0.8%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.0% 3,187 44.5% 2,964 42.5% 398,632 97.3% 400,312 95.5%
user_access7 28.0% 1,105 15.4% 1,113 16.0% 1,136 0.3% 5,688 1.4%
Drupal\user\Access\PermissionAccessCheck::access3 12.0% 560 7.8% 565 8.1% 984 0.2% 0 0.0%
template_preprocess_username2 8.0% 352 4.9% 354 5.1% 912 0.2% 2,064 0.5%
rdf_preprocess_node2 8.0% 334 4.7% 338 4.9% 904 0.2% 0 0.0%
shortcut_set_edit_access2 8.0% 334 4.7% 338 4.9% 912 0.2% 0 0.0%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements2 8.0% 319 4.5% 322 4.6% 968 0.2% 3,888 0.9%
user_template_preprocess_default_variables_alter1 4.0% 192 2.7% 194 2.8% 888 0.2% 3,368 0.8%
Drupal\node\Plugin\Search\NodeSearch::access1 4.0% 183 2.6% 185 2.7% 880 0.2% 2,280 0.5%
Drupal\search\Plugin\Block\SearchBlock::access1 4.0% 155 2.2% 156 2.2% 880 0.2% 1,528 0.4%
contextual_page_build1 4.0% 152 2.1% 153 2.2% 856 0.2% 0 0.0%
tour_preprocess_page1 4.0% 141 2.0% 142 2.0% 856 0.2% 0 0.0%
edit_page_build1 4.0% 140 2.0% 142 2.0% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple25 16.7% 6,107 85.4% 5,899 84.7% 356,920 87.1% 364,064 86.9%
Drupal\Core\Entity\EntityManager::getStorageController25 16.7% 376 5.3% 405 5.8% 46,552 11.4% 45,328 10.8%
Drupal::entityManager25 16.7% 219 3.1% 245 3.5% 1,952 0.5% 3,536 0.8%
Drupal\user\Entity\Role::hasPermission25 16.7% 71 1.0% 94 1.3% 3,144 0.8% 1,472 0.4%
Drupal\Core\Session\UserSession::getRoles25 16.7% 13 0.2% 37 0.5% 864 0.2% 704 0.2%
Drupal\Core\Session\UserSession::id25 16.7% 9 0.1% 44 0.6% 856 0.2% 728 0.2%