Diff Report
Run #538e3b37c1a66: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #538e3ac0de109: 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 #538e3b37c1a66Run #538e3ac0de109DiffDiff%
Number of Function Calls57 57 0 0.0%
Incl. Wall Time (microsec)11,071 11,204 133 1.2%
Incl. Wall Time (microsec) per call 194 197 2 1.2%
Excl. Wall Time (microsec)781 752 -29 -3.7%
Incl. CPU (microsecs)10,980 11,114 134 1.2%
Incl. CPU (microsecs) per call 193 195 2 1.2%
Excl. CPU (microsec)530 507 -23 -4.3%
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,728 169,624 -104 -0.1%
Incl. PeakMemUse (bytes) per call 2,978 2,976 -2 -0.1%
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% 133 3.1% 134 3.6% 0 0.0% -104 -0.1%
Exclusive Metrics Diff for Current Function-29 -21.8% -23 -17.2% 0 N/A% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 133 100.0% 134 100.0% 0 N/A% -104 -100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 155 116.5% 152 113.4% 0 N/A% 16 15.4%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -20 -15.0% -22 -16.4% 0 N/A% -120 -115.4%
Drupal::entityManager0 N/A% 11 8.3% 11 8.2% 0 N/A% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 9 6.8% 15 11.2% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 4 3.0% 7 5.2% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 2.3% -6 -4.5% 0 N/A% 0 0.0%