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

Regression/Improvement summary for menu_link_get_preferred

menu_link_get_preferredRun #523e49a66dc20Run #523e4c6056bfdDiffDiff%
Number of Function Calls1 1 0 0.0%
Incl. Wall Time (microsec)11,704 12,712 1,008 8.6%
Incl. Wall Time (microsec) per call 11,704 12,712 1,008 8.6%
Excl. Wall Time (microsec)586 67 -519 -88.6%
Incl. CPU (microsecs)9,739 10,947 1,208 12.4%
Incl. CPU (microsecs) per call 9,739 10,947 1,208 12.4%
Excl. CPU (microsec)50 55 5 10.0%
Incl. MemUse (bytes)410,088 410,336 248 0.1%
Incl. MemUse (bytes) per call 410,088 410,336 248 0.1%
Excl. MemUse (bytes)3,000 3,024 24 0.8%
Incl. PeakMemUse (bytes)434,648 427,048 -7,600 -1.7%
Incl. PeakMemUse (bytes) per call 434,648 427,048 -7,600 -1.7%
Excl. PeakMemUse (bytes)0 0 0 N/A%

Parent/Child Regression/Improvement report for menu_link_get_preferred [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
menu_link_get_preferred0 N/A% 1,008 0.1% 1,208 0.2% 248 0.0% -7,600 -0.0%
Exclusive Metrics Diff for Current Function-519 -51.5% 5 0.4% 24 9.7% 0 0.0%
Parent function
menu_set_active_trail0 N/A% 1,008 100.0% 1,208 100.0% 248 100.0% -7,600 -100.0%
Child functions
entity_load_multiple_by_properties0 N/A% 1,413 140.2% 1,484 122.8% 33,024 13316.1% 26,504 348.7%
menu_get_active_menu_names0 N/A% 108 10.7% 233 19.3% 16 6.5% 808 10.6%
_menu_translate0 N/A% 5 0.5% 8 0.7% -48 -19.4% 14,208 186.9%
array_unshift0 N/A% 1 0.1% 0 0.0% 0 0.0% 0 0.0%
explode0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
current_path0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
in_array0 N/A% 0 0.0% -521 -43.1% -32,768 -13212.9% -49,120 -646.3%
Drupal\menu_link\Entity\MenuLink::offsetGet0 N/A% 0 0.0% -1 -0.1% 0 0.0% 0 0.0%
menu_get_item0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
drupal_static0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%