Run Report
Run #52c96b69a1c07: 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,006 4.9% 5,932 5.2% 417,368 3.6% 378,888 3.2%
Exclusive Metrics for Current Function316 5.3% 213 3.6% -3,032 -0.7% 2,760 0.7%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.2% 2,018 33.6% 1,922 32.4% 408,528 97.9% 352,960 93.2%
user_access10 41.7% 1,668 27.8% 1,676 28.3% 1,280 0.3% 14,216 3.8%
Drupal\user\Access\PermissionAccessCheck::access4 16.7% 753 12.5% 758 12.8% 1,032 0.2% 3,040 0.8%
Drupal\filter\FilterFormatAccessController::checkAccess3 12.5% 547 9.1% 550 9.3% 2,168 0.5% 2,560 0.7%
shortcut_set_edit_access2 8.3% 361 6.0% 363 6.1% 912 0.2% 2,912 0.8%
Drupal\search\Plugin\Block\SearchBlock::access1 4.2% 173 2.9% 175 3.0% 880 0.2% 1,504 0.4%
contextual_page_build1 4.2% 168 2.8% 169 2.8% 856 0.2% 0 0.0%
tour_preprocess_page1 4.2% 160 2.7% 160 2.7% 856 0.2% 1,696 0.4%
edit_page_build1 4.2% 158 2.6% 159 2.7% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 4,697 78.2% 4,618 77.8% 289,096 69.3% 299,448 79.0%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 616 10.3% 633 10.7% 124,536 29.8% 72,888 19.2%
Drupal::entityManager24 16.7% 294 4.9% 318 5.4% 1,952 0.5% 1,440 0.4%
Drupal\user\Entity\Role::hasPermission24 16.7% 73 1.2% 91 1.5% 3,096 0.7% 1,616 0.4%
Drupal\Core\Session\UserSession::getRoles24 16.7% 7 0.1% 29 0.5% 864 0.2% 736 0.2%
Drupal\Core\Session\UserSession::id24 16.7% 3 0.0% 30 0.5% 856 0.2% 0 0.0%