Run Report
Run #52e48e674e7b6: XHProf Run (Namespace=drupal-perf-joelpittet)
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::hasPermission17 13.3% 8,668 2.6% 8,594 2.6% 438,584 1.7% 450,080 1.7%
Exclusive Metrics for Current Function291 3.4% 232 2.7% 1,384 0.3% 3,536 0.8%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 5.9% 5,208 60.1% 5,108 59.4% 430,432 98.1% 430,272 95.6%
Drupal\user\Access\PermissionAccessCheck::access4 23.5% 936 10.8% 943 11.0% 1,032 0.2% 3,920 0.9%
user_access4 23.5% 874 10.1% 882 10.3% 992 0.2% 5,176 1.2%
shortcut_set_edit_access2 11.8% 461 5.3% 463 5.4% 912 0.2% 2,672 0.6%
Drupal\node\Plugin\Search\NodeSearch::access1 5.9% 233 2.7% 234 2.7% 880 0.2% 2,040 0.5%
Drupal\search\Plugin\Block\SearchBlock::access1 5.9% 200 2.3% 202 2.4% 880 0.2% 1,520 0.3%
user_template_preprocess_default_variables_alter1 5.9% 200 2.3% 201 2.3% 888 0.2% 2,824 0.6%
contextual_page_build1 5.9% 188 2.2% 189 2.2% 856 0.2% 0 0.0%
tour_preprocess_page1 5.9% 188 2.2% 190 2.2% 856 0.2% 1,656 0.4%
edit_page_build1 5.9% 180 2.1% 182 2.1% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple17 16.7% 7,291 84.1% 7,206 83.8% 373,312 85.1% 383,752 85.3%
Drupal\Core\Entity\EntityManager::getStorageController17 16.7% 738 8.5% 751 8.7% 57,608 13.1% 57,288 12.7%
Drupal::entityManager17 16.7% 207 2.4% 219 2.5% 1,904 0.4% 3,592 0.8%
Drupal\user\Entity\Role::hasPermission17 16.7% 112 1.3% 126 1.5% 2,720 0.6% 776 0.2%
Drupal\Core\Session\UserSession::id17 16.7% 15 0.2% 31 0.4% 824 0.2% 432 0.1%
Drupal\Core\Session\UserSession::getRoles17 16.7% 14 0.2% 29 0.3% 832 0.2% 704 0.2%