Diff Report
Run #52d3e8415aec3: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52d3e812c7cf2: 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 #52d3e8415aec3Run #52d3e812c7cf2DiffDiff%
Number of Function Calls33 33 0 0.0%
Incl. Wall Time (microsec)10,363 10,471 108 1.0%
Incl. Wall Time (microsec) per call 314 317 3 1.0%
Excl. Wall Time (microsec)434 430 -4 -0.9%
Incl. CPU (microsecs)10,089 10,215 126 1.2%
Incl. CPU (microsecs) per call 306 310 4 1.2%
Excl. CPU (microsec)291 280 -11 -3.8%
Incl. MemUse (bytes)830,136 830,136 0 0.0%
Incl. MemUse (bytes) per call 25,156 25,156 0 0.0%
Excl. MemUse (bytes)-7,656 -7,656 0 0.0%
Incl. PeakMemUse (bytes)856,424 856,424 0 0.0%
Incl. PeakMemUse (bytes) per call 25,952 25,952 0 0.0%
Excl. PeakMemUse (bytes)3,856 3,856 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% 108 92.3% 126 112.5% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-4 -3.7% -11 -8.7% 0 N/A% 0 N/A%
Parent functions
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 82 75.9% 96 76.2% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% 18 16.7% 19 15.1% 0 N/A% 0 N/A%
user_access0 N/A% 7 6.5% 9 7.1% 0 N/A% 0 N/A%
edit_page_build0 N/A% 1 0.9% 0 0.0% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% -1 -0.9% -1 -0.8% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% 1 0.9% 2 1.6% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 1 0.8% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 62 57.4% 71 56.3% 0 N/A% 0 N/A%
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 41 38.0% 49 38.9% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 5 4.6% 4 3.2% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 4 3.7% -2 -1.6% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% 3 2.8% 11 8.7% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% -3 -2.8% 4 3.2% 0 N/A% 0 N/A%