Here’s a little snippet which I sometimes use in my footer during development.
It basically checks how many db queries are made when the page loads and how long those queries took to retrieve and display. Very handy if you are performance-oriented and need to check performance of 3rd-party plugins.
<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.
Once added, refresh the page of your site to display the results. You can als add this to any PHP template other than the footer.