Diff Report
Run #5391fc871e91d: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #5391fcf6ab927: 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 #5391fc871e91dRun #5391fcf6ab927DiffDiff%
Number of Function Calls43 43 0 0.0%
Incl. Wall Time (microsec)13,752 13,795 43 0.3%
Incl. Wall Time (microsec) per call 320 321 1 0.3%
Excl. Wall Time (microsec)829 828 -1 -0.1%
Incl. CPU (microsecs)13,567 13,576 9 0.1%
Incl. CPU (microsecs) per call 316 316 0 0.1%
Excl. CPU (microsec)637 608 -29 -4.6%
Incl. MemUse (bytes)73,120 73,120 0 0.0%
Incl. MemUse (bytes) per call 1,700 1,700 0 0.0%
Excl. MemUse (bytes)-12,292 -12,292 0 0.0%
Incl. PeakMemUse (bytes)103,668 103,668 0 0.0%
Incl. PeakMemUse (bytes) per call 2,411 2,411 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% 43 2.6% 9 0.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-1 -2.3% -29 -322.2% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 43 100.0% 9 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 93 216.3% 67 744.4% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -40 -93.0% -32 -355.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -14.0% -2 -22.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -4.7% 6 66.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -1 -2.3% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% -1 -11.1% 0 N/A% 0 N/A%