WordPress.org

Ready to get started?Download WordPress

Forums

Debug Queries
[resolved] Trouble Understanding Results (2 posts)

  1. iubjohnson
    Member
    Posted 6 months ago #

    Just installed this plugin, and have got it up and running successfully. I don't really understand the summary results though (see below). Says that total query time was 0.07002 seconds, but num_query time was 7.021 seconds. What's the difference between those two numbers, and can the long num_queries results point to something in particular that's causing my WP site to be slow?

    Total query time: 0.07002s for 147 queries.
    Total num_query time: 7.021 for 148 num_queries.
    ยป Different values in num_query and query? - please set the constant define('SAVEQUERIES', true);in your wp-config.php
    Page generated in 7.00745s, 99.00% PHP, 1.00% MySQL

    Cheers!

    http://wordpress.org/plugins/debug-queries/

  2. Frank
    Member
    Plugin Author

    Posted 3 months ago #

    The values are different, why the constant change the values. If you add this constant to the config, then can the plugin analyse all queries, also from the core.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.