Diff Report
Run #539fd2109980d: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #539fd0a78f1b7: 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 #539fd2109980dRun #539fd0a78f1b7DiffDiff%
Number of Function Calls285 285 0 0.0%
Incl. Wall Time (microsec)82,421 82,506 85 0.1%
Incl. Wall Time (microsec) per call 289 289 0 0.1%
Excl. Wall Time (microsec)5,200 5,175 -25 -0.5%
Incl. CPU (microsecs)82,345 82,514 169 0.2%
Incl. CPU (microsecs) per call 289 290 1 0.2%
Excl. CPU (microsec)3,923 3,814 -109 -2.8%
Incl. MemUse (bytes)1,308,216 1,308,216 0 0.0%
Incl. MemUse (bytes) per call 4,590 4,590 0 0.0%
Excl. MemUse (bytes)-168,016 -168,016 0 0.0%
Incl. PeakMemUse (bytes)1,382,664 1,382,664 0 0.0%
Incl. PeakMemUse (bytes) per call 4,851 4,851 0 0.0%
Excl. PeakMemUse (bytes)2,928 2,928 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% 85 1.3% 169 2.7% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-25 -29.4% -109 -64.5% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 85 100.0% 169 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorage0 N/A% 1,461 1718.8% 1,497 885.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -1,210 -1423.5% -1,114 -659.2% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -109 -128.2% -82 -48.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -19 -22.4% 5 3.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -13 -15.3% -17 -10.1% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 0 0.0% -11 -6.5% 0 N/A% 0 N/A%