Run Report
Run #52d3e93cb560e: 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,682 4.7% 7,620 5.0% 155,472 1.1% 172,808 1.2%
Exclusive Metrics for Current Function453 5.9% 303 4.0% -8,680 -5.6% 3,504 2.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access10 28.6% 3,350 43.6% 3,266 42.9% 147,736 95.0% 148,008 85.6%
user_access17 48.6% 2,902 37.8% 2,914 38.2% 1,616 1.0% 18,608 10.8%
shortcut_set_edit_access2 5.7% 360 4.7% 361 4.7% 912 0.6% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 2.9% 202 2.6% 203 2.7% 880 0.6% 1,840 1.1%
Drupal\user\Theme\AdminNegotiator::applies1 2.9% 200 2.6% 202 2.7% 880 0.6% 2,848 1.6%
Drupal\search\Plugin\Block\SearchBlock::access1 2.9% 176 2.3% 178 2.3% 880 0.6% 1,504 0.9%
contextual_page_build1 2.9% 172 2.2% 174 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% 161 2.1% 856 0.6% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple35 16.7% 5,933 77.2% 5,869 77.0% 83,736 53.9% 91,776 53.1%
Drupal\Core\Entity\EntityManager::getStorageController35 16.7% 749 9.8% 782 10.3% 74,264 47.8% 72,536 42.0%
Drupal::entityManager35 16.7% 410 5.3% 443 5.8% 808 0.5% 2,128 1.2%
Drupal\user\Entity\Role::hasPermission35 16.7% 111 1.4% 138 1.8% 3,624 2.3% 1,472 0.9%
Drupal\Core\Session\UserSession::getRoles35 16.7% 13 0.2% 41 0.5% 864 0.6% 616 0.4%
Drupal\Core\Session\UserSession::id35 16.7% 13 0.2% 44 0.6% 856 0.6% 776 0.4%