Run Report
Run #523f52fbabfcb: 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,281 3.4% 16,628 3.6% 1,247,000 3.8% 1,249,496 3.8%
Exclusive Metrics for Current Function652 3.8% 428 2.6% -12,936 -1.0% 2,792 0.2%
Parent functions
user_access33 78.6% 15,694 90.8% 15,024 90.4% 1,240,056 99.4% 1,249,496 100.0%
shortcut_set_edit_access2 4.8% 380 2.2% 384 2.3% 912 0.1% 0 0.0%
shortcut_set_switch_access1 2.4% 193 1.1% 195 1.2% 864 0.1% 0 0.0%
contextual_toolbar1 2.4% 182 1.1% 184 1.1% 856 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.4% 182 1.1% 185 1.1% 896 0.1% 0 0.0%
tour_toolbar1 2.4% 177 1.0% 179 1.1% 848 0.1% 0 0.0%
tour_preprocess_page1 2.4% 164 0.9% 165 1.0% 856 0.1% 0 0.0%
contextual_page_build1 2.4% 157 0.9% 158 1.0% 856 0.1% 0 0.0%
edit_page_build1 2.4% 152 0.9% 154 0.9% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple42 16.7% 9,518 55.1% 9,303 55.9% 485,032 38.9% 474,992 38.0%
Drupal\Core\Entity\EntityManager::getStorageController42 16.7% 3,696 21.4% 3,302 19.9% 501,720 40.2% 502,040 40.2%
Drupal::entityManager42 16.7% 3,067 17.7% 3,114 18.7% 267,504 21.5% 266,656 21.3%
Drupal\user\Entity\Role::hasPermission42 16.7% 304 1.8% 342 2.1% 3,960 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::getRoles42 16.7% 22 0.1% 64 0.4% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id42 16.7% 22 0.1% 75 0.5% 856 0.1% 648 0.1%