Testing Methodology
How Reflextry measures reaction latency, motor speed, and cognitive accuracy down to the millisecond—including hardware variables and scoring formulas.
Reflextry uses browser-native high-resolution timestamps via performance.now() synchronized to display paint cycles with requestAnimationFrame().
Modules are designed as personal benchmarking instruments to establish baselines and track progress across repeated practice sessions on the same device.
1. Reaction Time & Millisecond Timing Engine
Stimulus detection, timestamp capture, and outlier filtering
In visual and auditory latency tests such as Reaction Time Test and Sound Reaction, timing follows three safeguards:
High-Resolution Clock
Stimulus presentation and input events use the DOM High Resolution Time API (performance.now()) for monotonic sub-millisecond timing.
False Start Protection
Biological visual-motor transmission takes at least ~100 ms. Anticipated inputs before the go cue are flagged as false starts.
Multi-Trial Aggregation
Sessions aggregate multiple consecutive trials so isolated distractions do not distort your baseline average.
Hardware Latency Sources (Why Browser Tests Differ From Lab EEG)
| Variable | 60 Hz Display | 144 Hz Display | 240 Hz+ Display |
|---|---|---|---|
| Frame Duration | ~16.6 ms / frame | ~6.9 ms / frame | ~4.1 ms / frame |
| Input Polling | Bluetooth: +8–15 ms latency | USB 1000 Hz: ~1 ms polling | USB 8000 Hz: <0.2 ms polling |
| Typical Measured Latency | 220–270 ms | 190–240 ms | 170–220 ms |
2. Speed, Typing (WPM), & CPS Formulas
Standardized scoring equations
Words Per Minute (WPM)
Following international typing conventions, one standard word equals exactly 5 keystrokes including spaces and punctuation.
Gross WPM = (Total Keystrokes / 5) / (Seconds / 60) Net WPM = Gross WPM - (Uncorrected Errors / Minutes) Accuracy = (Correct Chars / Total Typed) × 100%
Clicks Per Second (CPS)
CPS measures validated pointer activations over the configured duration window (1s, 5s, 10s, or 60s).
CPS = Validated Clicks / Selected Duration (s) Debounce floor: prevents synthetic macro bursts
3. Memory & Cognitive Scaling
Adaptive difficulty, randomization, and span progression
Cognitive drills such as Chimp Test, Sequence Memory, N-Back, and Schulte Table generate randomized sequences each round to isolate specific memory and attention faculties:
Spatial Working Memory (Chimp Test)
Numbers appear across a grid. Once you select 1, remaining numbers mask immediately to measure short-term visual-spatial buffer capacity.
Sequential Retention (Sequence Memory)
Each level appends one new step to the tile pattern, scaling working-memory load progressively until an error occurs.
4. Privacy & Local Storage
Client-side execution and user-controlled records
All timing loops and game scoring run directly in your local browser. Personal best scores and history are stored locally in localStorage so you can track trends without creating an account.