Diff Report
Run #539205a48c548: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #539206513e72e: 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 #539205a48c548Run #539206513e72eDiffDiff%
Number of Function Calls44 44 0 0.0%
Incl. Wall Time (microsec)14,144 14,364 220 1.6%
Incl. Wall Time (microsec) per call 321 326 5 1.6%
Excl. Wall Time (microsec)850 867 17 2.0%
Incl. CPU (microsecs)13,968 14,139 171 1.2%
Incl. CPU (microsecs) per call 317 321 4 1.2%
Excl. CPU (microsec)626 666 40 6.4%
Incl. MemUse (bytes)73,160 73,160 0 0.0%
Incl. MemUse (bytes) per call 1,663 1,663 0 0.0%
Excl. MemUse (bytes)-12,612 -12,612 0 0.0%
Incl. PeakMemUse (bytes)104,536 104,536 0 0.0%
Incl. PeakMemUse (bytes) per call 2,376 2,376 0 0.0%
Excl. PeakMemUse (bytes)664 664 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% 220 24.1% 171 49.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function17 7.7% 40 23.4% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 220 100.0% 171 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 199 90.5% 147 86.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 22 10.0% 20 11.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -5 -2.3% -15 -8.8% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -16 -7.3% -14 -8.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 0.9% -4 -2.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.5% -3 -1.8% 0 N/A% 0 N/A%