Run Report
Run #52e4374042ace: XHProf Run (Namespace=drupal-perf-drupalcon)
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::hasPermission39 13.8% 7,677 2.9% 7,617 3.1% 163,472 0.9% 180,864 1.0%
Exclusive Metrics for Current Function541 7.0% 363 4.8% -7,680 -4.7% 3,864 2.1%
Parent functions
user_access21 53.8% 4,457 58.1% 4,375 57.4% 152,672 93.4% 163,488 90.4%
Drupal\filter\FilterFormatAccessController::checkAccess3 7.7% 508 6.6% 511 6.7% 992 0.6% 2,032 1.1%
Drupal\node\Access\NodeRevisionAccessCheck::checkAccess3 7.7% 459 6.0% 462 6.1% 992 0.6% 0 0.0%
shortcut_set_edit_access2 5.1% 393 5.1% 395 5.2% 912 0.6% 2,656 1.5%
Drupal\comment\Plugin\Field\FieldFormatter\CommentDefaultFormatter::viewElements2 5.1% 356 4.6% 359 4.7% 968 0.6% 2,800 1.5%
Drupal\user\Theme\AdminNegotiator::applies1 2.6% 224 2.9% 228 3.0% 880 0.5% 2,776 1.5%
user_template_preprocess_default_variables_alter1 2.6% 216 2.8% 217 2.8% 888 0.5% 2,280 1.3%
rdf_preprocess_node1 2.6% 209 2.7% 211 2.8% 856 0.5% 0 0.0%
Drupal\comment\CommentFormController::form1 2.6% 205 2.7% 206 2.7% 880 0.5% 0 0.0%
template_preprocess_username1 2.6% 179 2.3% 180 2.4% 864 0.5% 1,696 0.9%
tour_preprocess_page1 2.6% 171 2.2% 171 2.2% 856 0.5% 1,616 0.9%
contextual_page_build1 2.6% 154 2.0% 155 2.0% 856 0.5% 640 0.4%
edit_page_build1 2.6% 146 1.9% 147 1.9% 856 0.5% 880 0.5%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple39 16.7% 6,019 78.4% 5,949 78.1% 44,040 26.9% 50,120 27.7%
Drupal\Core\Entity\EntityManager::getStorageController39 16.7% 615 8.0% 658 8.6% 120,768 73.9% 120,488 66.6%
Drupal::entityManager39 16.7% 335 4.4% 373 4.9% 808 0.5% 3,448 1.9%
Drupal\user\Entity\Role::hasPermission39 16.7% 137 1.8% 166 2.2% 3,816 2.3% 1,472 0.8%
Drupal\Core\Session\UserSession::getRoles39 16.7% 16 0.2% 53 0.7% 864 0.5% 616 0.3%
Drupal\Core\Session\UserSession::id39 16.7% 14 0.2% 55 0.7% 856 0.5% 856 0.5%