Diff Report
Run #539201f8938f4: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #539203c57074d: 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 #539203c57074dDiffDiff%
Number of Function Calls51 51 0 0.0%
Incl. Wall Time (microsec)16,161 15,906 -255 -1.6%
Incl. Wall Time (microsec) per call 317 312 -5 -1.6%
Excl. Wall Time (microsec)965 973 8 0.8%
Incl. CPU (microsecs)15,889 15,782 -107 -0.7%
Incl. CPU (microsecs) per call 312 309 -2 -0.7%
Excl. CPU (microsec)720 714 -6 -0.8%
Incl. MemUse (bytes)76,768 76,768 0 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 100,088 0 0.0%
Incl. PeakMemUse (bytes) per call 1,963 1,963 0 0.0%
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% -255 -103.2% -107 -21.9% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function8 3.1% -6 -5.6% 0 N/A% 0 N/A%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -255 -100.0% -107 -100.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -235 -92.2% -88 -82.2% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -11 -4.3% -11 -10.3% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -8 -3.1% -8 -7.5% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -2.4% -1 -0.9% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -0.8% 10 9.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -1 -0.4% -3 -2.8% 0 N/A% 0 N/A%