Run Report
Run #52c8629919553: 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::hasPermission48 13.9% 12,606 5.4% 12,367 5.7% 748,744 4.3% 771,424 4.4%
Exclusive Metrics for Current Function621 4.9% 408 3.3% -12,920 -1.7% 3,832 0.5%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access16 33.3% 6,859 54.4% 6,587 53.3% 737,080 98.4% 739,136 95.8%
user_access17 35.4% 3,022 24.0% 3,033 24.5% 1,616 0.2% 20,264 2.6%
Drupal\views\ViewsAccessCheck::access5 10.4% 858 6.8% 864 7.0% 2,240 0.3% 3,936 0.5%
shortcut_set_edit_access2 4.2% 408 3.2% 412 3.3% 912 0.1% 2,104 0.3%
shortcut_set_switch_access1 2.1% 207 1.6% 208 1.7% 864 0.1% 1,720 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.1% 196 1.6% 198 1.6% 880 0.1% 3,056 0.4%
Drupal\search\Plugin\Block\SearchBlock::access1 2.1% 191 1.5% 192 1.6% 880 0.1% 1,208 0.2%
tour_toolbar1 2.1% 190 1.5% 192 1.6% 848 0.1% 0 0.0%
tour_preprocess_page1 2.1% 174 1.4% 176 1.4% 856 0.1% 0 0.0%
contextual_page_build1 2.1% 172 1.4% 174 1.4% 856 0.1% 0 0.0%
contextual_toolbar1 2.1% 171 1.4% 172 1.4% 856 0.1% 0 0.0%
edit_page_build1 2.1% 158 1.3% 159 1.3% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple48 16.7% 9,089 72.1% 9,044 73.1% 319,072 42.6% 324,784 42.1%
Drupal\Core\Entity\EntityManager::getStorageController48 16.7% 2,034 16.1% 1,882 15.2% 434,672 58.1% 436,216 56.5%
Drupal::entityManager48 16.7% 554 4.4% 604 4.9% 1,952 0.3% 3,464 0.4%
Drupal\user\Entity\Role::hasPermission48 16.7% 266 2.1% 299 2.4% 4,248 0.6% 1,616 0.2%
Drupal\Core\Session\UserSession::id48 16.7% 22 0.2% 63 0.5% 856 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 20 0.2% 67 0.5% 864 0.1% 736 0.1%