Run Report
Run #523f531e517da: 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::hasPermission42 13.9% 17,433 3.4% 16,750 3.6% 1,247,000 3.8% 1,252,336 3.8%
Exclusive Metrics for Current Function659 3.8% 451 2.7% -12,920 -1.0% 2,880 0.2%
Parent functions
user_access33 78.6% 15,815 90.7% 15,115 90.2% 1,240,056 99.4% 1,252,336 100.0%
shortcut_set_edit_access2 4.8% 376 2.2% 380 2.3% 912 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.4% 201 1.2% 202 1.2% 896 0.1% 0 0.0%
shortcut_set_switch_access1 2.4% 201 1.2% 202 1.2% 864 0.1% 0 0.0%
contextual_toolbar1 2.4% 200 1.1% 203 1.2% 856 0.1% 0 0.0%
contextual_page_build1 2.4% 166 1.0% 169 1.0% 856 0.1% 0 0.0%
tour_toolbar1 2.4% 165 0.9% 166 1.0% 848 0.1% 0 0.0%
tour_preprocess_page1 2.4% 158 0.9% 160 1.0% 856 0.1% 0 0.0%
edit_page_build1 2.4% 151 0.9% 153 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple42 16.7% 9,595 55.0% 9,348 55.8% 485,016 38.9% 477,672 38.1%
Drupal\Core\Entity\EntityManager::getStorageController42 16.7% 3,794 21.8% 3,395 20.3% 501,720 40.2% 502,040 40.1%
Drupal::entityManager42 16.7% 3,046 17.5% 3,086 18.4% 267,504 21.5% 266,728 21.3%
Drupal\user\Entity\Role::hasPermission42 16.7% 302 1.7% 342 2.0% 3,960 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::getRoles42 16.7% 19 0.1% 61 0.4% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id42 16.7% 18 0.1% 67 0.4% 856 0.1% 648 0.1%