Run Report
Run #52c642960e9a6: 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::hasPermission98 14.1% 20,484 1.8% 20,471 1.8% 749,384 3.4% 785,192 3.5%
Exclusive Metrics for Current Function1,339 6.5% 1,070 5.2% -23,768 -3.2% 36,296 4.6%
Parent functions
user_access51 52.0% 9,261 45.2% 9,311 45.5% 3,248 0.4% 17,752 2.3%
rdf_preprocess_node30 30.6% 5,299 25.9% 5,331 26.0% 2,248 0.3% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access7 7.1% 4,210 20.6% 3,937 19.2% 720,120 96.1% 722,688 92.0%
Drupal\views\ViewsAccessCheck::access3 3.1% 515 2.5% 687 3.4% 18,528 2.5% 36,968 4.7%
shortcut_set_edit_access2 2.0% 350 1.7% 351 1.7% 912 0.1% 3,176 0.4%
Drupal\user\Theme\AdminNegotiator::applies1 1.0% 190 0.9% 190 0.9% 880 0.1% 2,952 0.4%
Drupal\search\Plugin\Block\SearchBlock::access1 1.0% 172 0.8% 173 0.8% 880 0.1% 0 0.0%
contextual_page_build1 1.0% 170 0.8% 172 0.8% 856 0.1% 0 0.0%
edit_page_build1 1.0% 159 0.8% 160 0.8% 856 0.1% 0 0.0%
tour_preprocess_page1 1.0% 158 0.8% 159 0.8% 856 0.1% 1,656 0.2%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple98 16.7% 15,848 77.4% 15,845 77.4% 327,776 43.7% 306,016 39.0%
Drupal\Core\Entity\EntityManager::getStorageController98 16.7% 1,858 9.1% 1,762 8.6% 435,056 58.1% 436,264 55.6%
Drupal::entityManager98 16.7% 1,021 5.0% 1,120 5.5% 1,952 0.3% 3,488 0.4%
Drupal\user\Entity\Role::hasPermission98 16.7% 299 1.5% 392 1.9% 6,648 0.9% 1,616 0.2%
Drupal\Core\Session\UserSession::id98 16.7% 65 0.3% 148 0.7% 856 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles98 16.7% 54 0.3% 134 0.7% 864 0.1% 736 0.1%