Run Report
Run #52e48ec52134e: 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,445 2.5% 8,399 2.5% 438,584 1.7% 450,080 1.7%
Exclusive Metrics for Current Function299 3.5% 225 2.7% 1,384 0.3% 3,536 0.8%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies1 5.9% 4,946 58.6% 4,873 58.0% 430,432 98.1% 430,272 95.6%
Drupal\user\Access\PermissionAccessCheck::access4 23.5% 931 11.0% 937 11.2% 1,032 0.2% 3,920 0.9%
user_access4 23.5% 857 10.1% 865 10.3% 992 0.2% 5,176 1.2%
shortcut_set_edit_access2 11.8% 479 5.7% 481 5.7% 912 0.2% 2,672 0.6%
Drupal\node\Plugin\Search\NodeSearch::access1 5.9% 259 3.1% 260 3.1% 880 0.2% 2,040 0.5%
user_template_preprocess_default_variables_alter1 5.9% 204 2.4% 206 2.5% 888 0.2% 2,824 0.6%
Drupal\search\Plugin\Block\SearchBlock::access1 5.9% 200 2.4% 202 2.4% 880 0.2% 1,520 0.3%
tour_preprocess_page1 5.9% 193 2.3% 196 2.3% 856 0.2% 1,656 0.4%
edit_page_build1 5.9% 189 2.2% 190 2.3% 856 0.2% 0 0.0%
contextual_page_build1 5.9% 187 2.2% 189 2.3% 856 0.2% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple17 16.7% 7,071 83.7% 7,015 83.5% 373,312 85.1% 383,752 85.3%
Drupal\Core\Entity\EntityManager::getStorageController17 16.7% 728 8.6% 745 8.9% 57,608 13.1% 57,288 12.7%
Drupal::entityManager17 16.7% 206 2.4% 220 2.6% 1,904 0.4% 3,592 0.8%
Drupal\user\Entity\Role::hasPermission17 16.7% 112 1.3% 134 1.6% 2,720 0.6% 776 0.2%
Drupal\Core\Session\UserSession::id17 16.7% 15 0.2% 28 0.3% 824 0.2% 432 0.1%
Drupal\Core\Session\UserSession::getRoles17 16.7% 14 0.2% 32 0.4% 832 0.2% 704 0.2%