|
|
“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. | ||
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/")
There are no trackbacks.
|
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 |