Diff Report
Run #520840a963a54: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5208407650493: 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 #520840a963a54Run #5208407650493DiffDiff%
Number of Function Calls24 24 0 0.0%
Incl. Wall Time (microsec)7,637 7,576 -61 -0.8%
Incl. Wall Time (microsec) per call 318 316 -3 -0.8%
Excl. Wall Time (microsec)383 383 0 0.0%
Incl. CPU (microsecs)6,839 6,851 12 0.2%
Incl. CPU (microsecs) per call 285 285 1 0.2%
Excl. CPU (microsec)248 261 13 5.2%
Incl. MemUse (bytes)725,032 725,032 0 0.0%
Incl. MemUse (bytes) per call 30,210 30,210 0 0.0%
Excl. MemUse (bytes)-9,576 -9,576 0 0.0%
Incl. PeakMemUse (bytes)724,616 724,616 0 0.0%
Incl. PeakMemUse (bytes) per call 30,192 30,192 0 0.0%
Excl. PeakMemUse (bytes)2,096 2,096 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% -61 -56.5% 12 6.7% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function0 0.0% 13 108.3% 0 N/A% 0 N/A%
Parent function
user_access0 N/A% -61 -100.0% 12 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -39 -63.9% 43 358.3% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -28 -45.9% -40 -333.3% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 5 8.2% -4 -33.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 4 6.6% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -4 -6.6% 4 33.3% 0 N/A% 0 N/A%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% 1 1.6% -4 -33.3% 0 N/A% 0 N/A%