Diff Report
Run #52c96d7c36f9e: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c96df6ca13b: 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 #52c96d7c36f9eRun #52c96df6ca13bDiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)6,828 6,784 -44 -0.6%
Incl. Wall Time (microsec) per call 201 200 -1 -0.6%
Excl. Wall Time (microsec)443 448 5 1.1%
Incl. CPU (microsecs)6,752 6,707 -45 -0.7%
Incl. CPU (microsecs) per call 199 197 -1 -0.7%
Excl. CPU (microsec)307 310 3 1.0%
Incl. MemUse (bytes)98,488 98,488 0 0.0%
Incl. MemUse (bytes) per call 2,897 2,897 0 0.0%
Excl. MemUse (bytes)-6,520 -6,520 0 0.0%
Incl. PeakMemUse (bytes)115,800 115,800 0 0.0%
Incl. PeakMemUse (bytes) per call 3,406 3,406 0 0.0%
Excl. PeakMemUse (bytes)3,112 3,112 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% -44 -35.2% -45 -5.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function5 11.4% 3 6.7% 0 N/A% 0 N/A%
Parent functions
user_access0 N/A% -27 -61.4% -26 -57.8% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -8 -18.2% -11 -24.4% 0 N/A% 0 N/A%
menu_form_node_form_alter0 N/A% -6 -13.6% -5 -11.1% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -3 -6.8% -3 -6.7% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 3 6.8% 4 8.9% 0 N/A% 0 N/A%
Drupal\filter\FilterFormatAccessController::checkAccess0 N/A% -2 -4.5% -2 -4.4% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -2 -4.5% -2 -4.4% 0 N/A% 0 N/A%
path_form_node_form_alter0 N/A% 1 2.3% 0 0.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% -1 -2.2% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 1 2.2% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -14 -31.8% -12 -26.7% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -14 -31.8% -11 -24.4% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -13 -29.5% -12 -26.7% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -13.6% -6 -13.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -2 -4.5% -9 -20.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 0 0.0% 2 4.4% 0 N/A% 0 N/A%