Timing issue with PsychoJS

Thank you for this, @jon, your explanation helped a lot. A few comments follow.

The measurements reported were calculated by calling the function clock.getTime() (and the PsychoJS counterpart) were used to measure the actual duration in second for each routine as described here. The same method was used to measure stimulus durations regardless of whether stimulus durations were set up in seconds or in flips. So, I am not sure the variability I am not sure the variability is an actual artifact of the measurement itself, unless I misread the way getTime() works.

Can you expand on this? Is that an option on PsychoPy/PsychoJS?

I am no expert on any of this, so I wonder whether any of this can be set up for online experiments.

Thanks!