Page Speed – Test Script response speed

I made a website recent and it’s loading very slow. My Firebug Page Speed Score is 82/100. I think this is good. My website has 2 images and they have 100KB and some other small images for bullets, arrows and stuff that have not more that 50KB.
Anyway, my point is that the html is quite fast, but I have this html as a WordPress theme and a new host (cheap one).

My question: How can I find the time for my WordPress (or any PHP script) to echo out the page requested.

Read More

Can I know for sure if the hosting or the script that is making my page work slow?

Thank you!

Related posts

Leave a Reply

2 comments

  1. time your script?

    <?php
    $start = microtime(true);
    
      //your script here
    
    $end = microtime(true);
    $time = $end - $start;
    echo('script took ' . $time . ' seconds to execute.');
    ?>
    
  2. I use Fiddler for this. It is a handy tool that can accurately time the entire request and response, to and from the server.

    Just open Fiddler, go to your site, select all of the requests related, and click the statistics tab.