Run Report
Run #530ad1ecad192: 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,423 1.4% 8,415 1.4% 145,704 0.4% 160,208 0.4%
Exclusive Metrics for Current Function510 6.1% 363 4.3% -3,000 -2.1% 2,336 1.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access12 40.0% 4,463 53.0% 4,431 52.7% 135,040 92.7% 144,752 90.4%
user_access5 16.7% 1,125 13.4% 1,129 13.4% 1,040 0.7% 2,960 1.8%
shortcut_set_edit_access2 6.7% 487 5.8% 489 5.8% 912 0.6% 0 0.0%
Drupal\views\ViewsAccessCheck::access2 6.7% 383 4.5% 386 4.6% 920 0.6% 0 0.0%
user_template_preprocess_default_variables_alter1 3.3% 287 3.4% 289 3.4% 888 0.6% 3,064 1.9%
Drupal\Core\Entity\EntityAccessController::checkAccess1 3.3% 262 3.1% 264 3.1% 888 0.6% 2,960 1.8%
Drupal\user\Theme\AdminNegotiator::applies1 3.3% 214 2.5% 216 2.6% 880 0.6% 2,824 1.8%
contextual_page_build1 3.3% 208 2.5% 209 2.5% 856 0.6% 640 0.4%
contextual_toolbar1 3.3% 206 2.4% 207 2.5% 856 0.6% 0 0.0%
tour_preprocess_page1 3.3% 203 2.4% 205 2.4% 856 0.6% 0 0.0%
shortcut_set_switch_access1 3.3% 202 2.4% 203 2.4% 864 0.6% 2,128 1.3%
edit_page_build1 3.3% 194 2.3% 196 2.3% 856 0.6% 880 0.5%
tour_toolbar1 3.3% 189 2.2% 191 2.3% 848 0.6% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple30 16.7% 5,813 69.0% 5,803 69.0% 43,488 29.8% 54,744 34.2%
Drupal\Core\Entity\EntityManager::getStorageController30 16.7% 1,452 17.2% 1,485 17.6% 98,312 67.5% 99,520 62.1%
Drupal::entityManager30 16.7% 354 4.2% 387 4.6% 1,904 1.3% 3,136 2.0%
Drupal\user\Entity\Role::hasPermission30 16.7% 248 2.9% 274 3.3% 3,344 2.3% 0 0.0%
Drupal\Core\Session\UserSession::getRoles30 16.7% 24 0.3% 54 0.6% 832 0.6% 328 0.2%
Drupal\Core\Session\UserSession::id30 16.7% 22 0.3% 49 0.6% 824 0.6% 144 0.1%