Diff Report
Run #5394e21e9bd45: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5394e2ae29e1b: 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 #5394e21e9bd45Run #5394e2ae29e1bDiffDiff%
Number of Function Calls285 285 0 0.0%
Incl. Wall Time (microsec)67,220 66,650 -570 -0.8%
Incl. Wall Time (microsec) per call 236 234 -2 -0.8%
Excl. Wall Time (microsec)4,291 4,191 -100 -2.3%
Incl. CPU (microsecs)67,199 66,696 -503 -0.7%
Incl. CPU (microsecs) per call 236 234 -2 -0.7%
Excl. CPU (microsec)3,130 3,117 -13 -0.4%
Incl. MemUse (bytes)1,292,848 1,292,848 0 0.0%
Incl. MemUse (bytes) per call 4,536 4,536 0 0.0%
Excl. MemUse (bytes)1,141,808 1,141,808 0 0.0%
Incl. PeakMemUse (bytes)1,354,080 1,354,080 0 0.0%
Incl. PeakMemUse (bytes) per call 4,751 4,751 0 0.0%
Excl. PeakMemUse (bytes)2,832 2,832 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% -570 -16.6% -503 -13.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-100 -17.5% -13 -2.6% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -570 -100.0% -503 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -328 -57.5% -288 -57.3% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -129 -22.6% -162 -32.2% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -10 -1.8% -21 -4.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 7 1.2% 17 3.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -5 -0.9% -16 -3.2% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -5 -0.9% -20 -4.0% 0 N/A% 0 N/A%