Run Report
Run #52d3e964b719c: 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::hasPermission35 13.8% 7,704 4.7% 7,644 5.0% 155,472 1.1% 172,808 1.2%
Exclusive Metrics for Current Function460 6.0% 291 3.8% -8,680 -5.6% 3,504 2.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access10 28.6% 3,366 43.7% 3,284 43.0% 147,736 95.0% 148,008 85.6%
user_access17 48.6% 2,904 37.7% 2,919 38.2% 1,616 1.0% 18,608 10.8%
shortcut_set_edit_access2 5.7% 364 4.7% 366 4.8% 912 0.6% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 203 2.6% 204 2.7% 880 0.6% 2,848 1.6%
Drupal\node\Plugin\Search\NodeSearch::access1 2.9% 200 2.6% 201 2.6% 880 0.6% 1,840 1.1%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 175 2.3% 175 2.3% 880 0.6% 1,504 0.9%
contextual_page_build1 2.9% 172 2.2% 172 2.3% 856 0.6% 0 0.0%
tour_preprocess_page1 2.9% 160 2.1% 161 2.1% 856 0.6% 0 0.0%
edit_page_build1 2.9% 160 2.1% 162 2.1% 856 0.6% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple35 16.7% 5,957 77.3% 5,902 77.2% 83,736 53.9% 91,776 53.1%
Drupal\Core\Entity\EntityManager::getStorageController35 16.7% 737 9.6% 774 10.1% 74,264 47.8% 72,536 42.0%
Drupal::entityManager35 16.7% 408 5.3% 436 5.7% 808 0.5% 2,128 1.2%
Drupal\user\Entity\Role::hasPermission35 16.7% 110 1.4% 136 1.8% 3,624 2.3% 1,472 0.9%
Drupal\Core\Session\UserSession::getRoles35 16.7% 16 0.2% 50 0.7% 864 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id35 16.7% 16 0.2% 55 0.7% 856 0.6% 776 0.4%