Run Report
Run #52c2691acb42f: 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% 15,182 1.1% 15,096 1.1% 1,029,496 3.3% 1,035,384 3.2%
Exclusive Metrics for Current Function465 3.1% 338 2.2% -4,368 -0.4% 3,288 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access11 40.7% 11,436 75.3% 11,327 75.0% 1,021,024 99.2% 1,014,928 98.0%
user_access7 25.9% 1,634 10.8% 1,641 10.9% 1,136 0.1% 11,184 1.1%
shortcut_set_edit_access2 7.4% 428 2.8% 431 2.9% 912 0.1% 3,344 0.3%
Drupal\views\ViewsAccessCheck::access2 7.4% 403 2.7% 407 2.7% 920 0.1% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 3.7% 388 2.6% 391 2.6% 2,056 0.2% 4,272 0.4%
contextual_page_build1 3.7% 285 1.9% 286 1.9% 856 0.1% 0 0.0%
edit_page_build1 3.7% 209 1.4% 211 1.4% 856 0.1% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access1 3.7% 202 1.3% 204 1.4% 880 0.1% 0 0.0%
tour_preprocess_page1 3.7% 197 1.3% 198 1.3% 856 0.1% 1,656 0.2%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple27 16.7% 10,824 71.3% 10,821 71.7% 573,256 55.7% 574,648 55.5%
Drupal\Core\Entity\EntityManager::getStorageController27 16.7% 3,245 21.4% 3,192 21.1% 453,848 44.1% 451,568 43.6%
Drupal::entityManager27 16.7% 452 3.0% 479 3.2% 1,904 0.2% 2,736 0.3%
Drupal\user\Entity\Role::hasPermission27 16.7% 151 1.0% 173 1.1% 3,200 0.3% 1,616 0.2%
Drupal\Core\Session\UserSession::id27 16.7% 27 0.2% 49 0.3% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles27 16.7% 18 0.1% 44 0.3% 832 0.1% 752 0.1%