• Resolved hendrikappz

    (@hendrikappz)


    Hey guys,

    i’m trying to find problems with the loading time on my page. I am using query monitor for that.
    The problem is a user form with about 200 fields, it takes about 15 secs to load.

    I activated query monitor, but all i can see there is a loading time of about 1.08 secs.

    Is there a setting i am missing? Or are there things query monitor can not display/measure?

    with best regards,

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

    (@johnbillion)

    WordPress Core Developer

    Thanks for the message.

    This could be caused by a few things that QM can’t (or currently doesn’t) measure:

    1. A lot of slow PHP processing.
    2. Server-side HTTP requests that don’t use the WordPress HTTP API (for example, a direct cURL call).
    3. Reading a lot of data from the filesystem on a slow server.

    Unfortunately the only real way to debug issues like this is to start using some lower-level profilers such as Tideways. I’ve listed some options here: https://github.com/johnbillion/query-monitor#related-tools

    If you’re willing to get your hands dirty, QM includes some helper functionality for adding your own profiling to parts of your code: https://querymonitor.com/blog/2018/07/profiling-and-logging/. If you’ve got a vague idea where the problem might lie, you can start putting qm/start and qm/stop actions in the code of the form plugin to try to narrow down the problem.

    Otherwise, your best bet is just to get in touch with the author of the form plugin and see what they say.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Bear in mind that this slow loading might be network-level or client-side too. Check the numbers in the Overview panel in QM to confirm whether those 15 seconds are taken up generating the page server-side.

    If not, then your problem might be at the network level, or it might be a slow-down client side in the browser.

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

The topic ‘Monitoring Form does not work’ is closed to new replies.