Diff Report
Run #52d4b18f32fb6: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d4b1f732b14: 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 #52d4b1f732b14DiffDiff%
Number of Function Calls60 60 0 0.0%
Incl. Wall Time (microsec)11,834 11,879 45 0.4%
Incl. Wall Time (microsec) per call 197 198 1 0.4%
Excl. Wall Time (microsec)756 768 12 1.6%
Incl. CPU (microsecs)11,795 11,847 52 0.4%
Incl. CPU (microsecs) per call 197 197 1 0.4%
Excl. CPU (microsec)494 511 17 3.4%
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,560 56 0.0%
Incl. PeakMemUse (bytes) per call 2,842 2,843 1 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% 45 2.5% 52 2.8% 0 0.0% 56 0.1%
Exclusive Metrics Diff for Current Function12 26.7% 17 32.7% 0 N/A% 0 0.0%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 34 75.6% 36 69.2% 0 N/A% 0 0.0%
user_access0 N/A% 4 8.9% 10 19.2% 0 N/A% 56 100.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 4 8.9% 4 7.7% 0 N/A% 0 0.0%
contextual_page_build0 N/A% 3 6.7% 4 7.7% 0 N/A% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 3 6.7% 2 3.8% 0 N/A% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -3 -6.7% -4 -7.7% 0 N/A% 0 0.0%
shortcut_set_edit_access0 N/A% -1 -2.2% 0 0.0% 0 N/A% 0 0.0%
edit_page_build0 N/A% 1 2.2% 1 1.9% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% 0 0.0% -1 -1.9% 0 N/A% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 46 102.2% 44 84.6% 0 N/A% 56 100.0%
Drupal::entityManager0 N/A% -8 -17.8% -6 -11.5% 0 N/A% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -13.3% -6 -11.5% 0 N/A% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -6 -13.3% 6 11.5% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 6 13.3% -3 -5.8% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 2.2% 0 0.0% 0 N/A% 0 0.0%