|
|
Q1150 How can I find out how fast someones computer is?
irt.org | Knowledge Base | JavaScript | Misc | Q1150 [ previous next ] Q1150 How can I find out how fast someones computer is?A possible approach is to see how quickly you can get the setTimeout() function to return. The setTimeout() function accepts to parameters:
where code is to be evaluated in delay number of milliseconds. Normally the smaller the number of delay milliseconds the more unreliable the interval is - I suspect that the higher the processor speed and the less loaded the processor is then the interval decreases. You could test the interval with something like:
Which on my machine (P133, GNU/Linux, Netscape Navigator 4.5) shows 56 milliseconds. |
-- div -->
|