1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website Page Speed Tools?

Discussion in 'General Programming Chat' started by rebel.man, Apr 6, 2011.

  1. rebel.man

    rebel.man Newbie

    Joined:
    Mar 21, 2011
    Messages:
    27
    Likes Received:
    0
    I'm trying to find any good tools to benchmark the page load times of my site. I know this would be dependent on browser, but I need something that just loads my site like 1000 times and gives me the average load time.
     
  2. mailhelper

    mailhelper Registered Member

    Joined:
    Mar 23, 2011
    Messages:
    88
    Likes Received:
    10
    Occupation:
    Email Marketing Expert
    Location:
    Bangladesh
    Try google webmaster tool. Best tool around.
     
  3. Senotaru

    Senotaru Registered Member

    Joined:
    Jan 17, 2011
    Messages:
    67
    Likes Received:
    11
    Since this is in the programming section, I'll give a programming solution to the problem. In this example, this is c#:

    You need 3 different variables:

    Code:
    DateTime start; DateTime stop; TimeSpan totalTime;
    
    Then in your request method:
    Code:
    start = DateTime.Now;
    String urlReturned = [whatever method you use to connect to your site, I use httpwebrequest]
    stop = DateTime.Now; totalTime = stop - start;
    
    This will give you the total milliseconds or ticks it took to get the page. You can get the time it took by doing this:
    Code:
    returned = (int)totalTime.TotalMilliseconds;
    
    or output it as a string:
    Code:
    returned.ToString();
    
    Hope that helped.

    edit: To get the average time, make an Int and add the milliseconds you get back to it. Then divide that by how many requests you made, and that will be the average load time for your site over however many requests you want to do.
     
    Last edited: Apr 17, 2011
  4. reddoradomedia

    reddoradomedia Newbie

    Joined:
    Jan 5, 2011
    Messages:
    7
    Likes Received:
    1
    The gold standard here is Gomez. You have to pay for it because it's a commercial tool, but it measures latency from the "last mile". In other words they pull pages from your site from network points across the country to simulate actual load time to end users. And they have a nice alerting framework so you can use it as a monitoring tool to tell you if your site goes down or you have a major bandwidth or application problem.
     
  5. flexnds

    flexnds Power Member

    Joined:
    Jan 4, 2010
    Messages:
    643
    Likes Received:
    681
    Occupation:
    Internet Marketing, Web development, Internet Repu
    Location:
    AZ
    yslow FF plugin

    [youtube]NxG482t3vKc[/youtube]
     
    Last edited: Apr 27, 2011
  6. jannat8

    jannat8 Registered Member

    Joined:
    May 18, 2011
    Messages:
    86
    Likes Received:
    2
    oh thank you so much for sharing :)
     
  7. rabenus

    rabenus Junior Member

    Joined:
    Apr 14, 2009
    Messages:
    143
    Likes Received:
    38
    I am not much of a coder so I dunno how to do it. But I am using some WP plugins to make my pages load faster. Like WP Super Cache. I also heard CDN can do the trick but it's expensive.
     
  8. edgematch

    edgematch Elite Member

    Joined:
    May 24, 2010
    Messages:
    2,541
    Likes Received:
    1,950
    Occupation:
    You can never guess!
    Location:
    :noitacoL