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