Closed (duplicate)
Project:
Administration menu
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Feb 2013 at 08:50 UTC
Updated:
30 Jul 2018 at 06:52 UTC
Jump to comment: Most recent
Comments
Comment #1
johnvApparently admin_menu thinks it is necessary to create a new entry in cache_menu, each time a admin_user logs in.
However, the high load time is due to bad performance in core menu.inc file, which loads every object in the shown menus. Admin_menu taps into core menu system when it calls _menu_translate() while rebuilding the menu cache.
Problems arise when you have lots of entities (nodes/terms) in your menu.
Root cause is described in #1978176: Build menu_tree without loading so many objects , which tries to resolve that issue.
Related issues:
#1923260: og_menus uselessly included / high server load at log-in is a duplicate of this, but aimed at a specific use case;
#420816: On-demand loading of dynamic paths and local tasks #1 would not be necessary with performant core menu;
#1699230: Infinite Loop in admin_menu_merge_tree (admin_menu.inc) is probably unrelated;
Comment #2
johnvBetter title for tracking in other issues.
Comment #3
Chris CharltonBump.
Comment #4
johnvClosing as a duplicate of #1978176: Build menu_tree without loading so many objects