Diff Report
Run #53923d861ff11: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #53923e3238612: 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 #53923e3238612DiffDiff%
Number of Function Calls117 117 0 0.0%
Incl. Wall Time (microsec)34,724 35,532 808 2.3%
Incl. Wall Time (microsec) per call 297 304 7 2.3%
Excl. Wall Time (microsec)2,175 2,171 -4 -0.2%
Incl. CPU (microsecs)34,628 35,290 662 1.9%
Incl. CPU (microsecs) per call 296 302 6 1.9%
Excl. CPU (microsec)1,597 1,636 39 2.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 106,188 0 0.0%
Incl. PeakMemUse (bytes) per call 908 908 0 0.0%
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% 808 172.3% 662 207.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-4 -0.5% 39 5.9% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 808 100.0% 662 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 725 89.7% 561 84.7% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% 82 10.1% 65 9.8% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 5 0.6% -6 -0.9% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 1 0.1% 8 1.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.1% -10 -1.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 5 0.8% 0 N/A% 0 N/A%