Diff Report
Run #5219624c55207: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #521962a927d49: 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 #5219624c55207Run #521962a927d49DiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)10,262 10,203 -59 -0.6%
Incl. Wall Time (microsec) per call 244 243 -1 -0.6%
Excl. Wall Time (microsec)625 640 15 2.4%
Incl. CPU (microsecs)9,572 9,602 30 0.3%
Incl. CPU (microsecs) per call 228 229 1 0.3%
Excl. CPU (microsec)428 426 -2 -0.5%
Incl. MemUse (bytes)718,376 718,392 16 0.0%
Incl. MemUse (bytes) per call 17,104 17,105 0 0.0%
Excl. MemUse (bytes)-18,792 -18,792 0 0.0%
Incl. PeakMemUse (bytes)750,256 748,136 -2,120 -0.3%
Incl. PeakMemUse (bytes) per call 17,863 17,813 -50 -0.3%
Excl. PeakMemUse (bytes)2,664 2,664 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% -59 -12.7% 30 3.2% 16 0.1% -2,120 -7.2%
Exclusive Metrics Diff for Current Function15 25.4% -2 -6.7% 0 0.0% 0 0.0%
Parent function
user_access0 N/A% -59 -100.0% 30 100.0% 16 100.0% -2,120 -100.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -76 -128.8% -25 -83.3% 24 150.0% -2,112 -99.6%
Drupal::entityManager0 N/A% 10 16.9% 12 40.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -6.8% 5 16.7% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -4 -6.8% 49 163.3% -8 -50.0% -8 -0.4%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -1.7% -8 -26.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 1.7% -1 -3.3% 0 0.0% 0 0.0%