Diff Report
Run #5394e21e9bd45: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5394e33e8d847: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #5394e21e9bd45Run #5394e33e8d847DiffDiff%
Number of Function Calls285 285 0 0.0%
Incl. Wall Time (microsec)67,220 66,840 -380 -0.6%
Incl. Wall Time (microsec) per call 236 235 -1 -0.6%
Excl. Wall Time (microsec)4,291 4,225 -66 -1.5%
Incl. CPU (microsecs)67,199 66,865 -334 -0.5%
Incl. CPU (microsecs) per call 236 235 -1 -0.5%
Excl. CPU (microsec)3,130 3,009 -121 -3.9%
Incl. MemUse (bytes)1,292,848 1,293,048 200 0.0%
Incl. MemUse (bytes) per call 4,536 4,537 1 0.0%
Excl. MemUse (bytes)1,141,808 -168,032 -1,309,840 -114.7%
Incl. PeakMemUse (bytes)1,354,080 1,365,768 11,688 0.9%
Incl. PeakMemUse (bytes) per call 4,751 4,792 41 0.9%
Excl. PeakMemUse (bytes)2,832 2,832 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% -380 -87.6% -334 -36.8% 200 75.8% 11,688 1238.1%
Exclusive Metrics Diff for Current Function-66 -17.4% -121 -36.2% -1,309,840 -654920.0% 0 0.0%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% -380 -100.0% -334 -100.0% 200 100.0% 11,688 100.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorage0 N/A% -130 -34.2% -164 -49.1% 200 100.0% 280 2.4%
Drupal\Core\Entity\EntityStorageBase::loadMultiple0 N/A% -77 -20.3% -12 -3.6% 1,309,840 654920.0% 12,696 108.6%
Drupal\user\Entity\Role::hasPermission0 N/A% -60 -15.8% -15 -4.5% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -38 -10.0% -13 -3.9% 0 0.0% -1,288 -11.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -11 -2.9% -19 -5.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 2 0.5% 10 3.0% 0 0.0% 0 0.0%