Diff Report
Run #565918537d922: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659186b7d6e0: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\user\Entity\Role::hasPermissionRun #565918537d922Run #5659186b7d6e0DiffDiff%
Number of Function Calls10,000 10,000 0 0.0%
Incl. Wall Time (microsec)40,905 41,253 348 0.9%
Incl. Wall Time (microsec) per call 4 4 0 0.9%
Excl. Wall Time (microsec)35,959 35,012 -947 -2.6%
Incl. MemUse (bytes)743,248 743,464 216 0.0%
Incl. MemUse (bytes) per call 74 74 0 0.0%
Excl. MemUse (bytes)125,600 124,024 -1,576 -1.3%
Incl. PeakMemUse (bytes)42,696 41,976 -720 -1.7%
Incl. PeakMemUse (bytes) per call 4 4 -0 -1.7%
Excl. PeakMemUse (bytes)25,704 25,344 -360 -1.4%

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.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\user\Entity\Role::hasPermission0 N/A% 348 0.1% 216 0.0% -720 -0.0%
Exclusive Metrics Diff for Current Function-947 -272.1% -1,576 -729.6% -360 -50.0%
Parent function
Drupal\user\RoleStorage::isPermissionInRoles0 N/A% 348 100.0% 216 100.0% -720 -100.0%
Child functions
in_array0 N/A% 1,304 374.7% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::isAdmin0 N/A% -9 -2.6% 1,792 829.6% -360 -50.0%