Diff Report
Run #51ec485525502: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #51ec491641923: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #51ec485525502Run #51ec491641923DiffDiff%
Number of Function Calls96 96 0 0.0%
Incl. Wall Time (microsec)17,915 18,161 246 1.4%
Incl. Wall Time (microsec) per call 187 189 3 1.4%
Excl. Wall Time (microsec)1,267 1,277 10 0.8%
Incl. CPU (microsecs)17,887 18,120 233 1.3%
Incl. CPU (microsecs) per call 186 189 2 1.3%
Excl. CPU (microsec)956 965 9 0.9%
Incl. MemUse (bytes)619,336 619,328 -8 -0.0%
Incl. MemUse (bytes) per call 6,451 6,451 -0 -0.0%
Excl. MemUse (bytes)-46,440 -46,440 0 0.0%
Incl. PeakMemUse (bytes)654,464 649,176 -5,288 -0.8%
Incl. PeakMemUse (bytes) per call 6,817 6,762 -55 -0.8%
Excl. PeakMemUse (bytes)2,688 2,688 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% 246 15.9% 233 13.3% -8 -0.0% -5,288 -4.0%
Exclusive Metrics Diff for Current Function10 4.1% 9 3.9% 0 0.0% 0 0.0%
Parent function
user_access0 N/A% 246 100.0% 233 100.0% -8 -100.0% -5,288 -100.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 184 74.8% 198 85.0% 0 0.0% -5,392 -102.0%
Drupal::entityManager0 N/A% 22 8.9% 11 4.7% 0 0.0% 0 0.0%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 15 6.1% 9 3.9% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 11 4.5% -1 -0.4% -8 -100.0% 104 2.0%
Drupal\Core\Session\UserSession::id0 N/A% 3 1.2% 5 2.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.4% 2 0.9% 0 0.0% 0 0.0%