Diff Report
Run #53ccf19d00e96: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #53ccf06f3ae60: 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 #53ccf19d00e96Run #53ccf06f3ae60DiffDiff%
Number of Function Calls2 2 0 0.0%
Incl. Wall Time (microsec)4,882 4,914 32 0.7%
Incl. Wall Time (microsec) per call 2,441 2,457 16 0.7%
Excl. Wall Time (microsec)62 61 -1 -1.6%
Incl. CPU (microsecs)4,190 4,203 13 0.3%
Incl. CPU (microsecs) per call 2,095 2,102 7 0.3%
Excl. CPU (microsec)43 41 -2 -4.7%
Incl. MemUse (bytes)361,160 361,160 0 0.0%
Incl. MemUse (bytes) per call 180,580 180,580 0 0.0%
Excl. MemUse (bytes)4,472 4,472 0 0.0%
Incl. PeakMemUse (bytes)372,240 372,240 0 0.0%
Incl. PeakMemUse (bytes) per call 186,120 186,120 0 0.0%
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% 32 2.4% 13 1.3% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-1 -3.1% -2 -15.4% 0 N/A% 0 N/A%
Parent function
Drupal\menu_link\MenuTree::menuLinkGetPreferred0 N/A% 32 100.0% 13 100.0% 0 N/A% 0 N/A%
Child functions
entity_load_multiple_by_properties0 N/A% 59 184.4% 47 361.5% 0 N/A% 0 N/A%
Drupal\Core\Access\AccessManager::checkNamedRoute0 N/A% -20 -62.5% -21 -161.5% 0 N/A% 0 N/A%
menu_get_active_menu_names0 N/A% -9 -28.1% -14 -107.7% 0 N/A% 0 N/A%
_menu_item_localize0 N/A% 3 9.4% 4 30.8% 0 N/A% 0 N/A%
Drupal::service0 N/A% 1 3.1% 1 7.7% 0 N/A% 0 N/A%
Drupal\menu_link\Entity\MenuLink::offsetGet0 N/A% -1 -3.1% -1 -7.7% 0 N/A% 0 N/A%
Drupal\menu_link\Entity\MenuLink::offsetSet0 N/A% 0 0.0% -1 -7.7% 0 N/A% 0 N/A%
current_path0 N/A% 0 0.0% -1 -7.7% 0 N/A% 0 N/A%
array_unshift0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Drupal::currentUser0 N/A% 0 0.0% 1 7.7% 0 N/A% 0 N/A%
drupal_static0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
in_array0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%