Run Report
Run #52fbc0cc9fd3e: 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::hasPermission72 14.0% 19,124 2.5% 18,856 2.5% 881,608 5.2% 893,816 5.2%
Exclusive Metrics for Current Function1,003 5.2% 761 4.0% -26,808 -3.0% 2,432 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access60 83.3% 16,646 87.0% 16,361 86.8% 873,680 99.1% 879,472 98.4%
user_access3 4.2% 613 3.2% 617 3.3% 944 0.1% 3,328 0.4%
Drupal\views\ViewsAccessCheck::access2 2.8% 397 2.1% 400 2.1% 920 0.1% 0 0.0%
shortcut_set_switch_access1 1.4% 254 1.3% 256 1.4% 864 0.1% 2,928 0.3%
Drupal\user\Theme\AdminNegotiator::applies1 1.4% 210 1.1% 212 1.1% 880 0.1% 3,416 0.4%
user_template_preprocess_default_variables_alter1 1.4% 207 1.1% 209 1.1% 888 0.1% 3,352 0.4%
shortcut_set_edit_access1 1.4% 205 1.1% 206 1.1% 864 0.1% 0 0.0%
tour_preprocess_page1 1.4% 204 1.1% 205 1.1% 856 0.1% 0 0.0%
contextual_page_build1 1.4% 197 1.0% 198 1.1% 856 0.1% 640 0.1%
edit_page_build1 1.4% 191 1.0% 192 1.0% 856 0.1% 680 0.1%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple72 16.7% 13,706 71.7% 13,623 72.2% 243,760 27.6% 230,272 25.8%
Drupal\Core\Entity\EntityManager::getStorageController72 16.7% 2,927 15.3% 2,821 15.0% 655,584 74.4% 655,728 73.4%
Drupal::entityManager72 16.7% 863 4.5% 915 4.9% 1,952 0.2% 3,904 0.4%
Drupal\user\Entity\Role::hasPermission72 16.7% 481 2.5% 530 2.8% 5,400 0.6% 0 0.0%
Drupal\Core\Session\UserSession::getRoles72 16.7% 72 0.4% 97 0.5% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id72 16.7% 72 0.4% 109 0.6% 856 0.1% 776 0.1%