Diff Report
Run #54e0a77153dbf: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #54e0a6d45fe2a: 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 #54e0a77153dbfRun #54e0a6d45fe2aDiffDiff%
Number of Function Calls84 84 0 0.0%
Incl. Wall Time (microsec)13,283 13,230 -53 -0.4%
Incl. Wall Time (microsec) per call 158 158 -1 -0.4%
Excl. Wall Time (microsec)686 700 14 2.0%
Incl. CPU (microsecs)12,811 12,767 -44 -0.3%
Incl. CPU (microsecs) per call 153 152 -1 -0.3%
Excl. CPU (microsec)472 467 -5 -1.1%
Incl. MemUse (bytes)1,593,904 1,593,904 0 0.0%
Incl. MemUse (bytes) per call 18,975 18,975 0 0.0%
Excl. MemUse (bytes)2,080 2,080 0 0.0%
Incl. PeakMemUse (bytes)1,626,608 1,626,608 0 0.0%
Incl. PeakMemUse (bytes) per call 19,364 19,364 0 0.0%
Excl. PeakMemUse (bytes)2,056 2,056 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% -53 -3.0% -44 -3.4% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function14 26.4% -5 -11.4% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -53 -100.0% -44 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% -107 -201.9% -84 -190.9% 0 N/A% 0 N/A%
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 45 84.9% 53 120.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -9 -17.0% 1 2.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 4 7.5% -9 -20.5% 0 N/A% 0 N/A%