Run Report
Run #52c96ba78d568: 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::hasPermission24 13.6% 6,084 4.9% 6,009 5.2% 417,368 3.6% 378,888 3.2%
Exclusive Metrics for Current Function312 5.1% 211 3.5% -3,032 -0.7% 2,760 0.7%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.2% 2,091 34.4% 1,994 33.2% 408,528 97.9% 352,960 93.2%
user_access10 41.7% 1,663 27.3% 1,672 27.8% 1,280 0.3% 14,216 3.8%
Drupal\user\Access\PermissionAccessCheck::access4 16.7% 791 13.0% 795 13.2% 1,032 0.2% 3,040 0.8%
Drupal\filter\FilterFormatAccessController::checkAccess3 12.5% 513 8.4% 518 8.6% 2,168 0.5% 2,560 0.7%
shortcut_set_edit_access2 8.3% 365 6.0% 366 6.1% 912 0.2% 2,912 0.8%
Drupal\search\Plugin\Block\SearchBlock::access1 4.2% 174 2.9% 175 2.9% 880 0.2% 1,504 0.4%
contextual_page_build1 4.2% 170 2.8% 171 2.8% 856 0.2% 0 0.0%
tour_preprocess_page1 4.2% 160 2.6% 160 2.7% 856 0.2% 1,696 0.4%
edit_page_build1 4.2% 157 2.6% 158 2.6% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 4,740 77.9% 4,660 77.6% 289,096 69.3% 299,448 79.0%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 672 11.0% 695 11.6% 124,536 29.8% 72,888 19.2%
Drupal::entityManager24 16.7% 272 4.5% 296 4.9% 1,952 0.5% 1,440 0.4%
Drupal\user\Entity\Role::hasPermission24 16.7% 74 1.2% 88 1.5% 3,096 0.7% 1,616 0.4%
Drupal\Core\Session\UserSession::getRoles24 16.7% 8 0.1% 31 0.5% 864 0.2% 736 0.2%
Drupal\Core\Session\UserSession::id24 16.7% 6 0.1% 28 0.5% 856 0.2% 0 0.0%