slow queries
-
Hi,
Very fond of the features, however performance-wise I was never a big fan. Afgter moving to a faster host and your plugin still performing poorly, I decided to install Query Monitor and I was not surprised to see that this plugin identified three of your queries as being slow.
MLAReferences::mla_attachment_array_fetch_references_handler() – 12.0689 – 3rows
WP_Term_Query->get_terms() – 0.0869 – 1240rows
wp_count_attachments() – 0.0558 – 3rowsOn top of that, both
WP_Term_Query->get_terms() and WP_User_Query->query() are identified as duplicate queries.Looking at the slowest query, it’s obvious that this will only get slower over time as I run a site that is all about photography and the query uses all the custom image sizes. So for every photo that means 6 hits. I would suggest a redesign of that query, after all the custom image sizes are not relevant for the job that MLA does?
For the WP_Term_Query, the duplicate is because of dropdown_categories and terms_checklist, can both not be done with one call?
Why the WP_User_Query gets called twice, I have no idea.
As said, I really like the features your plugin provides, but 12 seconds for the screen to load can hardly be called acceptable.
Regards,
Ronald
- The topic ‘slow queries’ is closed to new replies.