Run Report
Run #520840a963a54: 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::hasPermission24 13.6% 7,637 2.8% 6,839 2.8% 725,032 5.2% 724,616 5.1%
Exclusive Metrics for Current Function383 5.0% 248 3.6% -9,576 -1.3% 2,096 0.3%
Parent function
user_access24 100.0% 7,637 100.0% 6,839 100.0% 725,032 100.0% 724,616 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple24 16.7% 4,352 57.0% 4,132 60.4% 265,512 36.6% 259,120 35.8%
Drupal\Core\Entity\EntityManager::getStorageController24 16.7% 1,970 25.8% 1,424 20.8% 339,104 46.8% 340,440 47.0%
Drupal::entityManager24 16.7% 820 10.7% 848 12.4% 125,152 17.3% 120,640 16.6%
Drupal\user\Plugin\Core\Entity\Role::hasPermission24 16.7% 89 1.2% 118 1.7% 3,120 0.4% 1,568 0.2%
Drupal\Core\Session\UserSession::id24 16.7% 16 0.2% 36 0.5% 856 0.1% 0 0.0%
Drupal\Core\Session\UserSession::getRoles24 16.7% 7 0.1% 33 0.5% 864 0.1% 752 0.1%