Run Report
Run #52d3e812c7cf2: 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::hasPermission33 13.8% 10,471 6.5% 10,215 6.8% 830,136 5.8% 856,424 6.0%
Exclusive Metrics for Current Function430 4.1% 280 2.7% -7,656 -0.9% 3,856 0.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access8 24.2% 6,117 58.4% 5,836 57.1% 822,400 99.1% 826,104 96.5%
user_access17 51.5% 2,921 27.9% 2,936 28.7% 1,616 0.2% 19,976 2.3%
shortcut_set_edit_access2 6.1% 354 3.4% 356 3.5% 912 0.1% 2,496 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 3.0% 217 2.1% 220 2.2% 880 0.1% 1,840 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 3.0% 196 1.9% 197 1.9% 880 0.1% 2,848 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 3.0% 173 1.7% 174 1.7% 880 0.1% 1,504 0.2%
contextual_page_build1 3.0% 171 1.6% 173 1.7% 856 0.1% 0 0.0%
tour_preprocess_page1 3.0% 161 1.5% 162 1.6% 856 0.1% 1,656 0.2%
edit_page_build1 3.0% 161 1.5% 161 1.6% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple33 16.7% 6,745 64.4% 6,678 65.4% 285,792 34.4% 298,480 34.9%
Drupal\Core\Entity\EntityManager::getStorageController33 16.7% 2,772 26.5% 2,609 25.5% 544,800 65.6% 547,120 63.9%
Drupal::entityManager33 16.7% 394 3.8% 421 4.1% 1,952 0.2% 3,872 0.5%
Drupal\user\Entity\Role::hasPermission33 16.7% 103 1.0% 133 1.3% 3,528 0.4% 1,616 0.2%
Drupal\Core\Session\UserSession::getRoles33 16.7% 17 0.2% 47 0.5% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id33 16.7% 10 0.1% 47 0.5% 856 0.1% 776 0.1%