Diff Report
Run #538e3af7e977d: 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 #538e3af7e977dRun #538e3ac0de109DiffDiff%
Number of Function Calls57 57 0 0.0%
Incl. Wall Time (microsec)11,136 11,204 68 0.6%
Incl. Wall Time (microsec) per call 195 197 1 0.6%
Excl. Wall Time (microsec)753 752 -1 -0.1%
Incl. CPU (microsecs)11,045 11,114 69 0.6%
Incl. CPU (microsecs) per call 194 195 1 0.6%
Excl. CPU (microsec)488 507 19 3.9%
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 Function-1 -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%