Diff Report
Run #526a239923027: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #526a23ef211f9: 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 #526a239923027Run #526a23ef211f9DiffDiff%
Number of Function Calls28 28 0 0.0%
Incl. Wall Time (microsec)12,480 12,863 383 3.1%
Incl. Wall Time (microsec) per call 446 459 14 3.1%
Excl. Wall Time (microsec)478 450 -28 -5.9%
Incl. CPU (microsecs)11,873 12,226 353 3.0%
Incl. CPU (microsecs) per call 424 437 13 3.0%
Excl. CPU (microsec)343 327 -16 -4.7%
Incl. MemUse (bytes)678,608 678,608 0 0.0%
Incl. MemUse (bytes) per call 24,236 24,236 0 0.0%
Excl. MemUse (bytes)-4,664 -4,664 0 0.0%
Incl. PeakMemUse (bytes)695,312 695,312 0 0.0%
Incl. PeakMemUse (bytes) per call 24,833 24,833 0 0.0%
Excl. PeakMemUse (bytes)2,144 2,144 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% 383 40.5% 353 24.0% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-28 -7.3% -16 -4.5% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% 756 197.4% 723 204.8% 0 N/A% 0 N/A%
tour_toolbar0 N/A% -144 -37.6% -138 -39.1% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -88 -23.0% -89 -25.2% 0 N/A% 0 N/A%
edit_page_build0 N/A% -87 -22.7% -88 -24.9% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -39 -10.2% -40 -11.3% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% -31 -8.1% -30 -8.5% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 10 2.6% 10 2.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 4 1.0% 2 0.6% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 2 0.5% 3 0.8% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 751 196.1% 715 202.5% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -312 -81.5% -298 -84.4% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -14 -3.7% -19 -5.4% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -13 -3.4% -14 -4.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -0.8% -7 -2.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 0.5% -8 -2.3% 0 N/A% 0 N/A%