Diff Report
Run #5350e128cfd2b: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5350e1a85fcec: 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 #5350e128cfd2bRun #5350e1a85fcecDiffDiff%
Number of Function Calls394 394 0 0.0%
Incl. Wall Time (microsec)69,002 69,105 103 0.1%
Incl. Wall Time (microsec) per call 175 175 0 0.1%
Excl. Wall Time (microsec)4,892 4,881 -11 -0.2%
Incl. CPU (microsecs)68,853 68,961 108 0.2%
Incl. CPU (microsecs) per call 175 175 0 0.2%
Excl. CPU (microsec)3,417 3,410 -7 -0.2%
Incl. MemUse (bytes)1,600,704 1,600,704 0 0.0%
Incl. MemUse (bytes) per call 4,063 4,063 0 0.0%
Excl. MemUse (bytes)-233,704 -233,704 0 0.0%
Incl. PeakMemUse (bytes)1,622,224 1,622,224 0 0.0%
Incl. PeakMemUse (bytes) per call 4,117 4,117 0 0.0%
Excl. PeakMemUse (bytes)2,584 2,584 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% 103 11.3% 108 9.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-11 -10.7% -7 -6.5% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 103 100.0% 108 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple0 N/A% 77 74.8% 105 97.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 22 21.4% -11 -10.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 19 18.4% 24 22.2% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -12 -11.7% 1 0.9% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 6 5.8% 11 10.2% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 1.9% -15 -13.9% 0 N/A% 0 N/A%