Diff Report
Run #538e3ac0de109: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #538e3af7e977d: 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 #538e3ac0de109Run #538e3af7e977dDiffDiff%
Number of Function Calls57 57 0 0.0%
Incl. Wall Time (microsec)11,204 11,136 -68 -0.6%
Incl. Wall Time (microsec) per call 197 195 -1 -0.6%
Excl. Wall Time (microsec)752 753 1 0.1%
Incl. CPU (microsecs)11,114 11,045 -69 -0.6%
Incl. CPU (microsecs) per call 195 194 -1 -0.6%
Excl. CPU (microsec)507 488 -19 -3.7%
Incl. MemUse (bytes)137,856 137,856 0 0.0%
Incl. MemUse (bytes) per call 2,419 2,419 0 0.0%
Excl. MemUse (bytes)-31,496 -31,496 0 0.0%
Incl. PeakMemUse (bytes)169,624 169,624 0 0.0%
Incl. PeakMemUse (bytes) per call 2,976 2,976 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% -68 -9.3% -69 -9.0% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function1 1.5% -19 -27.5% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -68 -100.0% -69 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -26 -38.2% -20 -29.0% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -23 -33.8% -26 -37.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -9 -13.2% -1 -1.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -5 -7.4% 3 4.3% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -4 -5.9% -6 -8.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -2 -2.9% 0 0.0% 0 N/A% 0 N/A%