Run Report
Run #52e49d4d3a1f8: 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::hasPermission48 13.9% 20,580 4.2% 20,483 4.2% 1,308,696 4.1% 1,317,320 4.1%
Exclusive Metrics for Current Function751 3.6% 566 2.8% -14,720 -1.1% 3,888 0.3%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access35 72.9% 17,791 86.4% 17,670 86.3% 1,300,696 99.4% 1,299,800 98.7%
user_access4 8.3% 843 4.1% 849 4.1% 992 0.1% 4,400 0.3%
shortcut_set_edit_access2 4.2% 454 2.2% 457 2.2% 912 0.1% 2,672 0.2%
Drupal\user\Theme\AdminNegotiator::applies1 2.1% 262 1.3% 264 1.3% 880 0.1% 3,000 0.2%
Drupal\search\Plugin\Block\SearchBlock::access1 2.1% 239 1.2% 241 1.2% 880 0.1% 2,584 0.2%
Drupal\node\Plugin\Search\NodeSearch::access1 2.1% 235 1.1% 237 1.2% 880 0.1% 2,040 0.2%
tour_preprocess_page1 2.1% 194 0.9% 195 1.0% 856 0.1% 0 0.0%
contextual_page_build1 2.1% 192 0.9% 194 0.9% 856 0.1% 0 0.0%
user_template_preprocess_default_variables_alter1 2.1% 190 0.9% 195 1.0% 888 0.1% 2,824 0.2%
edit_page_build1 2.1% 180 0.9% 181 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple48 16.7% 12,521 60.8% 12,472 60.9% 390,288 29.8% 382,648 29.0%
Drupal\Core\Entity\EntityManager::getStorageController48 16.7% 6,382 31.0% 6,365 31.1% 925,360 70.7% 924,056 70.1%
Drupal::entityManager48 16.7% 542 2.6% 584 2.9% 1,904 0.1% 3,776 0.3%
Drupal\user\Entity\Role::hasPermission48 16.7% 299 1.5% 336 1.6% 4,208 0.3% 1,472 0.1%
Drupal\Core\Session\UserSession::id48 16.7% 47 0.2% 86 0.4% 824 0.1% 776 0.1%
Drupal\Core\Session\UserSession::getRoles48 16.7% 38 0.2% 74 0.4% 832 0.1% 704 0.1%