Run Report
Run #52c877c4869fd: 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::hasPermission22 13.5% 6,485 4.2% 6,408 4.4% 416,000 2.7% 374,504 2.4%
Exclusive Metrics for Current Function285 4.4% 184 2.9% -2,008 -0.5% 2,048 0.5%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 4.5% 2,777 42.8% 2,679 41.8% 407,320 97.9% 351,688 93.9%
user_access8 36.4% 1,363 21.0% 1,369 21.4% 1,184 0.3% 11,176 3.0%
Drupal\user\Access\PermissionAccessCheck::access4 18.2% 798 12.3% 803 12.5% 1,032 0.2% 2,920 0.8%
Drupal\filter\FilterFormatAccessController::checkAccess3 13.6% 518 8.0% 520 8.1% 2,168 0.5% 2,568 0.7%
shortcut_set_edit_access2 9.1% 368 5.7% 370 5.8% 848 0.2% 2,952 0.8%
Drupal\search\Plugin\Block\SearchBlock::access1 4.5% 173 2.7% 175 2.7% 880 0.2% 1,504 0.4%
contextual_page_build1 4.5% 170 2.6% 171 2.7% 856 0.2% 0 0.0%
tour_preprocess_page1 4.5% 159 2.5% 160 2.5% 856 0.2% 1,696 0.5%
edit_page_build1 4.5% 159 2.5% 161 2.5% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple22 16.7% 4,991 77.0% 4,910 76.6% 287,152 69.0% 291,984 78.0%
Drupal\Core\Entity\EntityManager::getStorageController22 16.7% 882 13.6% 902 14.1% 124,248 29.9% 77,608 20.7%
Drupal::entityManager22 16.7% 250 3.9% 269 4.2% 1,888 0.5% 1,248 0.3%
Drupal\user\Entity\Role::hasPermission22 16.7% 62 1.0% 81 1.3% 3,000 0.7% 1,616 0.4%
Drupal\Core\Session\UserSession::getRoles22 16.7% 8 0.1% 29 0.5% 864 0.2% 0 0.0%
Drupal\Core\Session\UserSession::id22 16.7% 7 0.1% 33 0.5% 856 0.2% 0 0.0%