Run Report
Run #52d4b590e6e18: 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% 10,614 6.5% 10,314 6.8% 830,184 5.7% 859,328 5.9%
Exclusive Metrics for Current Function433 4.1% 275 2.7% -8,168 -1.0% 3,944 0.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access8 23.5% 6,164 58.1% 5,835 56.6% 822,400 99.1% 826,272 96.2%
user_access18 52.9% 3,056 28.8% 3,074 29.8% 1,664 0.2% 22,712 2.6%
shortcut_set_edit_access2 5.9% 348 3.3% 351 3.4% 912 0.1% 2,496 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 2.9% 198 1.9% 199 1.9% 880 0.1% 1,840 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 195 1.8% 199 1.9% 880 0.1% 2,848 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 170 1.6% 171 1.7% 880 0.1% 1,504 0.2%
contextual_page_build1 2.9% 169 1.6% 170 1.6% 856 0.1% 0 0.0%
tour_preprocess_page1 2.9% 158 1.5% 158 1.5% 856 0.1% 1,656 0.2%
edit_page_build1 2.9% 156 1.5% 157 1.5% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple34 16.7% 6,772 63.8% 6,687 64.8% 286,296 34.5% 301,288 35.1%
Drupal\Core\Entity\EntityManager::getStorageController34 16.7% 2,909 27.4% 2,712 26.3% 544,808 65.6% 547,128 63.7%
Drupal::entityManager34 16.7% 376 3.5% 412 4.0% 1,952 0.2% 3,872 0.5%
Drupal\user\Entity\Role::hasPermission34 16.7% 96 0.9% 124 1.2% 3,576 0.4% 1,616 0.2%
Drupal\Core\Session\UserSession::id34 16.7% 15 0.1% 53 0.5% 856 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles34 16.7% 13 0.1% 51 0.5% 864 0.1% 704 0.1%