Diff Report
Run #54433ad6a7755: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #544333b05173f: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal::currentUser

Drupal::currentUserRun #54433ad6a7755Run #544333b05173fDiffDiff%
Number of Function Calls529 529 0 0.0%
Incl. Wall Time (microsec)6,019 6,168 149 2.5%
Incl. Wall Time (microsec) per call 11 12 0 2.5%
Excl. Wall Time (microsec)1,583 1,660 77 4.9%
Incl. CPU (microsecs)6,545 6,726 181 2.8%
Incl. CPU (microsecs) per call 12 13 0 2.8%
Excl. CPU (microsec)1,605 1,718 113 7.0%
Incl. MemUse (bytes)14,552 14,552 0 0.0%
Incl. MemUse (bytes) per call 28 28 0 0.0%
Excl. MemUse (bytes)39,160 39,160 0 0.0%
Incl. PeakMemUse (bytes)9,440 9,592 152 1.6%
Incl. PeakMemUse (bytes) per call 18 18 0 1.6%
Excl. PeakMemUse (bytes)4,080 4,208 128 3.1%

Parent/Child Regression/Improvement report for Drupal::currentUser [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::currentUser0 N/A% 149 0.2% 181 0.2% 0 0.0% 152 0.3%
Exclusive Metrics Diff for Current Function77 51.7% 113 62.4% 0 N/A% 128 84.2%
Parent functions
Drupal\Core\Entity\EntityAccessControlHandler::prepareUser0 N/A% 120 80.5% 163 90.1% 0 N/A% 0 0.0%
template_preprocess_username0 N/A% 28 18.8% 22 12.2% 0 N/A% 0 0.0%
rdf_preprocess_node0 N/A% -9 -6.0% -3 -1.7% 0 N/A% 0 0.0%
node_help0 N/A% 7 4.7% 7 3.9% 24 N/A% 0 0.0%
system_page_attachments0 N/A% -4 -2.7% -4 -2.2% 0 N/A% 0 0.0%
node_views_query_substitutions0 N/A% 4 2.7% 2 1.1% 0 N/A% 0 0.0%
quickedit_page_attachments0 N/A% 4 2.7% -1 -0.6% 0 N/A% 0 0.0%
Drupal\Core\Form\FormBuilder::currentUser0 N/A% 3 2.0% 2 1.1% 0 N/A% 0 0.0%
user_views_query_substitutions0 N/A% -3 -2.0% -5 -2.8% 0 N/A% 0 0.0%
contextual_page_attachments0 N/A% -1 -0.7% -2 -1.1% 0 N/A% 0 0.0%
Drupal\user\Plugin\Menu\MyAccountMenuLink::isEnabled0 N/A% 1 0.7% 1 0.6% 0 N/A% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% -1 -0.7% 0 0.0% 0 N/A% 0 0.0%
views_preprocess_page0 N/A% 0 0.0% 0 0.0% 0 N/A% 24 15.8%
shortcut_set_edit_access0 N/A% 0 0.0% 0 0.0% -24 N/A% 0 0.0%
tour_page_bottom0 N/A% 0 0.0% -1 -0.6% 0 N/A% 0 0.0%
node_query_node_access_alter0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 0.0%
toolbar_page_top0 N/A% 0 0.0% 0 0.0% 0 N/A% 128 84.2%
Child function
Drupal\Core\DependencyInjection\Container::get0 N/A% 72 48.3% 68 37.6% 0 N/A% 24 15.8%