Diff Report
Run #53920b950c201: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #53920bd97d62d: 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 #53920b950c201Run #53920bd97d62dDiffDiff%
Number of Function Calls40 40 0 0.0%
Incl. Wall Time (microsec)16,339 16,451 112 0.7%
Incl. Wall Time (microsec) per call 408 411 3 0.7%
Excl. Wall Time (microsec)767 755 -12 -1.6%
Incl. CPU (microsecs)15,707 15,727 20 0.1%
Incl. CPU (microsecs) per call 393 393 1 0.1%
Excl. CPU (microsec)566 565 -1 -0.2%
Incl. MemUse (bytes)451,584 451,584 0 0.0%
Incl. MemUse (bytes) per call 11,290 11,290 0 0.0%
Excl. MemUse (bytes)-11,332 -11,332 0 0.0%
Incl. PeakMemUse (bytes)467,648 467,648 0 0.0%
Incl. PeakMemUse (bytes) per call 11,691 11,691 0 0.0%
Excl. PeakMemUse (bytes)1,536 1,536 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% 112 24.6% 20 4.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-12 -10.7% -1 -5.0% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 112 100.0% 20 100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorage0 N/A% 239 213.4% 114 570.0% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -108 -96.4% -85 -425.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -9 -8.0% -7 -35.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 2 1.8% 5 25.0% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -0.9% -1 -5.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.9% -5 -25.0% 0 N/A% 0 N/A%