Diff Report
Run #5219624c55207: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #521962849973a: 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 #521962849973aDiffDiff%
Number of Function Calls42 42 0 0.0%
Incl. Wall Time (microsec)10,262 10,080 -182 -1.8%
Incl. Wall Time (microsec) per call 244 240 -4 -1.8%
Excl. Wall Time (microsec)625 642 17 2.7%
Incl. CPU (microsecs)9,572 9,528 -44 -0.5%
Incl. CPU (microsecs) per call 228 227 -1 -0.5%
Excl. CPU (microsec)428 428 0 0.0%
Incl. MemUse (bytes)718,376 718,376 0 0.0%
Incl. MemUse (bytes) per call 17,104 17,104 0 0.0%
Excl. MemUse (bytes)-18,792 -18,792 0 0.0%
Incl. PeakMemUse (bytes)750,256 750,256 0 0.0%
Incl. PeakMemUse (bytes) per call 17,863 17,863 0 0.0%
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% -182 -343.4% -44 -34.9% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function17 9.3% 0 0.0% 0 N/A% 0 N/A%
Parent function
user_access0 N/A% -182 -100.0% -44 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -117 -64.3% -102 -231.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -106 -58.2% 24 54.5% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 34 18.7% 37 84.1% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -9 -4.9% -2 -4.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -2.2% 3 6.8% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 1.6% -4 -9.1% 0 N/A% 0 N/A%