Diff Report
Run #52c2677cc22b0: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52c2694eecde3: 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 #52c2677cc22b0Run #52c2694eecde3DiffDiff%
Number of Function Calls27 27 0 0.0%
Incl. Wall Time (microsec)17,692 18,672 980 5.5%
Incl. Wall Time (microsec) per call 655 692 36 5.5%
Excl. Wall Time (microsec)443 470 27 6.1%
Incl. CPU (microsecs)17,614 18,575 961 5.5%
Incl. CPU (microsecs) per call 652 688 36 5.5%
Excl. CPU (microsec)328 345 17 5.2%
Incl. MemUse (bytes)1,029,496 1,029,416 -80 -0.0%
Incl. MemUse (bytes) per call 38,129 38,127 -3 -0.0%
Excl. MemUse (bytes)-4,368 -4,368 0 0.0%
Incl. PeakMemUse (bytes)1,035,384 1,035,280 -104 -0.0%
Incl. PeakMemUse (bytes) per call 38,348 38,344 -4 -0.0%
Excl. PeakMemUse (bytes)3,288 3,288 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% 980 2.3% 961 2.3% -80 -0.1% -104 -0.1%
Exclusive Metrics Diff for Current Function27 2.8% 17 1.8% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 716 73.1% 690 71.8% -80 -100.0% -104 -100.0%
user_access0 N/A% 195 19.9% 195 20.3% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% 53 5.4% 54 5.6% 0 0.0% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 8 0.8% 7 0.7% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 6 0.6% 7 0.7% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 1 0.1% 2 0.2% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 1 0.1% 6 0.6% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 2,871 293.0% 2,873 299.0% -96 -120.0% -224 -215.4%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -1,966 -200.6% -1,996 -207.7% 16 20.0% 120 115.4%
Drupal::entityManager0 N/A% 35 3.6% 40 4.2% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 13 1.3% 16 1.7% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.1% 4 0.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 0.1% 7 0.7% 0 0.0% 0 0.0%