Run Report
Run #52f30b8747627: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission37 13.8% 24,156 4.0% 23,990 4.0% 1,404,496 3.4% 1,419,120 3.4%
Exclusive Metrics for Current Function612 2.5% 452 1.9% -6,272 -0.4% 3,840 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access4 10.8% 15,829 65.5% 15,615 65.1% 1,393,088 99.2% 1,394,504 98.3%
user_access15 40.5% 3,774 15.6% 3,795 15.8% 1,520 0.1% 12,848 0.9%
Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::access6 16.2% 1,511 6.3% 1,517 6.3% 1,136 0.1% 0 0.0%
Drupal\views\ViewsAccessCheck::access3 8.1% 725 3.0% 731 3.0% 968 0.1% 200 0.0%
user_template_preprocess_default_variables_alter1 2.7% 325 1.3% 327 1.4% 888 0.1% 3,592 0.3%
shortcut_set_switch_access1 2.7% 294 1.2% 296 1.2% 864 0.1% 2,208 0.2%
rdf_preprocess_node1 2.7% 267 1.1% 268 1.1% 856 0.1% 0 0.0%
template_preprocess_username1 2.7% 259 1.1% 261 1.1% 864 0.1% 2,072 0.1%
tour_preprocess_page1 2.7% 248 1.0% 250 1.0% 856 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.7% 245 1.0% 246 1.0% 880 0.1% 3,376 0.2%
shortcut_set_edit_access1 2.7% 234 1.0% 236 1.0% 864 0.1% 0 0.0%
contextual_page_build1 2.7% 229 0.9% 230 1.0% 856 0.1% 160 0.0%
edit_page_build1 2.7% 216 0.9% 218 0.9% 856 0.1% 160 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple37 16.7% 12,862 53.2% 12,800 53.4% 417,200 29.7% 423,496 29.8%
Drupal\Core\Entity\EntityManager::getStorageController37 16.7% 9,943 41.2% 9,869 41.1% 986,328 70.2% 985,312 69.4%
Drupal::entityManager37 16.7% 407 1.7% 440 1.8% 1,904 0.1% 3,520 0.2%
Drupal\user\Entity\Role::hasPermission37 16.7% 267 1.1% 293 1.2% 3,680 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles37 16.7% 34 0.1% 65 0.3% 832 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id37 16.7% 31 0.1% 71 0.3% 824 0.1% 776 0.1%