Diff Report
Run #539201f8938f4: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #5392041970f3f: 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 #539201f8938f4Run #5392041970f3fDiffDiff%
Number of Function Calls51 51 0 0.0%
Incl. Wall Time (microsec)16,161 16,297 136 0.8%
Incl. Wall Time (microsec) per call 317 320 3 0.8%
Excl. Wall Time (microsec)965 976 11 1.1%
Incl. CPU (microsecs)15,889 16,025 136 0.9%
Incl. CPU (microsecs) per call 312 314 3 0.9%
Excl. CPU (microsec)720 711 -9 -1.2%
Incl. MemUse (bytes)76,768 76,760 -8 -0.0%
Incl. MemUse (bytes) per call 1,505 1,505 -0 -0.0%
Excl. MemUse (bytes)-14,852 -14,852 0 0.0%
Incl. PeakMemUse (bytes)100,088 99,980 -108 -0.1%
Incl. PeakMemUse (bytes) per call 1,963 1,960 -2 -0.1%
Excl. PeakMemUse (bytes)860 860 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% 136 9.3% 136 5.1% -8 -0.0% -108 -0.2%
Exclusive Metrics Diff for Current Function11 8.1% -9 -6.6% 0 0.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 136 100.0% 136 100.0% -8 -100.0% -108 -100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% 155 114.0% 154 113.2% 0 0.0% -100 -92.6%
Drupal::entityManager0 N/A% -18 -13.2% -13 -9.6% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -9 -6.6% -3 -2.2% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -1 -0.7% 1 0.7% -8 -100.0% -8 -7.4%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.7% -1 -0.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.7% 7 5.1% 0 0.0% 0 0.0%