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

Regression/Improvement summary for menu_link_get_preferred

menu_link_get_preferredRun #51978d4d92dd9Run #51978cc86c728DiffDiff%
Number of Function Calls1 1 0 0.0%
Incl. Wall Time (microsec)5,924 6,171 247 4.2%
Incl. Wall Time (microsec) per call 5,924 6,171 247 4.2%
Excl. Wall Time (microsec)57 62 5 8.8%
Incl. CPU (microsecs)4,915 5,122 207 4.2%
Incl. CPU (microsecs) per call 4,915 5,122 207 4.2%
Excl. CPU (microsec)42 46 4 9.5%
Incl. MemUse (bytes)207,624 207,592 -32 -0.0%
Incl. MemUse (bytes) per call 207,624 207,592 -32 -0.0%
Excl. MemUse (bytes)3,000 3,000 0 0.0%
Incl. PeakMemUse (bytes)271,368 271,200 -168 -0.1%
Incl. PeakMemUse (bytes) per call 271,368 271,200 -168 -0.1%
Excl. PeakMemUse (bytes)1,376 1,376 0 0.0%

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% 247 99.2% 207 171.1% -32 -0.1% -168 -0.7%
Exclusive Metrics Diff for Current Function5 2.0% 4 1.9% 0 0.0% 0 0.0%
Parent function
menu_set_active_trail0 N/A% 247 100.0% 207 100.0% -32 -100.0% -168 -100.0%
Child functions
entity_load_multiple_by_properties0 N/A% 201 81.4% 162 78.3% -32 -100.0% -168 -100.0%
menu_get_active_menu_names0 N/A% 27 10.9% 24 11.6% 0 0.0% 0 0.0%
_menu_translate0 N/A% 12 4.9% 12 5.8% 0 0.0% 0 0.0%
Drupal\menu_link\Plugin\Core\Entity\MenuLink::offsetGet0 N/A% -2 -0.8% 0 0.0% 0 0.0% 0 0.0%
current_path0 N/A% 2 0.8% 2 1.0% 0 0.0% 0 0.0%
drupal_static0 N/A% 1 0.4% 2 1.0% 0 0.0% 0 0.0%
menu_get_item0 N/A% 1 0.4% 2 1.0% 0 0.0% 0 0.0%
explode0 N/A% 0 0.0% -2 -1.0% 0 0.0% 0 0.0%
array_unshift0 N/A% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
in_array0 N/A% 0 0.0% 1 0.5% 0 0.0% 0 0.0%