Diff Report
Run #5394e33e8d847: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5394e21e9bd45: 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 #5394e33e8d847Run #5394e21e9bd45DiffDiff%
Number of Function Calls285 285 0 0.0%
Incl. Wall Time (microsec)66,840 67,220 380 0.6%
Incl. Wall Time (microsec) per call 235 236 1 0.6%
Excl. Wall Time (microsec)4,225 4,291 66 1.6%
Incl. CPU (microsecs)66,865 67,199 334 0.5%
Incl. CPU (microsecs) per call 235 236 1 0.5%
Excl. CPU (microsec)3,009 3,130 121 4.0%
Incl. MemUse (bytes)1,293,048 1,292,848 -200 -0.0%
Incl. MemUse (bytes) per call 4,537 4,536 -1 -0.0%
Excl. MemUse (bytes)-168,032 1,141,808 1,309,840 779.5%
Incl. PeakMemUse (bytes)1,365,768 1,354,080 -11,688 -0.9%
Incl. PeakMemUse (bytes) per call 4,792 4,751 -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 Function66 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%