Run Report
Run #5240420daae43: XHProf Run (Namespace=drupal-perf-cottser)
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::hasPermission67 14.0% 23,604 4.6% 23,010 4.8% 742,008 4.1% 778,200 4.3%
Exclusive Metrics for Current Function1,180 5.0% 895 3.9% -28,352 -3.8% 3,384 0.4%
Parent functions
user_access62 92.5% 22,373 94.8% 21,773 94.6% 738,528 99.5% 772,832 99.3%
shortcut_set_edit_access2 3.0% 533 2.3% 534 2.3% 912 0.1% 3,712 0.5%
contextual_page_build1 1.5% 234 1.0% 236 1.0% 856 0.1% 0 0.0%
tour_preprocess_page1 1.5% 234 1.0% 235 1.0% 856 0.1% 1,656 0.2%
edit_page_build1 1.5% 230 1.0% 232 1.0% 856 0.1% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple67 16.7% 15,803 67.0% 15,629 67.9% 287,472 38.7% 294,808 37.9%
Drupal\Core\Entity\EntityManager::getStorageController67 16.7% 3,044 12.9% 2,702 11.7% 352,464 47.5% 353,488 45.4%
Drupal::entityManager67 16.7% 2,880 12.2% 2,927 12.7% 123,544 16.6% 123,592 15.9%
Drupal\user\Entity\Role::hasPermission67 16.7% 443 1.9% 482 2.1% 5,160 0.7% 1,616 0.2%
Drupal\Core\Session\UserSession::id67 16.7% 138 0.6% 192 0.8% 856 0.1% 560 0.1%
Drupal\Core\Session\UserSession::getRoles67 16.7% 116 0.5% 183 0.8% 864 0.1% 752 0.1%