Run Report
Run #52f5c520502f0: 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,910 6.4% 11,526 6.4% 1,282,168 5.4% 1,298,960 5.4%
Exclusive Metrics for Current Function414 3.5% 290 2.5% -6,816 -0.5% 2,408 0.2%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access6 18.8% 8,013 67.3% 7,595 65.9% 1,273,544 99.3% 1,279,336 98.5%
user_access17 53.1% 2,449 20.6% 2,467 21.4% 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% 200 1.7% 202 1.8% 880 0.1% 2,280 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 3.1% 181 1.5% 182 1.6% 880 0.1% 3,280 0.3%
Drupal\search\Plugin\Block\SearchBlock::access1 3.1% 162 1.4% 165 1.4% 880 0.1% 1,768 0.1%
user_template_preprocess_default_variables_alter1 3.1% 158 1.3% 163 1.4% 888 0.1% 2,784 0.2%
contextual_page_build1 3.1% 149 1.3% 151 1.3% 856 0.1% 0 0.0%
edit_page_build1 3.1% 141 1.2% 142 1.2% 856 0.1% 0 0.0%
tour_preprocess_page1 3.1% 139 1.2% 139 1.2% 856 0.1% 616 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple32 16.7% 6,991 58.7% 6,809 59.1% 378,120 29.5% 387,696 29.8%
Drupal\Core\Entity\EntityManager::getStorageController32 16.7% 4,124 34.6% 3,935 34.1% 903,712 70.5% 903,384 69.5%
Drupal::entityManager32 16.7% 273 2.3% 300 2.6% 1,952 0.2% 3,992 0.3%
Drupal\user\Entity\Role::hasPermission32 16.7% 86 0.7% 110 1.0% 3,480 0.3% 0 0.0%
Drupal\Core\Session\UserSession::getRoles32 16.7% 12 0.1% 41 0.4% 864 0.1% 704 0.1%
Drupal\Core\Session\UserSession::id32 16.7% 10 0.1% 41 0.4% 856 0.1% 776 0.1%