Diff Report
Run #535139ab6e707: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #53513a6d2163d: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #535139ab6e707Run #53513a6d2163dDiffDiff%
Number of Function Calls507 507 0 0.0%
Incl. Wall Time (microsec)80,877 80,753 -124 -0.2%
Incl. Wall Time (microsec) per call 160 159 -0 -0.2%
Excl. Wall Time (microsec)6,368 6,605 237 3.7%
Incl. CPU (microsecs)81,167 80,840 -327 -0.4%
Incl. CPU (microsecs) per call 160 159 -1 -0.4%
Excl. CPU (microsec)4,234 4,231 -3 -0.1%
Incl. MemUse (bytes)156,120 156,120 0 0.0%
Incl. MemUse (bytes) per call 308 308 0 0.0%
Excl. MemUse (bytes)-301,496 -301,496 0 0.0%
Incl. PeakMemUse (bytes)317,848 317,848 0 0.0%
Incl. PeakMemUse (bytes) per call 627 627 0 0.0%
Excl. PeakMemUse (bytes)2,352 2,352 0 0.0%

Parent/Child Regression/Improvement report for Drupal\Core\Session\UserSession::hasPermission [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\UserSession::hasPermission0 N/A% -124 -4.7% -327 -11.7% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function237 191.1% -3 -0.9% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -124 -100.0% -327 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple0 N/A% -303 -244.4% -294 -89.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -62 -50.0% 1 0.3% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -42 -33.9% -55 -16.8% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 26 21.0% 22 6.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 11 8.9% -6 -1.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 9 7.3% 8 2.4% 0 N/A% 0 N/A%