Diff Report
Run #534ad8dec7444: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #534ad9c94e95b: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #534ad8dec7444Run #534ad9c94e95bDiffDiff%
Number of Function Calls59 59 0 0.0%
Incl. Wall Time (microsec)24,064 23,649 -415 -1.7%
Incl. Wall Time (microsec) per call 408 401 -7 -1.7%
Excl. Wall Time (microsec)1,208 1,203 -5 -0.4%
Incl. CPU (microsecs)23,248 22,925 -323 -1.4%
Incl. CPU (microsecs) per call 394 389 -5 -1.4%
Excl. CPU (microsec)914 923 9 1.0%
Incl. MemUse (bytes)499,968 499,968 0 0.0%
Incl. MemUse (bytes) per call 8,474 8,474 0 0.0%
Excl. MemUse (bytes)-15,760 -15,760 0 0.0%
Incl. PeakMemUse (bytes)526,264 526,144 -120 -0.0%
Incl. PeakMemUse (bytes) per call 8,920 8,918 -2 -0.0%
Excl. PeakMemUse (bytes)1,640 1,640 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% -415 -25.2% -323 -64.7% 0 0.0% -120 -0.5%
Exclusive Metrics Diff for Current Function-5 -1.2% 9 2.8% 0 N/A% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -415 -100.0% -323 -100.0% 0 N/A% -120 -100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple0 N/A% -341 -82.2% -274 -84.8% -8 N/A% 40 33.3%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -69 -16.6% -54 -16.7% 8 N/A% 8 6.7%
Drupal\user\Entity\Role::hasPermission0 N/A% 7 1.7% 6 1.9% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -4 -1.0% -9 -2.8% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% -2 -0.5% 4 1.2% 0 N/A% -168 -140.0%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.2% -5 -1.5% 0 N/A% 0 0.0%