Diff Report
Run #51fdbca2b5409: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #51fdbd76c2eed: 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 #51fdbd76c2eedDiffDiff%
Number of Function Calls146 146 0 0.0%
Incl. Wall Time (microsec)25,870 26,112 242 0.9%
Incl. Wall Time (microsec) per call 177 179 2 0.9%
Excl. Wall Time (microsec)2,121 2,123 2 0.1%
Incl. CPU (microsecs)25,312 25,470 158 0.6%
Incl. CPU (microsecs) per call 173 174 1 0.6%
Excl. CPU (microsec)1,378 1,390 12 0.9%
Incl. MemUse (bytes)820,296 820,296 0 0.0%
Incl. MemUse (bytes) per call 5,618 5,618 0 0.0%
Excl. MemUse (bytes)-74,376 -74,376 0 0.0%
Incl. PeakMemUse (bytes)843,224 843,224 0 0.0%
Incl. PeakMemUse (bytes) per call 5,776 5,776 0 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% 242 36.4% 158 10.4% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function2 0.8% 12 7.6% 0 N/A% 0 N/A%
Parent function
user_access0 N/A% 242 100.0% 158 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 110 45.5% 3 1.9% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 101 41.7% 107 67.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 15 6.2% -5 -3.2% 0 N/A% 0 N/A%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 5 2.1% 4 2.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 5 2.1% 20 12.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 4 1.7% 17 10.8% 0 N/A% 0 N/A%