How do I display database query statistics on WordPress site?

I’ve noticed that a few WordPress blogs have query statistics present in their footer that simply state the number of queries and the total time required to process them for the particular page, reading something like:

23 queries. 0.448 seconds

I was wondering how this is accomplished. Is it through the use of a particular WordPress plug-in or perhaps from using some particular php function in the page’s code?

Add Comment

  • 0 Answer(s)

  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.