Run Report
Run #523c58bd29e4d: 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::hasPermission31 13.7% 14,986 4.0% 14,280 4.2% 740,840 5.4% 758,064 5.5%
Exclusive Metrics for Current Function572 3.8% 438 3.1% -9,072 -1.2% 2,848 0.4%
Parent functions
user_access25 80.6% 13,432 89.6% 12,718 89.1% 736,464 99.4% 753,672 99.4%
shortcut_set_edit_access2 6.5% 542 3.6% 544 3.8% 912 0.1% 2,664 0.4%
tour_preprocess_page1 3.2% 274 1.8% 275 1.9% 856 0.1% 1,728 0.2%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.2% 260 1.7% 263 1.8% 896 0.1% 0 0.0%
contextual_page_build1 3.2% 241 1.6% 242 1.7% 856 0.1% 0 0.0%
edit_page_build1 3.2% 237 1.6% 238 1.7% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple31 16.7% 8,856 59.1% 8,648 60.6% 264,088 35.6% 271,552 35.8%
Drupal\Core\Entity\EntityManager::getStorageController31 16.7% 3,085 20.6% 2,622 18.4% 357,504 48.3% 358,760 47.3%
Drupal::entityManager31 16.7% 2,134 14.2% 2,164 15.2% 123,168 16.6% 121,976 16.1%
Drupal\user\Entity\Role::hasPermission31 16.7% 211 1.4% 232 1.6% 3,432 0.5% 1,616 0.2%
Drupal\Core\Session\UserSession::getRoles31 16.7% 64 0.4% 91 0.6% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id31 16.7% 64 0.4% 85 0.6% 856 0.1% 560 0.1%