WordPress.org

Forums

Debug Objects
[resolved] Different values in num_query and query? (1 post)

  1. steeleware
    Member
    Posted 1 year ago #

    First of all, thanks for the great plugin! I'm occasionally experiencing very slow load times on my web-host and I'm using your plugin to troubleshoot.

    Can you tell me what the num_queries value is and how it differs from queries? I see this message but I don't understand it: "Different values in num_query and query?"

    Here's my example - you can see the length of time it took for the page to render is 31.4 seconds.

    Total query time: 411.7ms for 20 queries (0.411673784255981s)
    Total num_query time: 31.583 for 22 num_queries.
    ยป Different values in num_query and query? - please set the constant define( 'SAVEQUERIES', TRUE );in your wp-config.php
    Page generated in 31,446.3ms; (31.4462878704071044921875s); 98.69% PHP; 1.31% MySQL

    When the page loads fast, I don't see the num_query value:

    Total query time: 15.7ms for 22 queries (0.015749216079712s)
    Page generated in 504.5ms; (0.5045380592346191406250s); 96.88% PHP; 3.12% MySQL

    https://wordpress.org/plugins/debug-objects/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Debug Objects
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic