Diff Report
Run #541de5cbd937a: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #541de429e5ab1: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Session\AccountProxy::hasPermission

Drupal\Core\Session\AccountProxy::hasPermissionRun #541de5cbd937aRun #541de429e5ab1DiffDiff%
Number of Function Calls131 131 0 0.0%
Incl. Wall Time (microsec)21,655 21,783 128 0.6%
Incl. Wall Time (microsec) per call 165 166 1 0.6%
Excl. Wall Time (microsec)743 734 -9 -1.2%
Incl. CPU (microsecs)21,304 21,458 154 0.7%
Incl. CPU (microsecs) per call 163 164 1 0.7%
Excl. CPU (microsec)617 641 24 3.9%
Incl. MemUse (bytes)1,511,808 1,511,896 88 0.0%
Incl. MemUse (bytes) per call 11,541 11,541 1 0.0%
Excl. MemUse (bytes)16,288 16,288 0 0.0%
Incl. PeakMemUse (bytes)1,521,824 1,521,928 104 0.0%
Incl. PeakMemUse (bytes) per call 11,617 11,618 1 0.0%
Excl. PeakMemUse (bytes)4,040 4,112 72 1.8%

Parent/Child Regression/Improvement report for Drupal\Core\Session\AccountProxy::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\AccountProxy::hasPermission0 N/A% 128 1.4% 154 1.9% 88 0.1% 104 0.1%
Exclusive Metrics Diff for Current Function-9 -7.0% 24 15.6% 0 0.0% 72 69.2%
Parent functions
Drupal\comment\CommentLinkBuilder::buildCommentedEntityLinks0 N/A% 234 182.8% 243 157.8% 0 0.0% 0 0.0%
Drupal\Core\Access\AccessResult::allowIfHasPermission0 N/A% -125 -97.7% -115 -74.7% 88 100.0% 72 69.2%
Drupal\user\Theme\AdminNegotiator::applies0 N/A% 8 6.2% 13 8.4% 0 0.0% 0 0.0%
rdf_preprocess_node0 N/A% -8 -6.2% -9 -5.8% 0 0.0% 0 0.0%
Drupal\search\Plugin\Block\SearchBlock::blockAccess0 N/A% 7 5.5% 6 3.9% 0 0.0% 0 0.0%
template_preprocess_username0 N/A% -5 -3.9% -4 -2.6% 0 0.0% -40 -38.5%
user_template_preprocess_default_variables_alter0 N/A% 5 3.9% 4 2.6% 0 0.0% 144 138.5%
Drupal\node\NodeAccessControlHandler::createAccess0 N/A% 4 3.1% 2 1.3% 0 0.0% 0 0.0%
node_query_node_access_alter0 N/A% 4 3.1% 1 0.6% 0 0.0% 0 0.0%
node_help0 N/A% 4 3.1% 5 3.2% 0 0.0% 0 0.0%
shortcut_set_edit_access0 N/A% -3 -2.3% -1 -0.6% 0 0.0% 0 0.0%
contextual_page_build0 N/A% 2 1.6% 3 1.9% 0 0.0% 0 0.0%
node_views_query_substitutions0 N/A% 2 1.6% 4 2.6% 0 0.0% -72 -69.2%
views_preprocess_page0 N/A% -1 -0.8% 1 0.6% 0 0.0% 0 0.0%
Drupal\Core\Menu\DefaultMenuLinkTreeManipulators::menuLinkCheckAccess0 N/A% 1 0.8% -1 -0.6% 0 0.0% 0 0.0%
tour_page_build0 N/A% -1 -0.8% -1 -0.6% 0 0.0% 0 0.0%
Drupal\node\NodeAccessControlHandler::checkCreateAccess0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
quickedit_page_build0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
toolbar_page_build0 N/A% 0 0.0% 3 1.9% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Session\UserSession::hasPermission0 N/A% 131 102.3% 120 77.9% 88 100.0% 32 30.8%
Drupal\Core\Session\AccountProxy::getAccount0 N/A% 6 4.7% 10 6.5% 0 0.0% 0 0.0%