Diff Report
Run #52c2677cc22b0: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #52c2691acb42f: 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 #52c2691acb42fDiffDiff%
Number of Function Calls27 27 0 0.0%
Incl. Wall Time (microsec)17,692 15,182 -2,510 -14.2%
Incl. Wall Time (microsec) per call 655 562 -93 -14.2%
Excl. Wall Time (microsec)443 465 22 5.0%
Incl. CPU (microsecs)17,614 15,096 -2,518 -14.3%
Incl. CPU (microsecs) per call 652 559 -93 -14.3%
Excl. CPU (microsec)328 338 10 3.0%
Incl. MemUse (bytes)1,029,496 1,029,496 0 0.0%
Incl. MemUse (bytes) per call 38,129 38,129 0 0.0%
Excl. MemUse (bytes)-4,368 -4,368 0 0.0%
Incl. PeakMemUse (bytes)1,035,384 1,035,384 0 0.0%
Incl. PeakMemUse (bytes) per call 38,348 38,348 0 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% -2,510 -38.0% -2,518 -39.8% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function22 0.9% 10 0.4% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -2,730 -108.8% -2,737 -108.7% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 147 5.9% 148 5.9% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 84 3.3% 83 3.3% 0 N/A% 0 N/A%
user_access0 N/A% -25 -1.0% -29 -1.2% 0 N/A% 0 N/A%
edit_page_build0 N/A% 15 0.6% 15 0.6% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -2 -0.1% -1 -0.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 1 0.0% 1 0.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 0 0.0% 1 0.0% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 1 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -2,275 -90.6% -2,281 -90.6% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -319 -12.7% -316 -12.5% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 39 1.6% 43 1.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 20 0.8% 17 0.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 5 0.2% 6 0.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -0.1% 3 0.1% 0 N/A% 0 N/A%