Diff Report
Run #51f5bb078e5a7: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #51f5bb45dd257: 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 #51f5bb078e5a7Run #51f5bb45dd257DiffDiff%
Number of Function Calls57 57 0 0.0%
Incl. Wall Time (microsec)12,686 12,861 175 1.4%
Incl. Wall Time (microsec) per call 223 226 3 1.4%
Excl. Wall Time (microsec)869 878 9 1.0%
Incl. CPU (microsecs)12,093 12,232 139 1.1%
Incl. CPU (microsecs) per call 212 215 2 1.1%
Excl. CPU (microsec)573 590 17 3.0%
Incl. MemUse (bytes)725,864 725,864 0 0.0%
Incl. MemUse (bytes) per call 12,734 12,734 0 0.0%
Excl. MemUse (bytes)-26,472 -26,472 0 0.0%
Incl. PeakMemUse (bytes)755,920 755,920 0 0.0%
Incl. PeakMemUse (bytes) per call 13,262 13,262 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% 175 23.2% 139 118.8% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function9 5.1% 17 12.2% 0 N/A% 0 N/A%
Parent function
user_access0 N/A% 175 100.0% 139 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 136 77.7% 99 71.2% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 37 21.1% 36 25.9% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -27 -15.4% -34 -24.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 9 5.1% -4 -2.9% 0 N/A% 0 N/A%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 6 3.4% 8 5.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 5 2.9% 17 12.2% 0 N/A% 0 N/A%