Run Report
Run #52c2677cc22b0: 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::hasPermission27 13.6% 17,692 1.3% 17,614 1.3% 1,029,496 3.3% 1,035,384 3.2%
Exclusive Metrics for Current Function443 2.5% 328 1.9% -4,368 -0.4% 3,288 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access11 40.7% 14,166 80.1% 14,064 79.8% 1,021,024 99.2% 1,014,928 98.0%
user_access7 25.9% 1,659 9.4% 1,670 9.5% 1,136 0.1% 11,184 1.1%
shortcut_set_edit_access2 7.4% 428 2.4% 430 2.4% 912 0.1% 3,344 0.3%
Drupal\views\ViewsAccessCheck::access2 7.4% 405 2.3% 408 2.3% 920 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 3.7% 241 1.4% 243 1.4% 2,056 0.2% 4,272 0.4%
Drupal\search\Plugin\Block\SearchBlock::access1 3.7% 202 1.1% 203 1.2% 880 0.1% 0 0.0%
contextual_page_build1 3.7% 201 1.1% 203 1.2% 856 0.1% 0 0.0%
tour_preprocess_page1 3.7% 196 1.1% 197 1.1% 856 0.1% 1,656 0.2%
edit_page_build1 3.7% 194 1.1% 196 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple27 16.7% 11,143 63.0% 11,137 63.2% 573,256 55.7% 574,648 55.5%
Drupal\Core\Entity\EntityManager::getStorageController27 16.7% 5,520 31.2% 5,473 31.1% 453,848 44.1% 451,568 43.6%
Drupal::entityManager27 16.7% 413 2.3% 436 2.5% 1,904 0.2% 2,736 0.3%
Drupal\user\Entity\Role::hasPermission27 16.7% 131 0.7% 156 0.9% 3,200 0.3% 1,616 0.2%
Drupal\Core\Session\UserSession::id27 16.7% 22 0.1% 43 0.2% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles27 16.7% 20 0.1% 41 0.2% 832 0.1% 752 0.1%