Run Report
Run #52d3e8415aec3: 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::hasPermission33 13.8% 10,363 6.5% 10,089 6.7% 830,136 5.8% 856,424 6.0%
Exclusive Metrics for Current Function434 4.2% 291 2.9% -7,656 -0.9% 3,856 0.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access8 24.2% 6,035 58.2% 5,740 56.9% 822,400 99.1% 826,104 96.5%
user_access17 51.5% 2,914 28.1% 2,927 29.0% 1,616 0.2% 19,976 2.3%
shortcut_set_edit_access2 6.1% 353 3.4% 354 3.5% 912 0.1% 2,496 0.3%
Drupal\node\Plugin\Search\NodeSearch::access1 3.0% 199 1.9% 201 2.0% 880 0.1% 1,840 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 3.0% 197 1.9% 198 2.0% 880 0.1% 2,848 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 3.0% 173 1.7% 174 1.7% 880 0.1% 1,504 0.2%
contextual_page_build1 3.0% 171 1.7% 172 1.7% 856 0.1% 0 0.0%
tour_preprocess_page1 3.0% 161 1.6% 162 1.6% 856 0.1% 1,656 0.2%
edit_page_build1 3.0% 160 1.5% 161 1.6% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple33 16.7% 6,704 64.7% 6,629 65.7% 285,792 34.4% 298,480 34.9%
Drupal\Core\Entity\EntityManager::getStorageController33 16.7% 2,710 26.2% 2,538 25.2% 544,800 65.6% 547,120 63.9%
Drupal::entityManager33 16.7% 389 3.8% 417 4.1% 1,952 0.2% 3,872 0.5%
Drupal\user\Entity\Role::hasPermission33 16.7% 100 1.0% 122 1.2% 3,528 0.4% 1,616 0.2%
Drupal\Core\Session\UserSession::getRoles33 16.7% 13 0.1% 49 0.5% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id33 16.7% 13 0.1% 43 0.4% 856 0.1% 776 0.1%