Run Report
Run #530ad1a439784: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission30 13.7% 8,546 1.4% 8,538 1.4% 145,704 0.4% 160,208 0.4%
Exclusive Metrics for Current Function525 6.1% 361 4.2% -3,000 -2.1% 2,336 1.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access12 40.0% 4,490 52.5% 4,457 52.2% 135,040 92.7% 144,752 90.4%
user_access5 16.7% 1,136 13.3% 1,143 13.4% 1,040 0.7% 2,960 1.8%
shortcut_set_edit_access2 6.7% 485 5.7% 488 5.7% 912 0.6% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 6.7% 385 4.5% 386 4.5% 920 0.6% 0 0.0%
user_template_preprocess_default_variables_alter1 3.3% 273 3.2% 276 3.2% 888 0.6% 3,064 1.9%
Drupal\Core\Entity\EntityAccessController::checkAccess1 3.3% 270 3.2% 272 3.2% 888 0.6% 2,960 1.8%
tour_toolbar1 3.3% 244 2.9% 244 2.9% 848 0.6% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 3.3% 236 2.8% 237 2.8% 880 0.6% 2,824 1.8%
contextual_toolbar1 3.3% 227 2.7% 229 2.7% 856 0.6% 0 0.0%
contextual_page_build1 3.3% 210 2.5% 211 2.5% 856 0.6% 640 0.4%
shortcut_set_switch_access1 3.3% 203 2.4% 204 2.4% 864 0.6% 2,128 1.3%
edit_page_build1 3.3% 198 2.3% 200 2.3% 856 0.6% 880 0.5%
tour_preprocess_page1 3.3% 189 2.2% 191 2.2% 856 0.6% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple30 16.7% 5,935 69.4% 5,928 69.4% 43,488 29.8% 54,744 34.2%
Drupal\Core\Entity\EntityManager::getStorageController30 16.7% 1,428 16.7% 1,473 17.3% 98,312 67.5% 99,520 62.1%
Drupal::entityManager30 16.7% 352 4.1% 382 4.5% 1,904 1.3% 3,136 2.0%
Drupal\user\Entity\Role::hasPermission30 16.7% 260 3.0% 290 3.4% 3,344 2.3% 0 0.0%
Drupal\Core\Session\UserSession::getRoles30 16.7% 25 0.3% 54 0.6% 832 0.6% 328 0.2%
Drupal\Core\Session\UserSession::id30 16.7% 21 0.2% 50 0.6% 824 0.6% 144 0.1%