Run Report
Run #52d4b18f32fb6: 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,834 4.1% 11,795 4.3% 156,640 0.9% 170,504 1.0%
Exclusive Metrics for Current Function756 6.4% 494 4.2% -21,480 -13.7% 3,408 2.0%
Parent functions
user_access42 70.0% 7,177 60.6% 7,213 61.2% 2,816 1.8% 16,408 9.6%
Drupal\user\Access\PermissionAccessCheck::access10 16.7% 3,263 27.6% 3,181 27.0% 147,704 94.3% 147,904 86.7%
shortcut_set_edit_access2 3.3% 357 3.0% 357 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% 191 1.6% 192 1.6% 880 0.6% 2,848 1.7%
Drupal\search\Plugin\Block\SearchBlock::access1 1.7% 171 1.4% 173 1.5% 880 0.6% 1,504 0.9%
contextual_page_build1 1.7% 168 1.4% 168 1.4% 856 0.5% 0 0.0%
edit_page_build1 1.7% 157 1.3% 158 1.3% 856 0.5% 0 0.0%
tour_preprocess_page1 1.7% 156 1.3% 158 1.3% 856 0.5% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple60 16.7% 9,396 79.4% 9,361 79.4% 96,512 61.6% 90,072 52.8%
Drupal\Core\Entity\EntityManager::getStorageController60 16.7% 811 6.9% 856 7.3% 74,256 47.4% 72,416 42.5%
Drupal::entityManager60 16.7% 657 5.6% 710 6.0% 808 0.5% 1,744 1.0%
Drupal\user\Entity\Role::hasPermission60 16.7% 183 1.5% 221 1.9% 4,824 3.1% 1,472 0.9%
Drupal\Core\Session\UserSession::getRoles60 16.7% 18 0.2% 78 0.7% 864 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id60 16.7% 13 0.1% 75 0.6% 856 0.5% 776 0.5%