4 ms·
Interestingly time.gov/ still requires an applet to run. I often find schools and test centers using them because of its accuracy. Wonder why they still haven't
by nivla 14y ago
Interestingly time.gov/ still requires an applet to run. I often find schools and test centers using them because of its accuracy. Wonder why they still haven't switched to javascript yet, maybe "if it ain't broke, don't fix" mindset.
- disgruntledphd2 14y agoTiming in javascript is pretty poor. The best accuracy you can get is around 0.5 seconds. Given that many tests and testing sites (and psychological instruments, which is why I know) require millisecond (+-10) accuracy, Java is the best tool for this job. Its a sad day for me, this change, even though we fall back to JS the timing simply is not as accurate. This may change with localstorage and access to system API's, but its not there yet.
- Zr40 14y agohttp://time.is/ http://time.is/ claims to get ±0.011 second accuracy for me, and it appears to use JavaScript.
- disgruntledphd2 14y agoYes, but it does this by synchronising with an atomic clock from a server. I would want (do want, actually) to be able to run a js file on the browser of a participant and get accurate timing down to perhaps 50 milliseconds. The joy of java is the applet downloads, makes the timings on the local computer and then sends the results back over the server. Involving the network during the process makes it somewhat unreliable.