Diff Report
Run #52e417f8e04a5: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52e4189e0e4fe: 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 #52e417f8e04a5Run #52e4189e0e4feDiffDiff%
Number of Function Calls40 40 0 0.0%
Incl. Wall Time (microsec)7,555 7,563 8 0.1%
Incl. Wall Time (microsec) per call 189 189 0 0.1%
Excl. Wall Time (microsec)560 545 -15 -2.7%
Incl. CPU (microsecs)7,512 7,525 13 0.2%
Incl. CPU (microsecs) per call 188 188 0 0.2%
Excl. CPU (microsec)367 387 20 5.4%
Incl. MemUse (bytes)104,440 104,440 0 0.0%
Incl. MemUse (bytes) per call 2,611 2,611 0 0.0%
Excl. MemUse (bytes)-9,064 -9,064 0 0.0%
Incl. PeakMemUse (bytes)128,456 128,456 0 0.0%
Incl. PeakMemUse (bytes) per call 3,211 3,211 0 0.0%
Excl. PeakMemUse (bytes)2,392 2,392 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% 8 2.2% 13 3.7% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-15 -187.5% 20 153.8% 0 N/A% 0 N/A%
Parent functions
template_preprocess_username0 N/A% 8 100.0% 6 46.2% 0 N/A% 0 N/A%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 8 100.0% 12 92.3% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -4 -50.0% -5 -38.5% 0 N/A% 0 N/A%
user_template_preprocess_default_variables_alter0 N/A% 3 37.5% 2 15.4% 0 N/A% 0 N/A%
edit_page_build0 N/A% -3 -37.5% -3 -23.1% 0 N/A% 0 N/A%
user_access0 N/A% -2 -25.0% 2 15.4% 0 N/A% 0 N/A%
shortcut_set_edit_access0 N/A% -1 -12.5% 0 0.0% 0 N/A% 0 N/A%
Drupal\node\Plugin\Search\NodeSearch::searchFormAlter0 N/A% -1 -12.5% -2 -15.4% 0 N/A% 0 N/A%
tour_preprocess_page0 N/A% 0 0.0% -1 -7.7% 0 N/A% 0 N/A%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% 0 0.0% 1 7.7% 0 N/A% 0 N/A%
contextual_page_build0 N/A% 0 0.0% 1 7.7% 0 N/A% 0 N/A%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 27 337.5% 19 146.2% 0 N/A% 0 N/A%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -8 -100.0% 0 0.0% 0 N/A% 0 N/A%
Drupal::entityManager0 N/A% 2 25.0% -7 -53.8% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::id0 N/A% 2 25.0% -9 -69.2% 0 N/A% 0 N/A%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -12.5% -5 -38.5% 0 N/A% 0 N/A%
Drupal\Core\Session\UserSession::getRoles0 N/A% 1 12.5% -5 -38.5% 0 N/A% 0 N/A%