Run Report
Run #52d4b1d6bf728: 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,829 4.1% 11,787 4.3% 156,640 0.9% 170,504 1.0%
Exclusive Metrics for Current Function761 6.4% 510 4.3% -21,480 -13.7% 3,408 2.0%
Parent functions
user_access42 70.0% 7,163 60.6% 7,198 61.1% 2,816 1.8% 16,408 9.6%
Drupal\user\Access\PermissionAccessCheck::access10 16.7% 3,278 27.7% 3,194 27.1% 147,704 94.3% 147,904 86.7%
shortcut_set_edit_access2 3.3% 356 3.0% 358 3.0% 912 0.6% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 1.7% 194 1.6% 195 1.7% 880 0.6% 1,840 1.1%
Drupal\user\Theme\AdminNegotiator::applies1 1.7% 188 1.6% 188 1.6% 880 0.6% 2,848 1.7%
Drupal\search\Plugin\Block\SearchBlock::access1 1.7% 170 1.4% 171 1.5% 880 0.6% 1,504 0.9%
contextual_page_build1 1.7% 168 1.4% 169 1.4% 856 0.5% 0 0.0%
tour_preprocess_page1 1.7% 156 1.3% 157 1.3% 856 0.5% 0 0.0%
edit_page_build1 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,386 79.3% 9,350 79.3% 96,512 61.6% 90,072 52.8%
Drupal\Core\Entity\EntityManager::getStorageController60 16.7% 813 6.9% 856 7.3% 74,256 47.4% 72,416 42.5%
Drupal::entityManager60 16.7% 658 5.6% 701 5.9% 808 0.5% 1,744 1.0%
Drupal\user\Entity\Role::hasPermission60 16.7% 177 1.5% 221 1.9% 4,824 3.1% 1,472 0.9%
Drupal\Core\Session\UserSession::getRoles60 16.7% 18 0.2% 75 0.6% 864 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id60 16.7% 16 0.1% 74 0.6% 856 0.5% 776 0.5%