Run Report
Run #52f30aadf2c65: 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% 20,501 3.4% 20,368 3.4% 1,404,488 3.4% 1,419,656 3.4%
Exclusive Metrics for Current Function613 3.0% 457 2.2% -6,272 -0.4% 3,840 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access4 10.8% 12,042 58.7% 11,865 58.3% 1,393,080 99.2% 1,394,656 98.2%
user_access15 40.5% 3,747 18.3% 3,767 18.5% 1,520 0.1% 12,848 0.9%
Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::access6 16.2% 1,541 7.5% 1,548 7.6% 1,136 0.1% 384 0.0%
Drupal\views\ViewsAccessCheck::access3 8.1% 706 3.4% 710 3.5% 968 0.1% 200 0.0%
user_template_preprocess_default_variables_alter1 2.7% 339 1.7% 341 1.7% 888 0.1% 3,592 0.3%
edit_page_build1 2.7% 306 1.5% 306 1.5% 856 0.1% 160 0.0%
shortcut_set_edit_access1 2.7% 277 1.4% 279 1.4% 864 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.7% 265 1.3% 267 1.3% 880 0.1% 3,376 0.2%
template_preprocess_username1 2.7% 262 1.3% 264 1.3% 864 0.1% 2,072 0.1%
shortcut_set_switch_access1 2.7% 258 1.3% 259 1.3% 864 0.1% 2,208 0.2%
tour_preprocess_page1 2.7% 253 1.2% 254 1.2% 856 0.1% 0 0.0%
rdf_preprocess_node1 2.7% 253 1.2% 255 1.3% 856 0.1% 0 0.0%
contextual_page_build1 2.7% 252 1.2% 253 1.2% 856 0.1% 160 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple37 16.7% 12,703 62.0% 12,662 62.2% 417,184 29.7% 423,952 29.9%
Drupal\Core\Entity\EntityManager::getStorageController37 16.7% 6,446 31.4% 6,379 31.3% 986,336 70.2% 985,392 69.4%
Drupal::entityManager37 16.7% 408 2.0% 445 2.2% 1,904 0.1% 3,520 0.2%
Drupal\user\Entity\Role::hasPermission37 16.7% 267 1.3% 297 1.5% 3,680 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::getRoles37 16.7% 32 0.2% 50 0.2% 832 0.1% 704 0.0%
Drupal\Core\Session\UserSession::id37 16.7% 32 0.2% 78 0.4% 824 0.1% 776 0.1%