Diff Report
Run #5350e128cfd2b: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5350e2663e694: 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 #5350e128cfd2bRun #5350e2663e694DiffDiff%
Number of Function Calls394 394 0 0.0%
Incl. Wall Time (microsec)69,002 68,965 -37 -0.1%
Incl. Wall Time (microsec) per call 175 175 -0 -0.1%
Excl. Wall Time (microsec)4,892 4,916 24 0.5%
Incl. CPU (microsecs)68,853 68,821 -32 -0.0%
Incl. CPU (microsecs) per call 175 175 -0 -0.0%
Excl. CPU (microsec)3,417 3,438 21 0.6%
Incl. MemUse (bytes)1,600,704 1,600,504 -200 -0.0%
Incl. MemUse (bytes) per call 4,063 4,062 -1 -0.0%
Excl. MemUse (bytes)-233,704 -233,912 -208 -0.1%
Incl. PeakMemUse (bytes)1,622,224 1,622,328 104 0.0%
Incl. PeakMemUse (bytes) per call 4,117 4,118 0 0.0%
Excl. PeakMemUse (bytes)2,584 2,584 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% -37 -2.3% -32 -1.8% -200 -0.9% 104 0.5%
Exclusive Metrics Diff for Current Function24 64.9% 21 65.6% -208 -104.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -37 -100.0% -32 -100.0% -200 -100.0% 104 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple0 N/A% -57 -154.1% -26 -81.2% 200 100.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 17 45.9% -12 -37.5% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -15 -40.5% -41 -128.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -10 -27.0% 34 106.2% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 8 21.6% 2 6.2% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -4 -10.8% -10 -31.2% -192 -96.0% 104 100.0%