Diff Report
Run #52d4b18f32fb6: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d4b1d6bf728: 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 #52d4b18f32fb6Run #52d4b1d6bf728DiffDiff%
Number of Function Calls60 60 0 0.0%
Incl. Wall Time (microsec)11,834 11,829 -5 -0.0%
Incl. Wall Time (microsec) per call 197 197 -0 -0.0%
Excl. Wall Time (microsec)756 761 5 0.7%
Incl. CPU (microsecs)11,795 11,787 -8 -0.1%
Incl. CPU (microsecs) per call 197 196 -0 -0.1%
Excl. CPU (microsec)494 510 16 3.2%
Incl. MemUse (bytes)156,640 156,640 0 0.0%
Incl. MemUse (bytes) per call 2,611 2,611 0 0.0%
Excl. MemUse (bytes)-21,480 -21,480 0 0.0%
Incl. PeakMemUse (bytes)170,504 170,504 0 0.0%
Incl. PeakMemUse (bytes) per call 2,842 2,842 0 0.0%
Excl. PeakMemUse (bytes)3,408 3,408 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% -5 -4.4% -8 -18.6% 0 0.0% 0 0.0%
Exclusive Metrics Diff for Current Function5 100.0% 16 200.0% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 15 300.0% 13 162.5% 0 N/A% 0 N/A%
user_access0 N/A% -14 -280.0% -15 -187.5% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -3 -60.0% -4 -50.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% -1 -20.0% -1 -12.5% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -20.0% -2 -25.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -1 -20.0% 1 12.5% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% -1 -12.5% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 1 12.5% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -10 -200.0% -11 -137.5% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -120.0% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 3 60.0% -1 -12.5% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 2 40.0% 0 0.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 1 20.0% -9 -112.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 0 0.0% -3 -37.5% 0 N/A% 0 N/A%