Run Report
Run #5329a4926554c: XHProf Run (Namespace=drupal-perf-fabianx)
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::hasPermission147 14.2% 45,276 3.2% 44,815 3.3% 854,984 3.7% 876,104 3.8%
Exclusive Metrics for Current Function2,527 5.6% 1,909 4.3% -63,912 -7.5% 2,664 0.3%
Parent functions
user_access76 51.7% 19,424 42.9% 19,496 43.5% 4,448 0.5% 15,512 1.8%
Drupal\user\Access\PermissionAccessCheck::access5 3.4% 9,296 20.5% 8,666 19.3% 838,344 98.1% 847,528 96.7%
template_preprocess_username28 19.0% 7,010 15.5% 7,049 15.7% 2,160 0.3% 1,848 0.2%
rdf_preprocess_node28 19.0% 6,947 15.3% 6,983 15.6% 2,152 0.3% 0 0.0%
shortcut_set_edit_access2 1.4% 504 1.1% 507 1.1% 912 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 0.7% 293 0.6% 296 0.7% 888 0.1% 3,168 0.4%
tour_preprocess_page1 0.7% 278 0.6% 279 0.6% 856 0.1% 536 0.1%
Drupal\node\Plugin\Search\NodeSearch::access1 0.7% 278 0.6% 280 0.6% 880 0.1% 1,864 0.2%
Drupal\views\ViewsAccessCheck::access1 0.7% 267 0.6% 269 0.6% 872 0.1% 2,928 0.3%
Drupal\user\Theme\AdminNegotiator::applies1 0.7% 250 0.6% 254 0.6% 880 0.1% 2,720 0.3%
contextual_page_build1 0.7% 246 0.5% 249 0.6% 856 0.1% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 0.7% 243 0.5% 244 0.5% 880 0.1% 0 0.0%
edit_page_build1 0.7% 240 0.5% 243 0.5% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple147 16.7% 34,140 75.4% 33,913 75.7% 262,728 30.7% 223,168 25.5%
Drupal\Core\Entity\EntityManager::getStorageController147 16.7% 5,645 12.5% 5,543 12.4% 643,496 75.3% 643,992 73.5%
Drupal::entityManager147 16.7% 1,972 4.4% 2,104 4.7% 1,952 0.2% 4,768 0.5%
Drupal\user\Entity\Role::hasPermission147 16.7% 698 1.5% 823 1.8% 9,000 1.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles147 16.7% 147 0.3% 265 0.6% 864 0.1% 736 0.1%
Drupal\Core\Session\UserSession::id147 16.7% 147 0.3% 258 0.6% 856 0.1% 776 0.1%