Diff Report
Run #539203c57074d: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #539201f8938f4: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

Regression/Improvement summary for menu_link_get_preferred

menu_link_get_preferredRun #539203c57074dRun #539201f8938f4DiffDiff%
Number of Function Calls2 2 0 0.0%
Incl. Wall Time (microsec)7,964 8,006 42 0.5%
Incl. Wall Time (microsec) per call 3,982 4,003 21 0.5%
Excl. Wall Time (microsec)112 105 -7 -6.2%
Incl. CPU (microsecs)6,671 6,933 262 3.9%
Incl. CPU (microsecs) per call 3,336 3,467 131 3.9%
Excl. CPU (microsec)87 76 -11 -12.6%
Incl. MemUse (bytes)231,880 231,880 0 0.0%
Incl. MemUse (bytes) per call 115,940 115,940 0 0.0%
Excl. MemUse (bytes)2,396 2,396 0 0.0%
Incl. PeakMemUse (bytes)238,484 238,484 0 0.0%
Incl. PeakMemUse (bytes) per call 119,242 119,242 0 0.0%
Excl. PeakMemUse (bytes)1,380 1,380 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% 42 17.0% 262 53.6% 0 N/A% 0 N/A%
Exclusive Metrics Diff for Current Function-7 -16.7% -11 -4.2% 0 N/A% 0 N/A%
Parent function
Drupal\menu_link\MenuTree::menuLinkGetPreferred0 N/A% 42 100.0% 262 100.0% 0 N/A% 0 N/A%
Child functions
menu_get_active_menu_names0 N/A% 45 107.1% 17 6.5% 0 N/A% 0 N/A%
Drupal\Core\Access\AccessManager::checkNamedRoute0 N/A% 20 47.6% 21 8.0% 0 N/A% 0 N/A%
drupal_static0 N/A% -8 -19.0% -6 -2.3% 0 N/A% 0 N/A%
entity_load_multiple_by_properties0 N/A% -8 -19.0% 241 92.0% 0 N/A% 0 N/A%
Drupal\menu_link\Entity\MenuLink::offsetSet0 N/A% 0 0.0% 1 0.4% 0 N/A% 0 N/A%
_menu_item_localize0 N/A% 0 0.0% -1 -0.4% 0 N/A% 0 N/A%
Drupal::currentUser0 N/A% 0 0.0% 0 0.0% 0 N/A% 0 N/A%
Drupal\menu_link\Entity\MenuLink::offsetGet0 N/A% 0 0.0% -2 -0.8% 0 N/A% 0 N/A%
current_path0 N/A% 0 0.0% 3 1.1% 0 N/A% 0 N/A%
array_unshift0 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%
Drupal::service0 N/A% 0 0.0% -1 -0.4% 0 N/A% 0 N/A%