Diff Report
Run #539fd2b68bc13: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #539fd0a78f1b7: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal::currentUser

Drupal::currentUserRun #539fd2b68bc13Run #539fd0a78f1b7DiffDiff%
Number of Function Calls301 301 0 0.0%
Incl. Wall Time (microsec)3,704 3,782 78 2.1%
Incl. Wall Time (microsec) per call 12 13 0 2.1%
Excl. Wall Time (microsec)1,000 1,015 15 1.5%
Incl. CPU (microsecs)4,108 4,197 89 2.2%
Incl. CPU (microsecs) per call 14 14 0 2.2%
Excl. CPU (microsec)1,106 1,113 7 0.6%
Incl. MemUse (bytes)17,792 17,792 0 0.0%
Incl. MemUse (bytes) per call 59 59 0 0.0%
Excl. MemUse (bytes)31,456 31,456 0 0.0%
Incl. PeakMemUse (bytes)15,808 15,480 -328 -2.1%
Incl. PeakMemUse (bytes) per call 53 51 -1 -2.1%
Excl. PeakMemUse (bytes)5,128 5,176 48 0.9%

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% 78 0.2% 89 0.2% 0 0.0% -328 -0.0%
Exclusive Metrics Diff for Current Function15 19.2% 7 7.9% 0 N/A% 48 14.6%
Parent functions
Drupal\Core\Entity\EntityAccessController::prepareUser0 N/A% 73 93.6% 82 92.1% 0 N/A% 0 0.0%
user_access0 N/A% 54 69.2% 62 69.7% 0 N/A% 48 14.6%
template_preprocess_username0 N/A% -43 -55.1% -46 -51.7% 0 N/A% -376 -114.6%
comment_node_links_alter0 N/A% 22 28.2% 21 23.6% 0 N/A% 0 0.0%
_menu_link_translate0 N/A% -16 -20.5% -17 -19.1% 0 N/A% 0 0.0%
shortcut_set_edit_access0 N/A% 16 20.5% 16 18.0% 0 N/A% 0 0.0%
rdf_preprocess_node0 N/A% -13 -16.7% -14 -15.7% 0 N/A% 0 0.0%
system_page_build0 N/A% -10 -12.8% -11 -12.4% 0 N/A% 0 0.0%
contextual_page_build0 N/A% -9 -11.5% -11 -12.4% 0 N/A% 0 0.0%
tour_preprocess_page0 N/A% 8 10.3% 8 9.0% 0 N/A% 0 0.0%
Drupal\history\Plugin\views\field\HistoryUserTimestamp::init0 N/A% 7 9.0% 7 7.9% 0 N/A% 0 0.0%
node_query_node_access_alter0 N/A% -7 -9.0% -14 -15.7% 0 N/A% 0 0.0%
Drupal\history\Plugin\views\field\HistoryUserTimestamp::render0 N/A% -5 -6.4% -5 -5.6% 0 N/A% 0 0.0%
Drupal\user\EventSubscriber\MaintenanceModeSubscriber::onKernelRequestMaintenance0 N/A% 2 2.6% 4 4.5% 0 N/A% 0 0.0%
Drupal\history\Plugin\views\field\HistoryUserTimestamp::query0 N/A% 1 1.3% 2 2.2% 0 N/A% 0 0.0%
devel_page_alter0 N/A% -1 -1.3% -1 -1.1% 0 N/A% 0 0.0%
quickedit_page_build0 N/A% -1 -1.3% 0 0.0% 0 N/A% 0 0.0%
user_views_query_substitutions0 N/A% 0 0.0% 3 3.4% 0 N/A% 0 0.0%
Drupal\Core\Form\FormBuilder::currentUser0 N/A% 0 0.0% 2 2.2% 0 N/A% 0 0.0%
user_translated_menu_link_alter0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 0.0%
user_template_preprocess_default_variables_alter0 N/A% 0 0.0% 1 1.1% 0 N/A% 0 0.0%
Child function
Drupal\Core\DependencyInjection\Container::get0 N/A% 63 80.8% 82 92.1% 0 N/A% -376 -114.6%