Run Report
Run #523f527beec76: 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,549 3.4% 16,854 3.6% 1,247,000 3.8% 1,249,496 3.8%
Exclusive Metrics for Current Function658 3.7% 469 2.8% -12,936 -1.0% 2,792 0.2%
Parent functions
user_access33 78.6% 15,920 90.7% 15,209 90.2% 1,240,056 99.4% 1,249,496 100.0%
shortcut_set_edit_access2 4.8% 397 2.3% 401 2.4% 912 0.1% 0 0.0%
shortcut_set_switch_access1 2.4% 205 1.2% 207 1.2% 864 0.1% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 2.4% 199 1.1% 201 1.2% 896 0.1% 0 0.0%
contextual_toolbar1 2.4% 181 1.0% 182 1.1% 856 0.1% 0 0.0%
tour_toolbar1 2.4% 173 1.0% 175 1.0% 848 0.1% 0 0.0%
contextual_page_build1 2.4% 163 0.9% 165 1.0% 856 0.1% 0 0.0%
tour_preprocess_page1 2.4% 159 0.9% 160 0.9% 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,550 54.4% 9,392 55.7% 485,032 38.9% 474,992 38.0%
Drupal\Core\Entity\EntityManager::getStorageController42 16.7% 3,877 22.1% 3,361 19.9% 501,720 40.2% 502,040 40.2%
Drupal::entityManager42 16.7% 3,113 17.7% 3,155 18.7% 267,504 21.5% 266,656 21.3%
Drupal\user\Entity\Role::hasPermission42 16.7% 303 1.7% 336 2.0% 3,960 0.3% 1,616 0.1%
Drupal\Core\Session\UserSession::id42 16.7% 28 0.2% 76 0.5% 856 0.1% 648 0.1%
Drupal\Core\Session\UserSession::getRoles42 16.7% 20 0.1% 65 0.4% 864 0.1% 752 0.1%