Diff Report
Run #526a239923027: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #526a240c73a50: 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 #526a240c73a50DiffDiff%
Number of Function Calls28 28 0 0.0%
Incl. Wall Time (microsec)12,480 12,278 -202 -1.6%
Incl. Wall Time (microsec) per call 446 439 -7 -1.6%
Excl. Wall Time (microsec)478 466 -12 -2.5%
Incl. CPU (microsecs)11,873 11,714 -159 -1.3%
Incl. CPU (microsecs) per call 424 418 -6 -1.3%
Excl. CPU (microsec)343 359 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,400 88 0.0%
Incl. PeakMemUse (bytes) per call 24,833 24,836 3 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% -202 -594.1% -159 -96.4% 0 0.0% 88 0.0%
Exclusive Metrics Diff for Current Function-12 -5.9% 16 10.1% 0 N/A% 0 0.0%
Parent functions
user_access0 N/A% 180 89.1% 218 137.1% 0 N/A% 424 481.8%
tour_toolbar0 N/A% -158 -78.2% -152 -95.6% 0 N/A% 0 0.0%
edit_page_build0 N/A% -86 -42.6% -87 -54.7% 0 N/A% 0 0.0%
contextual_page_build0 N/A% -76 -37.6% -77 -48.4% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% -39 -19.3% -39 -24.5% 0 N/A% 0 0.0%
shortcut_set_switch_access0 N/A% -26 -12.9% -25 -15.7% 0 N/A% 0 0.0%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% 9 4.5% 10 6.3% 0 N/A% 0 0.0%
contextual_toolbar0 N/A% -6 -3.0% -5 -3.1% 0 N/A% 0 0.0%
shortcut_set_edit_access0 N/A% 0 0.0% -2 -1.3% 0 N/A% -336 -381.8%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -244 -120.8% -234 -147.2% -16 N/A% 72 81.8%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 52 25.7% 87 54.7% 16 N/A% -56 -63.6%
Drupal\user\Entity\Role::hasPermission0 N/A% -5 -2.5% -5 -3.1% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% 5 2.5% -3 -1.9% 0 N/A% 72 81.8%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.5% -11 -6.9% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.5% -9 -5.7% 0 N/A% 0 0.0%