Dot Net Perls

Website Performance Data

by Sam Allen

Problem

Gain insight into website performance in a specific field. What relationship is there between the number of HTTP requests and the time it takes a site to load? We want to learn the different factors that influence a site's speed. We must measure the total download size, the number of HTTP requests, and the time in seconds to download.

Solution

Test the performance characteristics of 20 websites obtained by a Google search. My experience with the development community is that many searches are for code explanations and samples. The search words I choose to test are "C# Sort".

Search Google for "C# sort"

With this search, I opened the first twenty pages. My developer site was listed twice on the second page of results. I wanted to include it in my comparison. The web browser I used counted the number of HTTP requests, the total size in bytes and also the total time in seconds for the page to completely finish.

What were the results?

My site Dot Net Perls was clearly in the top two places, with another site possibly being faster. The other 18 sites were slower. One blog was over 1 MB big, and the Microsoft blog page took 96 seconds to load. Another site loaded 136 files.

ActivitySite URLPage size (KB)HTTP requestsTransfer time (s)Comments
1google.com----
2devhood.com172.85162.761 HTTP error
3developerfusion.co.uk276.72644.53-
4dotnetjohn.com255.37252.25-
5jdconley.com484.6772.27-
6interact-sw.co.uk59.6441.35-
7microsoft.co.il (shair)304.7144-96 seconds
8en.csharp-online.net265.15302.73-
9codeproject.com439.06648.46-
10notaclue.net352.73382.8-
1125hoursaday.com254.03304.9-
12dotnetperls.com70.9680.628Two data URLs (not separate HTTP)
13dotnetperls.com48.4150.511Two data URLs
14developers.net384.55251.99No article!
15csharp411.com332.29332.66-
16modelmakertools.com175.58202.03-
17go4expert.com807.831366.09-
18protocolsofmatrix.blogspot.com1208.00905.561 HTTP request failed.
19builderau.com.au357.21728.13-
20forums.asp.net395.77645.73-
21eggheadcafe.com159.06301.44-

What follows here are the above results in graph form. The sites are indexed by a number in the left column of the above table. In the first graph below, Dot Net Perls is highlighted with purple, and in the bottom graph, Microsoft's blog site is highlighted in red (it required 96 seconds to finish, so I left it off the graph).

Why bother?

My investigation here was prompted by Yahoo Exceptional Performance. The above graphs strongly indicate that there is a relationship between number of HTTP requests and download time. However, there is an (equally?) strong relationship between total file size and download time. What are my final conclusions?

Conclusion

It would be wrong to say that the number of HTTP requests determines performance on broadband. Doubtless, reducing the number of requests is beneficial, but my results show that the total time is determined by the number of requests and total size downloaded. Fewer requests and smaller files will always be faster. Finally, there is a big performance difference between many search engine results.

Dot Net Perls
About
Sitemap
Source code
RSS
Internet
Firefox 3 Memory Benchmarks and Comparison
iPhone Web App Example Code
Back Button Use
DNS Lookups for Subdomain
GET and POST Requests in AJAX
Recent
Pi
NGEN Installer Class
List Element Equality
DateTime Tips and Tricks
Remove HTML Tags From String
© 2008 Sam Allen. All rights reserved.