For a scientific project, I need to track reaction times: how long does it take for someone to push a button? I need this to be accurate to the milisecond (or very close).
Can Javascript do this? Is the timer within Javascript reliable 1) at the level of miliseconds, and 2) at a constant (real-world seconds) rate?
And is there any known accuracy cutoff? (An article linked to below suggests 15ms.)
And is there any variation by browser and/or method for tracking the time?
To repeat: I'm interested in time elapsed between two events. I don't care at all what time it is.
If this is a potential problem in Javascript, I'll need to find some alternative.
I've done a bit of searching and have come across some information, but it's not entirely clear:
http://dvolvr.davidwaterston.com/201...s-almost-here/
http://ejohn.org/blog/accuracy-of-javascript-time/



Reply With Quote


Bookmarks