Diff Report
Run #519afa8ec2e5c: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #519afb4e24ae7: 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 #519afa8ec2e5cRun #519afb4e24ae7DiffDiff%
Number of Function Calls1 1 0 0.0%
Incl. Wall Time (microsec)12,923 13,290 367 2.8%
Incl. Wall Time (microsec) per call 12,923 13,290 367 2.8%
Excl. Wall Time (microsec)70 66 -4 -5.7%
Incl. CPU (microsecs)11,225 11,239 14 0.1%
Incl. CPU (microsecs) per call 11,225 11,239 14 0.1%
Excl. CPU (microsec)54 55 1 1.9%
Incl. MemUse (bytes)640,360 640,496 136 0.0%
Incl. MemUse (bytes) per call 640,360 640,496 136 0.0%
Excl. MemUse (bytes)3,048 3,048 0 0.0%
Incl. PeakMemUse (bytes)691,544 691,528 -16 -0.0%
Incl. PeakMemUse (bytes) per call 691,544 691,528 -16 -0.0%
Excl. PeakMemUse (bytes)1,184 1,184 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% 367 38.9% 14 0.9% 136 0.3% -16 -0.0%
Exclusive Metrics Diff for Current Function-4 -1.1% 1 7.1% 0 0.0% 0 0.0%
Parent function
menu_set_active_trail0 N/A% 367 100.0% 14 100.0% 136 100.0% -16 -100.0%
Child functions
entity_load_multiple_by_properties0 N/A% 205 55.9% -58 -414.3% 136 100.0% -16 -100.0%
menu_get_active_menu_names0 N/A% 109 29.7% 50 357.1% 0 0.0% 0 0.0%
_menu_translate0 N/A% 47 12.8% 14 100.0% 0 0.0% 0 0.0%
drupal_static0 N/A% 4 1.1% 3 21.4% 0 0.0% 0 0.0%
in_array0 N/A% 4 1.1% 5 35.7% 0 0.0% 0 0.0%
explode0 N/A% 1 0.3% 0 0.0% 0 0.0% 0 0.0%
array_unshift0 N/A% 1 0.3% 1 7.1% 0 0.0% 0 0.0%
current_path0 N/A% 1 0.3% -1 -7.1% 0 0.0% 0 0.0%
menu_get_item0 N/A% -1 -0.3% -2 -14.3% 0 0.0% 0 0.0%
Drupal\menu_link\Plugin\Core\Entity\MenuLink::offsetGet0 N/A% 0 0.0% 1 7.1% 0 0.0% 0 0.0%