Diff Report
Run #52d3e93cb560e: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d3e964b719c: 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 #52d3e93cb560eRun #52d3e964b719cDiffDiff%
Number of Function Calls35 35 0 0.0%
Incl. Wall Time (microsec)7,682 7,704 22 0.3%
Incl. Wall Time (microsec) per call 219 220 1 0.3%
Excl. Wall Time (microsec)453 460 7 1.5%
Incl. CPU (microsecs)7,620 7,644 24 0.3%
Incl. CPU (microsecs) per call 218 218 1 0.3%
Excl. CPU (microsec)303 291 -12 -4.0%
Incl. MemUse (bytes)155,472 155,472 0 0.0%
Incl. MemUse (bytes) per call 4,442 4,442 0 0.0%
Excl. MemUse (bytes)-8,680 -8,680 0 0.0%
Incl. PeakMemUse (bytes)172,808 172,808 0 0.0%
Incl. PeakMemUse (bytes) per call 4,937 4,937 0 0.0%
Excl. PeakMemUse (bytes)3,504 3,504 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% 22 7.4% 24 8.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function7 31.8% -12 -50.0% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 16 72.7% 18 75.0% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 4 18.2% 5 20.8% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 3 13.6% 2 8.3% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -2 -9.1% -2 -8.3% 0 N/A% 0 N/A%
user_access0 N/A% 2 9.1% 5 20.8% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -1 -4.5% -3 -12.5% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
edit_page_build0 N/A% 0 0.0% 1 4.2% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% -2 -8.3% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 24 109.1% 33 137.5% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -12 -54.5% -8 -33.3% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 3 13.6% 11 45.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 3 13.6% 9 37.5% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% -2 -9.1% -7 -29.2% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -4.5% -2 -8.3% 0 N/A% 0 N/A%