Diff Report
Run #51fdbdbb58abc: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #51fdbca2b5409: 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 #51fdbdbb58abcRun #51fdbca2b5409DiffDiff%
Number of Function Calls146 146 0 0.0%
Incl. Wall Time (microsec)26,034 25,870 -164 -0.6%
Incl. Wall Time (microsec) per call 178 177 -1 -0.6%
Excl. Wall Time (microsec)2,144 2,121 -23 -1.1%
Incl. CPU (microsecs)25,438 25,312 -126 -0.5%
Incl. CPU (microsecs) per call 174 173 -1 -0.5%
Excl. CPU (microsec)1,373 1,378 5 0.4%
Incl. MemUse (bytes)820,304 820,296 -8 -0.0%
Incl. MemUse (bytes) per call 5,619 5,618 -0 -0.0%
Excl. MemUse (bytes)-74,376 -74,376 0 0.0%
Incl. PeakMemUse (bytes)843,512 843,224 -288 -0.0%
Incl. PeakMemUse (bytes) per call 5,777 5,776 -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 Function-23 -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%