• Resolved nerdykronos

    (@nerdykronos)


    Hi there,
    I thoroughly searched the internet to find a useful article on how to effectively use this plugin but alas! I couldn’t even a single one.
    I used the plugin’s “queries by component” function and removed a plugin causing way too many queries but other than that I couldn’t figure how to use this plugin.
    Can anyone please explain how to use this plugin (mainly how to find slow plugins).

    Thanks a lot πŸ™‚

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Hey, thanks for the message.

    I guess the short answer to this is that QM is a developer-focused plugin, so if you’re not a developer then this plugin might not be for you. That said, the Queries by Component section should allow you to get an idea of which plugins or themes are generating a large number of database queries.

    In addition, you can use the Hooks section to see which plugins or themes are doing a lot, although it doesn’t currently show you processing time for hooks (something that I have planned for the future) so it’s only a starting point for looking into slow plugins.

    You might want to check out the P3 Profiler plugin which also gives you a good starting point to identifying slow plugins.

    What would be considered a large amount of queries? I have 99 queries on the home page. There are a lot that deal with the menu navigation…

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    It depends how complex your home page is. 99 is high for a simple home page, but not particularly high for a home page with a large number of posts or other data on it.

    Unfortunately, the answer is “it depends” πŸ™‚

    Thread Starter nerdykronos

    (@nerdykronos)

    @johnbillion

    Thanks for the reply.
    Unfortunately, the P3 plugin has been discontinued.I’ll try to use the Hooks section and see if I can make some sense out of it(hopefully in a staging environment).
    Btw thanks for this amazing plugin and looking forward to future updates.
    πŸ™‚

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    The P3 plugin has been discontinued, but the last time I tried it, it still worked. Give it a try.

    Does this plugin tell, in any way, how many queries have occurred in the last 1 hour or last 1 day (and may be components wise)?

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Nope, it shows you data for the current page load.

    The P3 Plugin works as long as you don’t update to PHP 7.0

    @johnbillion

    Nope, it shows you data for the current page load.

    Can you pls refer me to some resource by watching/reading which, I (who can’t write a single line of code) could understand the workings/reports of query monitor better and pin point the reasons behind the queries which show in ‘Red’ color?

    Some resource, by which I could decipher all the reports of QM. Thanks.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    As a non-developer, you’re probably not in a position to be able to fix issues that QM highlights, but there is some information here which can help you out: https://www.wpintense.com/2017/09/11/identify-scalability-issues-wordpress-website/ (article written by a third party, not me).

    If you have a database query in red colour, that means there’s an error that needs to be fixed. You should contact the author of the plugin that’s listed as the “Component” for that query.

    If the red error refers to something else such as Scripts and Styles, then it’s also an error and you’ll need to determine which plugin or theme is enqueuing the script or style incorrectly and contact the corresponding author to let them know.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘How to use this plugin’ is closed to new replies.