Run Report
Run #5230a98f3b26c: 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::hasPermission41 13.9% 21,977 5.2% 21,346 5.4% 1,312,808 3.6% 1,342,856 3.7%
Exclusive Metrics for Current Function717 3.3% 570 2.7% -14,008 -1.1% 3,168 0.2%
Parent functions
user_access34 82.9% 20,174 91.8% 19,530 91.5% 1,307,576 99.6% 1,337,360 99.6%
shortcut_set_edit_access2 4.9% 543 2.5% 547 2.6% 912 0.1% 3,840 0.3%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.4% 285 1.3% 286 1.3% 896 0.1% 0 0.0%
search_is_active1 2.4% 263 1.2% 265 1.2% 856 0.1% 0 0.0%
contextual_page_build1 2.4% 240 1.1% 242 1.1% 856 0.1% 0 0.0%
tour_preprocess_page1 2.4% 237 1.1% 239 1.1% 856 0.1% 1,656 0.1%
edit_page_build1 2.4% 235 1.1% 237 1.1% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple41 16.7% 12,212 55.6% 12,073 56.6% 477,648 36.4% 490,472 36.5%
Drupal\Core\Entity\EntityManager::getStorageController41 16.7% 4,417 20.1% 3,961 18.6% 518,200 39.5% 519,024 38.7%
Drupal::entityManager41 16.7% 4,189 19.1% 4,227 19.8% 325,336 24.8% 327,824 24.4%
Drupal\user\Entity\Role::hasPermission41 16.7% 272 1.2% 290 1.4% 3,912 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id41 16.7% 87 0.4% 118 0.6% 856 0.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles41 16.7% 83 0.4% 107 0.5% 864 0.1% 752 0.1%