Diff Report
Run #52c8629919553: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c862c126d67: 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 #52c8629919553Run #52c862c126d67DiffDiff%
Number of Function Calls48 48 0 0.0%
Incl. Wall Time (microsec)12,606 12,447 -159 -1.3%
Incl. Wall Time (microsec) per call 263 259 -3 -1.3%
Excl. Wall Time (microsec)621 628 7 1.1%
Incl. CPU (microsecs)12,367 12,203 -164 -1.3%
Incl. CPU (microsecs) per call 258 254 -3 -1.3%
Excl. CPU (microsec)408 427 19 4.7%
Incl. MemUse (bytes)748,744 748,744 0 0.0%
Incl. MemUse (bytes) per call 15,599 15,599 0 0.0%
Excl. MemUse (bytes)-12,920 -12,920 0 0.0%
Incl. PeakMemUse (bytes)771,424 771,424 0 0.0%
Incl. PeakMemUse (bytes) per call 16,071 16,071 0 0.0%
Excl. PeakMemUse (bytes)3,832 3,832 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% -159 -24.7% -164 -21.2% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function7 4.4% 19 11.6% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -103 -64.8% -110 -67.1% 0 N/A% 0 N/A%
user_access0 N/A% -35 -22.0% -33 -20.1% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -11 -6.9% -9 -5.5% 0 N/A% 0 N/A%
Drupal\views\ViewsAccessCheck::access0 N/A% -11 -6.9% -9 -5.5% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 2 1.3% 0 0.0% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -2 -1.3% -3 -1.8% 0 N/A% 0 N/A%
shortcut_set_switch_access0 N/A% 1 0.6% 2 1.2% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% -1 -0.6% -2 -1.2% 0 N/A% 0 N/A%
tour_toolbar0 N/A% 1 0.6% 1 0.6% 0 N/A% 0 N/A%
contextual_page_build0 N/A% -1 -0.6% -2 -1.2% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 0.6% 1 0.6% 0 N/A% 0 N/A%
contextual_toolbar0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -86 -54.1% -87 -53.0% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -58 -36.5% -65 -39.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -14 -8.8% -11 -6.7% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -5 -3.1% -12 -7.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% -5 -3.1% 0 0.0% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 1.3% -8 -4.9% 0 N/A% 0 N/A%