Diff Report
Run #539fd0a78f1b7: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #539fd2109980d: 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 #539fd0a78f1b7Run #539fd2109980dDiffDiff%
Number of Function Calls285 285 0 0.0%
Incl. Wall Time (microsec)82,506 82,421 -85 -0.1%
Incl. Wall Time (microsec) per call 289 289 -0 -0.1%
Excl. Wall Time (microsec)5,175 5,200 25 0.5%
Incl. CPU (microsecs)82,514 82,345 -169 -0.2%
Incl. CPU (microsecs) per call 290 289 -1 -0.2%
Excl. CPU (microsec)3,814 3,923 109 2.9%
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 Function25 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%