Diff Report
Run #5204417bc7ab7: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5204425923c81: 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 #5204417bc7ab7Run #5204425923c81DiffDiff%
Number of Function Calls57 57 0 0.0%
Incl. Wall Time (microsec)12,912 12,980 68 0.5%
Incl. Wall Time (microsec) per call 227 228 1 0.5%
Excl. Wall Time (microsec)883 870 -13 -1.5%
Incl. CPU (microsecs)12,275 12,361 86 0.7%
Incl. CPU (microsecs) per call 215 217 2 0.7%
Excl. CPU (microsec)591 593 2 0.3%
Incl. MemUse (bytes)727,096 727,080 -16 -0.0%
Incl. MemUse (bytes) per call 12,756 12,756 -0 -0.0%
Excl. MemUse (bytes)-26,472 -26,472 0 0.0%
Incl. PeakMemUse (bytes)758,088 758,072 -16 -0.0%
Incl. PeakMemUse (bytes) per call 13,300 13,300 -0 -0.0%
Excl. PeakMemUse (bytes)2,816 2,816 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 86.1% 86 11.0% -16 -0.0% -16 -0.0%
Exclusive Metrics Diff for Current Function-13 -19.1% 2 2.3% 0 0.0% 0 0.0%
Parent function
user_access0 N/A% 68 100.0% 86 100.0% -16 -100.0% -16 -100.0%
Child functions
Drupal::entityManager0 N/A% 59 86.8% 61 70.9% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -23 -33.8% -2 -2.3% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 19 27.9% 23 26.7% -16 -100.0% -16 -100.0%
Drupal\Core\Session\UserSession::id0 N/A% 14 20.6% 5 5.8% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 10 14.7% -7 -8.1% 0 0.0% 0 0.0%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 2 2.9% 4 4.7% 0 0.0% 0 0.0%