Diff Report
Run #536ffbe232db1: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #536ffcbacf96d: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #536ffbe232db1Run #536ffcbacf96dDiffDiff%
Number of Function Calls59 59 0 0.0%
Incl. Wall Time (microsec)14,369 14,484 115 0.8%
Incl. Wall Time (microsec) per call 244 245 2 0.8%
Excl. Wall Time (microsec)939 963 24 2.6%
Incl. CPU (microsecs)14,378 14,510 132 0.9%
Incl. CPU (microsecs) per call 244 246 2 0.9%
Excl. CPU (microsec)627 678 51 8.1%
Incl. MemUse (bytes)150,744 150,760 16 0.0%
Incl. MemUse (bytes) per call 2,555 2,555 0 0.0%
Excl. MemUse (bytes)-32,512 -32,512 0 0.0%
Incl. PeakMemUse (bytes)185,376 185,768 392 0.2%
Incl. PeakMemUse (bytes) per call 3,142 3,149 7 0.2%
Excl. PeakMemUse (bytes)1,552 1,552 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% 115 7.3% 132 7.3% 16 0.0% 392 1.1%
Exclusive Metrics Diff for Current Function24 20.9% 51 38.6% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 115 100.0% 132 100.0% 16 100.0% 392 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 71 61.7% 71 53.8% 0 0.0% 72 18.4%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% 37 32.2% 32 24.2% 16 100.0% 248 63.3%
Drupal\Core\Session\UserSession::getRoles0 N/A% -18 -15.7% -11 -8.3% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 2 1.7% -3 -2.3% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -1 -0.9% -5 -3.8% 0 0.0% 72 18.4%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% -3 -2.3% 0 0.0% 0 0.0%