Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DashboardGridFieldPanel::getHierarchy() is very slow #85

Open
purplespider opened this issue Jun 23, 2017 · 0 comments
Open

DashboardGridFieldPanel::getHierarchy() is very slow #85

purplespider opened this issue Jun 23, 2017 · 0 comments

Comments

@purplespider
Copy link
Contributor

purplespider commented Jun 23, 2017

I have a site with over 1000 pages. Dashboard was taking over 30 seconds to load.

Narrowed it down to DashboardGridFieldPanel::getHierarchy() which seems to take 10 seconds for each DashboardGridFieldPanel. This function simply populates the Page dropdown in the panel's settings.

So could do with optimising, or at least stopping it running on each DashboardGridFieldPanel load, as it is only required when entering settings for a single DashboardGridFieldPanel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant