Run Report
Run #526a229a83670: 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::hasPermission28 13.7% 14,106 5.3% 13,454 5.6% 678,608 5.3% 695,400 5.4%
Exclusive Metrics for Current Function458 3.2% 338 2.5% -4,664 -0.7% 2,144 0.3%
Parent functions
user_access19 67.9% 12,008 85.1% 11,339 84.3% 671,680 99.0% 687,328 98.8%
shortcut_set_edit_access2 7.1% 477 3.4% 480 3.6% 912 0.1% 4,456 0.6%
shortcut_set_switch_access1 3.6% 264 1.9% 266 2.0% 848 0.1% 0 0.0%
contextual_toolbar1 3.6% 248 1.8% 249 1.9% 856 0.1% 0 0.0%
contextual_page_build1 3.6% 242 1.7% 244 1.8% 856 0.1% 968 0.1%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest1 3.6% 229 1.6% 231 1.7% 896 0.1% 0 0.0%
tour_preprocess_page1 3.6% 224 1.6% 226 1.7% 856 0.1% 0 0.0%
tour_toolbar1 3.6% 216 1.5% 218 1.6% 848 0.1% 0 0.0%
edit_page_build1 3.6% 198 1.4% 201 1.5% 856 0.1% 2,648 0.4%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple28 16.7% 9,692 68.7% 9,285 69.0% 322,040 47.5% 336,344 48.4%
Drupal\Core\Entity\EntityManager::getStorageController28 16.7% 3,240 23.0% 3,024 22.5% 354,288 52.2% 352,912 50.7%
Drupal::entityManager28 16.7% 446 3.2% 466 3.5% 1,936 0.3% 2,600 0.4%
Drupal\user\Entity\Role::hasPermission28 16.7% 220 1.6% 242 1.8% 3,288 0.5% 0 0.0%
Drupal\Core\Session\UserSession::getRoles28 16.7% 25 0.2% 51 0.4% 864 0.1% 752 0.1%
Drupal\Core\Session\UserSession::id28 16.7% 25 0.2% 48 0.4% 856 0.1% 648 0.1%