Run Report
Run #52c8778fefb2b: 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::hasPermission22 13.5% 6,555 4.3% 6,478 4.4% 416,000 2.7% 374,504 2.4%
Exclusive Metrics for Current Function289 4.4% 192 3.0% -2,008 -0.5% 2,048 0.5%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.5% 2,810 42.9% 2,713 41.9% 407,320 97.9% 351,688 93.9%
user_access8 36.4% 1,373 20.9% 1,377 21.3% 1,184 0.3% 11,176 3.0%
Drupal\user\Access\PermissionAccessCheck::access4 18.2% 804 12.3% 809 12.5% 1,032 0.2% 2,920 0.8%
Drupal\filter\FilterFormatAccessController::checkAccess3 13.6% 521 7.9% 525 8.1% 2,168 0.5% 2,568 0.7%
shortcut_set_edit_access2 9.1% 368 5.6% 370 5.7% 848 0.2% 2,952 0.8%
Drupal\search\Plugin\Block\SearchBlock::access1 4.5% 190 2.9% 191 2.9% 880 0.2% 1,504 0.4%
contextual_page_build1 4.5% 170 2.6% 171 2.6% 856 0.2% 0 0.0%
tour_preprocess_page1 4.5% 160 2.4% 161 2.5% 856 0.2% 1,696 0.5%
edit_page_build1 4.5% 159 2.4% 161 2.5% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple22 16.7% 5,052 77.1% 4,975 76.8% 287,152 69.0% 291,984 78.0%
Drupal\Core\Entity\EntityManager::getStorageController22 16.7% 889 13.6% 905 14.0% 124,248 29.9% 77,608 20.7%
Drupal::entityManager22 16.7% 249 3.8% 267 4.1% 1,888 0.5% 1,248 0.3%
Drupal\user\Entity\Role::hasPermission22 16.7% 63 1.0% 78 1.2% 3,000 0.7% 1,616 0.4%
Drupal\Core\Session\UserSession::getRoles22 16.7% 7 0.1% 26 0.4% 864 0.2% 0 0.0%
Drupal\Core\Session\UserSession::id22 16.7% 6 0.1% 35 0.5% 856 0.2% 0 0.0%