News for hackers. Stuff that matters.
Re:Which loads faster? Pit websites against each other. by mikexstudios on Thursday July 08, 2010 @08:05PM (#1499220)
Here's the associated blog post from the developer: http://onecreativeblog.com/post/781952553/announcing-whichlo...
Re:Which loads faster? Pit websites against each other. by known on Friday July 09, 2010 @02:31AM (#1499949)
http://google.com 2.7 × faster (1198 ms / 3191 ms) than https://google.com
Re:Which loads faster? Pit websites against each other. by bad_alloc on Friday July 09, 2010 @09:54AM (#1500581)
Pretty much the same with google.de/google.de (36%), my blog (52%) and xkcd.com (44%). This killed it for me actually. Another observation is that the right window is always faster at my end. Can anybody else confirm this?
Re:Which loads faster? Pit websites against each other. by aston on Thursday July 08, 2010 @11:20PM (#1499636)
Dunno if this holds up for others, but Bing is substantially faster than Google's homepage to load, even with all of the crazy graphics... Impressive.
Re:Which loads faster? Pit websites against each other. by parallax7d on Thursday July 08, 2010 @11:28PM (#1499655)
Due to the distribution of servers, and the way data is routed about the internet, i would imagine it would be different for everyone.
Re:Which loads faster? Pit websites against each other. by onecreativenerd on Friday July 09, 2010 @02:10PM (#1501597)
I am only measuring the "onDOMContentLoaded" or jQuery's cross-browser equivalent. It's certainly possible for pages to load objects after that using javascript, which "cheats" a little for purposes of this comparison.

What really matters in practice is "time to first interaction" which is when the user thinks your site is useful. Next up on my feature list is having a button to indicate which pages seemed to load faster to you. The idea is you can send a link out to your friends and get their impressions, which is more valuable than the numbers you can get with an automated tool. :)

Re:Which loads faster? Pit websites against each other. by SkyMarshal on Friday July 09, 2010 @03:53AM (#1500094)
Fwiw, Google loaded 20% faster for me.
Re:Which loads faster? Pit websites against each other. by what on Friday July 09, 2010 @12:10AM (#1499750)
Bing's homepage consistently loads faster for me too. But Google's search results tend to load faster.
Re:Which loads faster? Pit websites against each other. by unshift on Thursday July 08, 2010 @10:21PM (#1499494)
looks interesting, but serial should be the default mode.
Re:Which loads faster? Pit websites against each other. by onecreativenerd on Friday July 09, 2010 @01:59PM (#1501549)
You might be right. I considered that, but it doesn't have as much of an impact factor on the user, which is really important for getting the word out about performance (why the site exists in the first place).

I probably doesn't matter too much as long as you have a ~3Mbps connection or higher (see Mike Belshe's "Effective Bandwidth of HTTP" graph on http://www.belshe.com/2010/05/24/more-bandwidth-doesnt-matte...) because the TCP transmission rate can't ramp up high enough on each object to saturate the connection. It's possible, however that the objects will interact with each other by causing differing queueing latency and possibly loss in the bottleneck router and by changing the order of scheduler events on the client OS. Also, it may be better subject the two pages to the same network conditions (at least in the last mile) while they're loading, esp. on mobile.

Re:Which loads faster? Pit websites against each other. by ck2 on Friday July 09, 2010 @07:59AM (#1500368)
The reporting and accuracy is wrong.

I clearly see Bing loading images AFTER the timer has stopped.

This is just timing the main html, it's wrong.

Re:Which loads faster? Pit websites against each other. by onecreativenerd on Friday July 09, 2010 @01:50PM (#1501521)
I believe Bing loads images asynchronously after the DOM content has loaded.
Re:Which loads faster? Pit websites against each other. by ThomPete on Friday July 09, 2010 @04:25AM (#1500130)
Bing is faster on mine (FF)

On others it's google that is faster (They use Chrome)

So browsers seems to affect it too.

Re:Which loads faster? Pit websites against each other. by poundy on Friday July 09, 2010 @02:51AM (#1499987)
This uses iframes to pit websites against each other. Twitter breaks out of iframes and so do other websites.
Re:Which loads faster? Pit websites against each other. by marknutter on Friday July 09, 2010 @03:50AM (#1500088)
Any idea how to prevent this from happening? Google seems to have figured it out in their google images iframes, but I can't for the life of me figure out how they did it.
Re:Which loads faster? Pit websites against each other. by user24 on Friday July 09, 2010 @04:23AM (#1500127)
It looks like google parse the page serverside to detect break out of frames scripts. Here's a manually engineered example - I searched for a demo of a break out of frames script and forced the URL into a google images request:

http://images.google.com/imgres?imgurl=http://www.internet.c...

THe page just displays a "you are being redirected" message straight away, so it must be detected at the server level. Smart.

Re:Which loads faster? Pit websites against each other. by user24 on Friday July 09, 2010 @09:53AM (#1500580)
Having said that, if you look at a genuine result from twitter:

http://images.google.com/imgres?imgurl=http://a1.twimg.com/p...

google doesn't detect or stop that breaking out of frames. But maybe twitter are just managing to avoid detection by google's code..

The code on that page is:

    	<script type="text/javascript">
	//<![CDATA[
	if (window.top !== window.self) {document.write = "";window.top.location = window.self.location; setTimeout(function(){document.body.innerHTML='';},1);window.self.onload=function(evt){document.body.innerHTML='';};}
	//]]>
	</script>

which doesn't seem like it would be too hard to detect.
Re:Which loads faster? Pit websites against each other. by jasonkester on Friday July 09, 2010 @04:40AM (#1500147)
The brute-force way to do it is to run a proxy on your own server that loads the page in question, strips out either some or all of the javascript, then serves it onward.

Replacing 'top.location' with 'self.location' probably does the trick for 95% of sites.

Re:Which loads faster? Pit websites against each other. by onecreativenerd on Friday July 09, 2010 @02:23PM (#1501651)
Ah, but that might skew the results... maybe not too much, though since it's only manipulating the root document? However, cross-domain permission would be broken for javascript inside the site.

If you look at the bottom of ui.js, you can see I tried a brute-force framebuster-buster. It does notify the user that the site is trying to break out, but it also catches legitimate outgoing links. It needs to be polished more before I can release it.

This is issue #1 on github for the project, BTW.

Re:Which loads faster? Pit websites against each other. by j_baker on Thursday July 08, 2010 @10:26PM (#1499510)
Here's one I didn't expect: HN loads 5.5x faster than reddit.
Re:Which loads faster? Pit websites against each other. by jedberg on Friday July 09, 2010 @01:58AM (#1499891)
Yeah, I would have put HN at least 10x faster. ;)
Re:Which loads faster? Pit websites against each other. by seancron on Thursday July 08, 2010 @11:58PM (#1499717)
My results for HN vs reddit:

Average over 10 runs: tie

HN: 1681ms / reddit: 1652ms

Re:Which loads faster? Pit websites against each other. by SkyMarshal on Friday July 09, 2010 @03:54AM (#1500095)
Very cool idea. Could play with this for hours.
Re:Which loads faster? Pit websites against each other. by vijaydev on Friday July 09, 2010 @12:56AM (#1499811)
neatly done and pretty useful.
Re:Which loads faster? Pit websites against each other. by rouli on Friday July 09, 2010 @01:50AM (#1499885)
very cool!