Diff Report
Run #536ffcbacf96d: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #536ffbe232db1: 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 #536ffcbacf96dRun #536ffbe232db1DiffDiff%
Number of Function Calls59 59 0 0.0%
Incl. Wall Time (microsec)14,484 14,369 -115 -0.8%
Incl. Wall Time (microsec) per call 245 244 -2 -0.8%
Excl. Wall Time (microsec)963 939 -24 -2.5%
Incl. CPU (microsecs)14,510 14,378 -132 -0.9%
Incl. CPU (microsecs) per call 246 244 -2 -0.9%
Excl. CPU (microsec)678 627 -51 -7.5%
Incl. MemUse (bytes)150,760 150,744 -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,768 185,376 -392 -0.2%
Incl. PeakMemUse (bytes) per call 3,149 3,142 -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 Function-24 -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%