I've written an app in Javascript which measures a user's response time (in milliseconds) to a stimulus*. I suspect that there's a discrepancy between the recorded time and the actual time due to the process scheduler/queue.
I'd like a meta-timer, but that would exacerbate the situation. I figure that there's no way to prevent deviation, but maybe the deviation can be normalised. How to do this, however, is beyond me.
I'd be grateful for any input on this problem
*Edit: The response fires the onkeypress event.
I'd like a meta-timer, but that would exacerbate the situation. I figure that there's no way to prevent deviation, but maybe the deviation can be normalised. How to do this, however, is beyond me.
I'd be grateful for any input on this problem
*Edit: The response fires the onkeypress event.