Run Report
Run #52f5c574bebaf: 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::hasPermission32 13.7% 11,765 6.3% 11,382 6.4% 1,282,112 5.4% 1,299,432 5.4%
Exclusive Metrics for Current Function420 3.6% 283 2.5% -6,816 -0.5% 2,408 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access6 18.8% 7,876 66.9% 7,463 65.6% 1,273,488 99.3% 1,279,280 98.4%
user_access17 53.1% 2,448 20.8% 2,465 21.7% 1,616 0.1% 8,896 0.7%
shortcut_set_edit_access2 6.2% 318 2.7% 320 2.8% 912 0.1% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access1 3.1% 181 1.5% 183 1.6% 880 0.1% 2,280 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 3.1% 178 1.5% 180 1.6% 880 0.1% 3,280 0.3%
user_template_preprocess_default_variables_alter1 3.1% 173 1.5% 175 1.5% 888 0.1% 3,312 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 3.1% 161 1.4% 163 1.4% 880 0.1% 1,768 0.1%
contextual_page_build1 3.1% 150 1.3% 151 1.3% 856 0.1% 0 0.0%
tour_preprocess_page1 3.1% 140 1.2% 141 1.2% 856 0.1% 616 0.0%
edit_page_build1 3.1% 140 1.2% 141 1.2% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple32 16.7% 7,014 59.6% 6,823 59.9% 378,160 29.5% 388,320 29.9%
Drupal\Core\Entity\EntityManager::getStorageController32 16.7% 3,965 33.7% 3,790 33.3% 903,616 70.5% 903,232 69.5%
Drupal::entityManager32 16.7% 269 2.3% 297 2.6% 1,952 0.2% 3,992 0.3%
Drupal\user\Entity\Role::hasPermission32 16.7% 81 0.7% 110 1.0% 3,480 0.3% 0 0.0%
Drupal\Core\Session\UserSession::getRoles32 16.7% 10 0.1% 37 0.3% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id32 16.7% 6 0.1% 42 0.4% 856 0.1% 776 0.1%