Run Report
Run #52c962cbedbff: 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::hasPermission34 13.8% 7,085 2.7% 7,011 2.8% 98,272 0.5% 115,536 0.6%
Exclusive Metrics for Current Function462 6.5% 312 4.5% -6,520 -6.6% 3,112 2.7%
Parent functions
user_access15 44.1% 3,502 49.4% 3,405 48.6% 88,088 89.6% 99,184 85.8%
Drupal\user\Access\PermissionAccessCheck::access6 17.6% 1,213 17.1% 1,220 17.4% 1,128 1.1% 0 0.0%
Drupal\filter\FilterFormatAccessController::checkAccess3 8.8% 542 7.6% 545 7.8% 992 1.0% 2,256 2.0%
path_form_node_form_alter2 5.9% 384 5.4% 387 5.5% 912 0.9% 2,328 2.0%
shortcut_set_edit_access2 5.9% 369 5.2% 372 5.3% 848 0.9% 2,088 1.8%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 194 2.7% 195 2.8% 1,992 2.0% 4,096 3.5%
menu_form_node_form_alter1 2.9% 194 2.7% 195 2.8% 864 0.9% 2,680 2.3%
contextual_page_build1 2.9% 177 2.5% 179 2.6% 856 0.9% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 175 2.5% 177 2.5% 880 0.9% 1,296 1.1%
tour_preprocess_page1 2.9% 170 2.4% 170 2.4% 856 0.9% 1,608 1.4%
edit_page_build1 2.9% 165 2.3% 166 2.4% 856 0.9% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 5,759 81.3% 5,680 81.0% 69,744 71.0% 77,632 67.2%
Drupal::entityManager34 16.7% 397 5.6% 428 6.1% 1,856 1.9% 3,184 2.8%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 318 4.5% 354 5.0% 27,896 28.4% 28,984 25.1%
Drupal\user\Entity\Role::hasPermission34 16.7% 114 1.6% 145 2.1% 3,576 3.6% 1,232 1.1%
Drupal\Core\Session\UserSession::getRoles34 16.7% 20 0.3% 47 0.7% 864 0.9% 616 0.5%
Drupal\Core\Session\UserSession::id34 16.7% 15 0.2% 45 0.6% 856 0.9% 776 0.7%