Diff Report
Run #5230a9efcd55c: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5230a98f3b26c: 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 #5230a9efcd55cRun #5230a98f3b26cDiffDiff%
Number of Function Calls41 41 0 0.0%
Incl. Wall Time (microsec)22,361 21,977 -384 -1.7%
Incl. Wall Time (microsec) per call 545 536 -9 -1.7%
Excl. Wall Time (microsec)725 717 -8 -1.1%
Incl. CPU (microsecs)21,727 21,346 -381 -1.8%
Incl. CPU (microsecs) per call 530 521 -9 -1.8%
Excl. CPU (microsec)547 570 23 4.2%
Incl. MemUse (bytes)1,312,808 1,312,808 0 0.0%
Incl. MemUse (bytes) per call 32,020 32,020 0 0.0%
Excl. MemUse (bytes)-14,008 -14,008 0 0.0%
Incl. PeakMemUse (bytes)1,342,856 1,342,856 0 0.0%
Incl. PeakMemUse (bytes) per call 32,753 32,753 0 0.0%
Excl. PeakMemUse (bytes)3,168 3,168 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% -384 -29.3% -381 -32.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-8 -2.1% 23 6.0% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% -347 -90.4% -347 -91.1% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -19 -4.9% -16 -4.2% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -13 -3.4% -13 -3.4% 0 N/A% 0 N/A%
Drupal\overlay\EventSubscriber\OverlaySubscriber::onRequest0 N/A% -11 -2.9% -12 -3.1% 0 N/A% 0 N/A%
search_is_active0 N/A% 7 1.8% 7 1.8% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -2 -0.5% -1 -0.3% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 0.3% 1 0.3% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -264 -68.8% -184 -48.3% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -91 -23.7% -180 -47.2% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -16 -4.2% -16 -4.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -7 -1.8% -14 -3.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 1 0.3% -9 -2.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 0.3% -1 -0.3% 0 N/A% 0 N/A%