TruerWords Logo
Google
 
Web www.truerwords.net

Search TruerWords

Welcome
Sign Up  Log On

“RE: How Fast is My Home Page?”

From: David Carter Tod In Response To: 1908  How Fast is My Home Page?
Date Posted: Friday, April 12, 2002 9:52:57 AM Replies: 0
   
Enclosures: None.
I just wrote a quick tester and got the following results (in ticks for 5 requests in a row):

Tot: 863
Ave: 172
Min: 150
Max: 230

It looks like on average about 3 seconds.

Pinging truerwords.net averages around 37ms (60 max, 30 min), so it's not particularly the network.

David

p.s here's the tester:

on loadTest (url, howmany=5) {
	local {
		urllist;
		totaltc;
		tc;
		elapsedtc;
		maxtc=0;
		mintc=infinity;
		result;
		port=80;
		server};
	urllist=string.urlsplit(url);
	server=urllist [2];
	if string.patternmatch(":", urllist [2])>1 {
		port=string.nthfield(urllist [2], ":", 2);
		server=string.nthfield(urllist [2], ":", 1)};
	totaltc=clock.ticks();
	for i = 1 to howmany {
		tc=clock.ticks();
		tcp.httpClient(server:server, path:urllist [3], port:port);
		elapsedtc=clock.ticks()-tc;
		if (elapsedtc > maxtc) {
			maxtc = elapsedtc};
		if (elapsedtc < mintc) {
			mintc = elapsedtc}};
	totaltc = (clock.ticks() - totaltc);
	result = "-> Tot: " + totaltc + "tAve: " + totaltc/howmany + "tMin: " + mintc + "tMax: " + maxtc;
	clipboard.put(stringType,@result);
	dialog.alert(result)};
loadTest("http://www.truerwords.net/")

Discussion Thread:

There are no replies.

Trackbacks:

There are no trackbacks.


Until August 31
My Amazon sales
benefit the PMC

Homepage Links

Apr 1 - Aug 31
Ad revenue
benefits the PMC


TruerWords
is Seth Dillingham's
personal web site.
From now on, ending a sentence with a preposition is something up with which I will not put. - WC