Diff Report
Run #52c641a950046: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52c642960e9a6: 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 #52c641a950046Run #52c642960e9a6DiffDiff%
Number of Function Calls98 98 0 0.0%
Incl. Wall Time (microsec)20,380 20,484 104 0.5%
Incl. Wall Time (microsec) per call 208 209 1 0.5%
Excl. Wall Time (microsec)1,318 1,339 21 1.6%
Incl. CPU (microsecs)20,348 20,471 123 0.6%
Incl. CPU (microsecs) per call 208 209 1 0.6%
Excl. CPU (microsec)1,021 1,070 49 4.8%
Incl. MemUse (bytes)749,400 749,384 -16 -0.0%
Incl. MemUse (bytes) per call 7,647 7,647 -0 -0.0%
Excl. MemUse (bytes)-23,768 -23,768 0 0.0%
Incl. PeakMemUse (bytes)785,248 785,192 -56 -0.0%
Incl. PeakMemUse (bytes) per call 8,013 8,012 -1 -0.0%
Excl. PeakMemUse (bytes)36,296 36,296 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% 104 3.6% 123 4.7% -16 -0.1% -56 -0.2%
Exclusive Metrics Diff for Current Function21 20.2% 49 39.8% 0 0.0% 0 0.0%
Parent functions
user_access0 N/A% 54 51.9% 48 39.0% 0 0.0% -40 -71.4%
rdf_preprocess_node0 N/A% 50 48.1% 51 41.5% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% 3 2.9% 2 1.6% 0 0.0% 0 0.0%
contextual_page_build0 N/A% -2 -1.9% -1 -0.8% 0 0.0% 0 0.0%
Drupal\views\ViewsAccessCheck::access0 N/A% -1 -1.0% 27 22.0% 0 0.0% 0 0.0%
tour_preprocess_page0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
edit_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% -1 -0.8% 0 0.0% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 0 0.0% -2 -1.6% -16 -100.0% -16 -28.6%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 0 0.0% -1 -0.8% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 56 53.8% 52 42.3% -8 -50.0% -48 -85.7%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 18 17.3% 13 10.6% -8 -50.0% -8 -14.3%
Drupal\Core\Session\UserSession::getRoles0 N/A% 9 8.7% 14 11.4% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 7 6.7% -4 -3.3% 0 0.0% 0 0.0%
Drupal\user\Entity\Role::hasPermission0 N/A% -6 -5.8% 0 0.0% 0 0.0% 0 0.0%
Drupal::entityManager0 N/A% -1 -1.0% -1 -0.8% 0 0.0% 0 0.0%