Diff Report
Run #52d4b590e6e18: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d4b60c154f6: 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 #52d4b60c154f6DiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)10,614 10,349 -265 -2.5%
Incl. Wall Time (microsec) per call 312 304 -8 -2.5%
Excl. Wall Time (microsec)433 439 6 1.4%
Incl. CPU (microsecs)10,314 10,081 -233 -2.3%
Incl. CPU (microsecs) per call 303 297 -7 -2.3%
Excl. CPU (microsec)275 276 1 0.4%
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,160 -168 -0.0%
Incl. PeakMemUse (bytes) per call 25,274 25,269 -5 -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% -265 -9.9% -233 -10.1% 0 0.0% -168 -0.1%
Exclusive Metrics Diff for Current Function6 2.3% 1 0.4% 0 N/A% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -257 -97.0% -226 -97.0% 0 N/A% -168 -100.0%
user_access0 N/A% -5 -1.9% -5 -2.1% 0 N/A% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 2 0.8% 2 0.9% 0 N/A% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -2 -0.8% -1 -0.4% 0 N/A% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -2 -0.8% -5 -2.1% 0 N/A% 0 0.0%
shortcut_set_edit_access0 N/A% -1 -0.4% -1 -0.4% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% 0 0.0% 3 1.3% 0 N/A% 0 0.0%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 0.0%
contextual_page_build0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 0.0%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -234 -88.3% -207 -88.8% -8 N/A% -8 -4.8%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -32 -12.1% -16 -6.9% 8 N/A% -160 -95.2%
Drupal\Core\Session\UserSession::id0 N/A% -6 -2.3% -18 -7.7% 0 N/A% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% 1 0.4% 9 3.9% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -0.4% -4 -1.7% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% 1 0.4% 2 0.9% 0 N/A% 0 0.0%