Diff Report
Run #52f5c0f4ebbb2: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52f5c0b2e882a: 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 #52f5c0f4ebbb2Run #52f5c0b2e882aDiffDiff%
Number of Function Calls24 24 0 0.0%
Incl. Wall Time (microsec)10,730 10,679 -51 -0.5%
Incl. Wall Time (microsec) per call 447 445 -2 -0.5%
Excl. Wall Time (microsec)321 326 5 1.6%
Incl. CPU (microsecs)10,285 10,240 -45 -0.4%
Incl. CPU (microsecs) per call 429 427 -2 -0.4%
Excl. CPU (microsec)219 215 -4 -1.8%
Incl. MemUse (bytes)1,281,784 1,281,784 0 0.0%
Incl. MemUse (bytes) per call 53,408 53,408 0 0.0%
Excl. MemUse (bytes)-2,592 -2,592 0 0.0%
Incl. PeakMemUse (bytes)1,300,136 1,300,136 0 0.0%
Incl. PeakMemUse (bytes) per call 54,172 54,172 0 0.0%
Excl. PeakMemUse (bytes)2,456 2,456 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% -51 -9.5% -45 -8.4% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function5 9.8% -4 -8.9% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% -58 -113.7% -49 -108.9% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 6 11.8% 6 13.3% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -5 -9.8% -4 -8.9% 0 N/A% 0 N/A%
user_access0 N/A% 3 5.9% 1 2.2% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -3 -5.9% -1 -2.2% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 2 3.9% 0 0.0% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 2 3.9% 1 2.2% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 2.0% 1 2.2% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 1 2.0% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -28 -54.9% -25 -55.6% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% -25 -49.0% -18 -40.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -3 -5.9% -1 -2.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 2 3.9% 7 15.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -2.0% -2 -4.4% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -1 -2.0% -2 -4.4% 0 N/A% 0 N/A%