• Resolved MisterHunter

    (@misterhunter)


    I’m currently trying to debug why an ajax request is taking so long to process and which queries are causing it to slow down.

    I know that the response headers include some general information such as memory and memory usage but I’m wondering if it’s possible to either return some detailed information about the database queries that ran during the ajax request? Either that or save them to a debug file on the server?

    Thanks for any information!

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

    (@johnbillion)

    WordPress Core Developer

    This isn’t currently possible but it’s the most highly requested feature. It’s in development at the moment, but there’s no ETA just yet.

    Thread Starter MisterHunter

    (@misterhunter)

    Is there a git branch for it currently? I don’t mind helping if possible.

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    There is a branch for the prerequisite, which is to switch the front end rendering of QM over to using client-side React: https://github.com/johnbillion/query-monitor/tree/client-side-rendering-feature . This solves an entire class of problems and limitations with the current server-side rendering, including being able to log and display full data for Ajax responses. It’s functional but still very far from being stable. I’m aiming for something stable by the end of the year.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Save queries from an ajax request?’ is closed to new replies.