Diff Report
Run #51fdbca2b5409: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #51fdbdbb58abc: 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 #51fdbca2b5409Run #51fdbdbb58abcDiffDiff%
Number of Function Calls146 146 0 0.0%
Incl. Wall Time (microsec)25,870 26,034 164 0.6%
Incl. Wall Time (microsec) per call 177 178 1 0.6%
Excl. Wall Time (microsec)2,121 2,144 23 1.1%
Incl. CPU (microsecs)25,312 25,438 126 0.5%
Incl. CPU (microsecs) per call 173 174 1 0.5%
Excl. CPU (microsec)1,378 1,373 -5 -0.4%
Incl. MemUse (bytes)820,296 820,304 8 0.0%
Incl. MemUse (bytes) per call 5,618 5,619 0 0.0%
Excl. MemUse (bytes)-74,376 -74,376 0 0.0%
Incl. PeakMemUse (bytes)843,224 843,512 288 0.0%
Incl. PeakMemUse (bytes) per call 5,776 5,777 2 0.0%
Excl. PeakMemUse (bytes)2,680 2,680 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% 164 17.3% 126 175.0% 8 0.0% 288 0.9%
Exclusive Metrics Diff for Current Function23 14.0% -5 -4.0% 0 0.0% 0 0.0%
Parent function
user_access0 N/A% 164 100.0% 126 100.0% 8 100.0% 288 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 56 34.1% 32 25.4% 16 200.0% 200 69.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 44 26.8% 29 23.0% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 41 25.0% 42 33.3% -8 -100.0% 88 30.6%
Drupal\Core\Session\UserSession::getRoles0 N/A% -6 -3.7% -3 -2.4% 0 0.0% 0 0.0%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 5 3.0% 3 2.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.6% 28 22.2% 0 0.0% 0 0.0%