Run Report
Run #52d4b1f732b14: 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::hasPermission60 14.0% 11,879 4.1% 11,847 4.4% 156,640 0.9% 170,560 1.0%
Exclusive Metrics for Current Function768 6.5% 511 4.3% -21,480 -13.7% 3,408 2.0%
Parent functions
user_access42 70.0% 7,181 60.5% 7,223 61.0% 2,816 1.8% 16,464 9.7%
Drupal\user\Access\PermissionAccessCheck::access10 16.7% 3,297 27.8% 3,217 27.2% 147,704 94.3% 147,904 86.7%
shortcut_set_edit_access2 3.3% 356 3.0% 357 3.0% 912 0.6% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 1.7% 197 1.7% 197 1.7% 880 0.6% 1,840 1.1%
Drupal\user\Theme\AdminNegotiator::applies1 1.7% 195 1.6% 196 1.7% 880 0.6% 2,848 1.7%
contextual_page_build1 1.7% 171 1.4% 172 1.5% 856 0.5% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 1.7% 168 1.4% 169 1.4% 880 0.6% 1,504 0.9%
edit_page_build1 1.7% 158 1.3% 159 1.3% 856 0.5% 0 0.0%
tour_preprocess_page1 1.7% 156 1.3% 157 1.3% 856 0.5% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple60 16.7% 9,442 79.5% 9,405 79.4% 96,512 61.6% 90,128 52.8%
Drupal\Core\Entity\EntityManager::getStorageController60 16.7% 805 6.8% 862 7.3% 74,256 47.4% 72,416 42.5%
Drupal::entityManager60 16.7% 649 5.5% 704 5.9% 808 0.5% 1,744 1.0%
Drupal\user\Entity\Role::hasPermission60 16.7% 177 1.5% 215 1.8% 4,824 3.1% 1,472 0.9%
Drupal\Core\Session\UserSession::getRoles60 16.7% 19 0.2% 78 0.7% 864 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id60 16.7% 19 0.2% 72 0.6% 856 0.5% 776 0.5%