Diff Report
Run #52f5cbc19a0d8: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52f5cb0964fa0: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\user\Entity\Role::hasPermission

Drupal\user\Entity\Role::hasPermissionRun #52f5cbc19a0d8Run #52f5cb0964fa0DiffDiff%
Number of Function Calls26 26 0 0.0%
Incl. Wall Time (microsec)74 76 2 2.7%
Incl. Wall Time (microsec) per call 3 3 0 2.7%
Excl. Wall Time (microsec)51 56 5 9.8%
Incl. CPU (microsecs)99 94 -5 -5.1%
Incl. CPU (microsecs) per call 4 4 -0 -5.1%
Excl. CPU (microsec)63 51 -12 -19.0%
Incl. MemUse (bytes)4,024 4,024 0 0.0%
Incl. MemUse (bytes) per call 155 155 0 0.0%
Excl. MemUse (bytes)3,232 3,232 0 0.0%
Incl. PeakMemUse (bytes)1,472 1,440 -32 -2.2%
Incl. PeakMemUse (bytes) per call 57 55 -1 -2.2%
Excl. PeakMemUse (bytes)992 960 -32 -3.2%

Parent/Child Regression/Improvement report for Drupal\user\Entity\Role::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\user\Entity\Role::hasPermission0 N/A% 2 2.2% -5 -2.6% 0 0.0% -32 -0.1%
Exclusive Metrics Diff for Current Function5 250.0% -12 -240.0% 0 N/A% -32 -100.0%
Parent functions
Drupal\Core\Session\UserSession::hasPermission0 N/A% 2 100.0% -3 -60.0% 0 N/A% -32 -100.0%
Drupal\comment\CommentManager::forbiddenMessage0 N/A% 0 0.0% -2 -40.0% 0 N/A% 0 0.0%
Child function
in_array0 N/A% -3 -150.0% 7 140.0% 0 N/A% 0 0.0%