Run Report
Run #53ccf19d00e96: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Parent/Child report for menu_link_get_preferred [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
menu_link_get_preferred2 6.7% 4,882 0.7% 4,190 0.6% 361,160 0.8% 372,240 0.9%
Exclusive Metrics for Current Function62 1.3% 43 1.0% 4,472 1.2% 0 0.0%
Parent function
Drupal\menu_link\MenuTree::menuLinkGetPreferred2 100.0% 4,882 100.0% 4,190 100.0% 361,160 100.0% 372,240 100.0%
Child functions
entity_load_multiple_by_properties1 5.3% 2,998 61.4% 2,482 59.2% 285,144 79.0% 267,112 71.8%
Drupal\Core\Access\AccessManager::checkNamedRoute1 5.3% 1,217 24.9% 1,219 29.1% 48,184 13.3% 94,544 25.4%
menu_get_active_menu_names1 5.3% 465 9.5% 288 6.9% 10,808 3.0% 10,056 2.7%
_menu_item_localize1 5.3% 60 1.2% 61 1.5% 5,736 1.6% 0 0.0%
current_path2 10.5% 45 0.9% 47 1.1% 776 0.2% 128 0.0%
Drupal::service1 5.3% 10 0.2% 11 0.3% 736 0.2% 0 0.0%
drupal_static2 10.5% 10 0.2% 12 0.3% 1,048 0.3% 400 0.1%
Drupal::currentUser1 5.3% 9 0.2% 10 0.2% 784 0.2% 0 0.0%
Drupal\menu_link\Entity\MenuLink::offsetGet6 31.6% 3 0.1% 10 0.2% 888 0.2% 0 0.0%
array_unshift1 5.3% 1 0.0% 2 0.0% 864 0.2% 0 0.0%
Drupal\menu_link\Entity\MenuLink::offsetSet1 5.3% 1 0.0% 3 0.1% 944 0.3% 0 0.0%
in_array1 5.3% 1 0.0% 2 0.0% 776 0.2% 0 0.0%