Poor performance on large data sets
Closed this issue · 3 comments
Serhii-the-Dev commented
Hi!
In cases if there are huge amounts of content per a few content types, Menu Editor loading time increasing dramatically(~30 seconds). I've found that this line of code looks like it loads all content of all content types...I don't know why menu editor should do this, but when I've removed this line the editor still works well and a loading time value become normal(~400ms).
bacbos commented
You're right, it should not be doing this.
Looking over it quickly, I'd say this is a relict from when the menu-editor was not using ajax-searching through content-types, so it loaded everything in advance to populate the static select-field.
Do you mind sending in a PR? :)
Serhii-the-Dev commented
Done, awaits for approval
bacbos commented
Great, thanks a lot!