Diff Report
Run #52e417f8e04a5: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #52e418f395327: 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 #52e418f395327DiffDiff%
Number of Function Calls40 40 0 0.0%
Incl. Wall Time (microsec)7,555 7,595 40 0.5%
Incl. Wall Time (microsec) per call 189 190 1 0.5%
Excl. Wall Time (microsec)560 552 -8 -1.4%
Incl. CPU (microsecs)7,512 7,559 47 0.6%
Incl. CPU (microsecs) per call 188 189 1 0.6%
Excl. CPU (microsec)367 379 12 3.3%
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,640 184 0.1%
Incl. PeakMemUse (bytes) per call 3,211 3,216 5 0.1%
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% 40 125.0% 47 25.3% 0 0.0% 184 0.5%
Exclusive Metrics Diff for Current Function-8 -20.0% 12 25.5% 0 N/A% 0 0.0%
Parent functions
template_preprocess_username0 N/A% 26 65.0% 24 51.1% 0 N/A% 0 0.0%
Drupal\user\Access\PermissionAccessCheck::access0 N/A% 14 35.0% 14 29.8% 0 N/A% -8 -4.3%
Drupal\node\Plugin\Search\NodeSearch::access0 N/A% -8 -20.0% -7 -14.9% 0 N/A% 16 8.7%
user_template_preprocess_default_variables_alter0 N/A% 7 17.5% 7 14.9% 0 N/A% 0 0.0%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 4 10.0% 4 8.5% 0 N/A% 0 0.0%
shortcut_set_edit_access0 N/A% 4 10.0% 5 10.6% 0 N/A% 0 0.0%
edit_page_build0 N/A% -3 -7.5% -3 -6.4% 0 N/A% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::access0 N/A% -3 -7.5% -2 -4.3% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% 3 7.5% 3 6.4% 0 N/A% 0 0.0%
user_access0 N/A% -3 -7.5% 3 6.4% 0 N/A% 0 0.0%
contextual_page_build0 N/A% -1 -2.5% 0 0.0% 0 N/A% 0 0.0%
Drupal\node\Plugin\Search\NodeSearch::searchFormAlter0 N/A% 0 0.0% -1 -2.1% 0 N/A% 176 95.7%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 52 130.0% 54 114.9% 0 N/A% 16 8.7%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% -12 -30.0% -7 -14.9% 0 N/A% 0 0.0%
Drupal::entityManager0 N/A% 9 22.5% 3 6.4% 0 N/A% 168 91.3%
Drupal\user\Entity\Role::hasPermission0 N/A% -1 -2.5% -1 -2.1% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::getRoles0 N/A% -1 -2.5% -2 -4.3% 0 N/A% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% 1 2.5% -12 -25.5% 0 N/A% 0 0.0%