Diff Report
Run #52c96b69a1c07: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c96bbf45f87: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #52c96b69a1c07Run #52c96bbf45f87DiffDiff%
Number of Function Calls24 24 0 0.0%
Incl. Wall Time (microsec)6,006 5,980 -26 -0.4%
Incl. Wall Time (microsec) per call 250 249 -1 -0.4%
Excl. Wall Time (microsec)316 319 3 0.9%
Incl. CPU (microsecs)5,932 5,907 -25 -0.4%
Incl. CPU (microsecs) per call 247 246 -1 -0.4%
Excl. CPU (microsec)213 220 7 3.3%
Incl. MemUse (bytes)417,368 417,392 24 0.0%
Incl. MemUse (bytes) per call 17,390 17,391 1 0.0%
Excl. MemUse (bytes)-3,032 -3,032 0 0.0%
Incl. PeakMemUse (bytes)378,888 376,448 -2,440 -0.6%
Incl. PeakMemUse (bytes) per call 15,787 15,685 -102 -0.6%
Excl. PeakMemUse (bytes)2,760 2,760 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% -26 -4.6% -25 -4.5% 24 0.0% -2,440 -4.9%
Exclusive Metrics Diff for Current Function3 11.5% 7 28.0% 0 0.0% 0 0.0%
Parent functions
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -42 -161.5% -44 -176.0% 24 100.0% 24 1.0%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% -37 -142.3% -36 -144.0% 0 0.0% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 31 119.2% 30 120.0% 0 0.0% 0 0.0%
user_access0 N/A% 24 92.3% 27 108.0% 0 0.0% -2,504 -102.6%
tour_preprocess_page0 N/A% -3 -11.5% -2 -8.0% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 3 11.5% 3 12.0% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -2 -7.7% -3 -12.0% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 0 0.0% 0 0.0% 0 0.0% 40 1.6%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child functions
Drupal::entityManager0 N/A% -30 -115.4% -33 -132.0% 0 0.0% -224 -9.2%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 27 103.8% 35 140.0% 24 100.0% -2,216 -90.8%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -26 -100.0% -24 -96.0% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -3.8% -3 -12.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 3.8% -5 -20.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -2 -8.0% 0 0.0% 0 0.0%