Diff Report
Run #523c58bd29e4d: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #523c5919acc8c: 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 #523c58bd29e4dRun #523c5919acc8cDiffDiff%
Number of Function Calls31 31 0 0.0%
Incl. Wall Time (microsec)14,986 15,029 43 0.3%
Incl. Wall Time (microsec) per call 483 485 1 0.3%
Excl. Wall Time (microsec)572 568 -4 -0.7%
Incl. CPU (microsecs)14,280 14,200 -80 -0.6%
Incl. CPU (microsecs) per call 461 458 -3 -0.6%
Excl. CPU (microsec)438 444 6 1.4%
Incl. MemUse (bytes)740,840 740,840 0 0.0%
Incl. MemUse (bytes) per call 23,898 23,898 0 0.0%
Excl. MemUse (bytes)-9,072 -9,072 0 0.0%
Incl. PeakMemUse (bytes)758,064 758,064 0 0.0%
Incl. PeakMemUse (bytes) per call 24,454 24,454 0 0.0%
Excl. PeakMemUse (bytes)2,848 2,848 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% 43 9.7% -80 -5.8% 0 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function-4 -9.3% 6 7.5% 0 N/A% 0 N/A%
Parent functions
contextual_page_build0 N/A% 22 51.2% 22 27.5% 0 N/A% 0 N/A%
user_access0 N/A% 8 18.6% -115 -143.8% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 7 16.3% 6 7.5% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 3 7.0% 3 3.8% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 2 4.7% 2 2.5% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 2.3% 2 2.5% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 157 365.1% 28 35.0% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -96 -223.3% -103 -128.8% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -20 -46.5% -23 -28.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 7.0% 9 11.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 4.7% -3 -3.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 1 2.3% 6 7.5% 0 N/A% 0 N/A%