Active
Project:
Drupal core
Version:
main
Component:
menu system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jul 2014 at 19:03 UTC
Updated:
5 Mar 2026 at 18:34 UTC
Jump to comment: Most recent
In MenuTreeStorage.php
// @todo We want to also check $original['has_children'] here, but that
// will be 0 even if there are children if those are hidden.
// has_children is really just the rendering hint. So, we either need
// to define another column (has_any_children), or do the extra query.Question is - do we want to increase performance by removing query but add complexity by adding another extra column in the table?
Comments
Comment #1
elijah lynnComment #2
dawehnerComment #3
xjmComment #4
pwolanin commentedComment #5
mgiffordUnblocked.
Comment #6
moshe weitzman commentedmenuTreeStorage performance is showing up on recent flamegraphs. This would help.
Comment #20
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!
Comment #21
smustgrave commentedWanted to bump 1 more time since this has to do with performance.
Comment #23
smustgrave commentedBelieve this one to still be valid. Least the todo still exists.