Diff Report
Run #52d4b590e6e18: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d4b5e5ddba1: 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 #52d4b590e6e18Run #52d4b5e5ddba1DiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)10,614 10,396 -218 -2.1%
Incl. Wall Time (microsec) per call 312 306 -6 -2.1%
Excl. Wall Time (microsec)433 440 7 1.6%
Incl. CPU (microsecs)10,314 10,135 -179 -1.7%
Incl. CPU (microsecs) per call 303 298 -5 -1.7%
Excl. CPU (microsec)275 303 28 10.2%
Incl. MemUse (bytes)830,184 830,184 0 0.0%
Incl. MemUse (bytes) per call 24,417 24,417 0 0.0%
Excl. MemUse (bytes)-8,168 -8,168 0 0.0%
Incl. PeakMemUse (bytes)859,328 859,328 0 0.0%
Incl. PeakMemUse (bytes) per call 25,274 25,274 0 0.0%
Excl. PeakMemUse (bytes)3,944 3,944 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% -218 -74.1% -179 -50.1% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function7 3.2% 28 15.6% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -222 -101.8% -184 -102.8% 0 N/A% 0 N/A%
user_access0 N/A% 7 3.2% 8 4.5% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -4 -1.8% -4 -2.2% 0 N/A% 0 N/A%
edit_page_build0 N/A% 2 0.9% 3 1.7% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -1 -0.5% -1 -0.6% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 0 0.0% -2 -1.1% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% 1 0.6% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% -1 -0.6% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 1 0.6% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -194 -89.0% -173 -96.6% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -34 -15.6% -28 -15.6% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 7 3.2% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -4 -1.8% -8 -4.5% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 1.4% 6 3.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -3 -1.4% -4 -2.2% 0 N/A% 0 N/A%