Diff Report
Run #53920c043e98b: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #53920b950c201: 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 #53920c043e98bRun #53920b950c201DiffDiff%
Number of Function Calls40 40 0 0.0%
Incl. Wall Time (microsec)16,335 16,339 4 0.0%
Incl. Wall Time (microsec) per call 408 408 0 0.0%
Excl. Wall Time (microsec)758 767 9 1.2%
Incl. CPU (microsecs)15,665 15,707 42 0.3%
Incl. CPU (microsecs) per call 392 393 1 0.3%
Excl. CPU (microsec)582 566 -16 -2.7%
Incl. MemUse (bytes)451,596 451,584 -12 -0.0%
Incl. MemUse (bytes) per call 11,290 11,290 -0 -0.0%
Excl. MemUse (bytes)-11,332 -11,332 0 0.0%
Incl. PeakMemUse (bytes)468,172 467,648 -524 -0.1%
Incl. PeakMemUse (bytes) per call 11,704 11,691 -13 -0.1%
Excl. PeakMemUse (bytes)1,628 1,536 -92 -5.7%

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% 4 1.1% 42 22.5% -12 -0.1% -524 -5.0%
Exclusive Metrics Diff for Current Function9 225.0% -16 -38.1% 0 0.0% -92 -17.6%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 4 100.0% 42 100.0% -12 -100.0% -524 -100.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -59 -1475.0% -27 -64.3% -12 -100.0% 8 1.5%
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 42 1050.0% 59 140.5% 0 0.0% -360 -68.7%
Drupal\Core\Session\UserSession::id0 N/A% 9 225.0% 17 40.5% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% 3 75.0% 5 11.9% 0 0.0% -80 -15.3%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 50.0% 3 7.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -50.0% 1 2.4% 0 0.0% 0 0.0%