Diff Report
Run #53923d861ff11: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #53923e49d2b58: 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 #53923d861ff11Run #53923e49d2b58DiffDiff%
Number of Function Calls117 117 0 0.0%
Incl. Wall Time (microsec)34,724 35,061 337 1.0%
Incl. Wall Time (microsec) per call 297 300 3 1.0%
Excl. Wall Time (microsec)2,175 2,179 4 0.2%
Incl. CPU (microsecs)34,628 34,970 342 1.0%
Incl. CPU (microsecs) per call 296 299 3 1.0%
Excl. CPU (microsec)1,597 1,603 6 0.4%
Incl. MemUse (bytes)78,580 78,580 0 0.0%
Incl. MemUse (bytes) per call 672 672 0 0.0%
Excl. MemUse (bytes)-35,972 -35,972 0 0.0%
Incl. PeakMemUse (bytes)106,188 105,948 -240 -0.2%
Incl. PeakMemUse (bytes) per call 908 906 -2 -0.2%
Excl. PeakMemUse (bytes)900 900 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% 337 21.5% 342 31.3% 0 0.0% -240 -34.5%
Exclusive Metrics Diff for Current Function4 1.2% 6 1.8% 0 N/A% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 337 100.0% 342 100.0% 0 N/A% -240 -100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 334 99.1% 344 100.6% 0 N/A% -240 -100.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -21 -6.2% -32 -9.4% 0 N/A% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% 18 5.3% 15 4.4% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% 4 1.2% 4 1.2% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -0.6% 5 1.5% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 0.0%